Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / InputLanguageProfileNotifySink.cs / 1305600 / InputLanguageProfileNotifySink.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: The source of the input language of the thread. // // History: // 07/30/2003 : yutakas - ported from dotnet tree. // //--------------------------------------------------------------------------- using MS.Win32; using System.Collections; using System.Globalization; using System.Windows.Input; using System.Windows.Media; using System.Windows.Interop; using System.Runtime.InteropServices; using System; namespace System.Windows.Input { //----------------------------------------------------- // // InputLanguageProfileNotifySink // //----------------------------------------------------- ////// This is an internal. This is an implementation of ITfLanguageProfileNotifySink. /// internal class InputLanguageProfileNotifySink : UnsafeNativeMethods.ITfLanguageProfileNotifySink { //------------------------------------------------------ // // Constructors // //----------------------------------------------------- internal InputLanguageProfileNotifySink(InputLanguageSource target) { _target = target; } //------------------------------------------------------ // // Public Methods // //------------------------------------------------------ ////// OnLanguageChange call back of the interface. /// public void OnLanguageChange(short langid, out bool accept) { accept = _target.OnLanguageChange(langid); } ////// OnLanguageChanged call back of the interface. /// public void OnLanguageChanged() { _target.OnLanguageChanged(); } //----------------------------------------------------- // // Private Fields // //------------------------------------------------------ // the owner of this sink. private InputLanguageSource _target; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SoapMessage.cs
- OutOfProcStateClientManager.cs
- TextParentUndoUnit.cs
- X509Certificate2.cs
- Margins.cs
- FileIOPermission.cs
- BaseDataBoundControl.cs
- XMLSyntaxException.cs
- XamlFigureLengthSerializer.cs
- SimpleRecyclingCache.cs
- Int32KeyFrameCollection.cs
- GAC.cs
- BitmapEncoder.cs
- XmlCharType.cs
- MULTI_QI.cs
- DataSourceProvider.cs
- RenamedEventArgs.cs
- IUnknownConstantAttribute.cs
- KeyInfo.cs
- GestureRecognitionResult.cs
- DataContractJsonSerializerOperationFormatter.cs
- HandledEventArgs.cs
- URIFormatException.cs
- TextFormatter.cs
- WindowsGraphics2.cs
- PhysicalFontFamily.cs
- XMLSyntaxException.cs
- ObjectStorage.cs
- SchemeSettingElement.cs
- ScriptReference.cs
- ConnectionPoolManager.cs
- SortAction.cs
- IIS7WorkerRequest.cs
- XmlUtilWriter.cs
- IChannel.cs
- TextEditorLists.cs
- XMLSyntaxException.cs
- itemelement.cs
- GiveFeedbackEventArgs.cs
- SafeBuffer.cs
- ImageButton.cs
- DbDataRecord.cs
- CalendarTable.cs
- EdmTypeAttribute.cs
- ProfileSettings.cs
- ExpressionList.cs
- ExtendedTransformFactory.cs
- UmAlQuraCalendar.cs
- PanelStyle.cs
- PropertyGrid.cs
- AppDomainManager.cs
- Currency.cs
- TileBrush.cs
- CompiledRegexRunner.cs
- DesignerProperties.cs
- XmlWriter.cs
- ImplicitInputBrush.cs
- ThicknessAnimationUsingKeyFrames.cs
- DataGridViewSortCompareEventArgs.cs
- DataGridViewDataErrorEventArgs.cs
- WebPartDisplayModeEventArgs.cs
- PreviewPageInfo.cs
- ImpersonationContext.cs
- WebAdminConfigurationHelper.cs
- Visual3D.cs
- TaskDesigner.cs
- UiaCoreApi.cs
- ToolboxControl.cs
- ThicknessConverter.cs
- ResourcesChangeInfo.cs
- LongValidatorAttribute.cs
- BooleanProjectedSlot.cs
- PropertyPathConverter.cs
- DataServiceExpressionVisitor.cs
- SessionStateModule.cs
- ManagedIStream.cs
- DesignerActionMethodItem.cs
- ComboBoxAutomationPeer.cs
- PrePrepareMethodAttribute.cs
- DesignSurfaceManager.cs
- MDIClient.cs
- GridLengthConverter.cs
- UdpReplyToBehavior.cs
- StaticTextPointer.cs
- FileLevelControlBuilderAttribute.cs
- RotateTransform.cs
- _Events.cs
- Matrix.cs
- PropertyTabAttribute.cs
- SchemaTableOptionalColumn.cs
- SqlStatistics.cs
- DataTrigger.cs
- MetaForeignKeyColumn.cs
- CreateUserWizardStep.cs
- ValueTypeFixupInfo.cs
- UInt64.cs
- VersionPair.cs
- NonBatchDirectoryCompiler.cs
- ConvertEvent.cs
- SerializationException.cs