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
- WorkflowFormatterBehavior.cs
- XmlAttributeCollection.cs
- IImplicitResourceProvider.cs
- Array.cs
- DocumentAutomationPeer.cs
- CredentialSelector.cs
- FormViewRow.cs
- DetailsViewCommandEventArgs.cs
- LinearGradientBrush.cs
- ContractComponent.cs
- DebugView.cs
- Compiler.cs
- DataTableClearEvent.cs
- PipeConnection.cs
- AssemblyNameProxy.cs
- TableCellAutomationPeer.cs
- BasicExpandProvider.cs
- XmlSchemaRedefine.cs
- ConvertersCollection.cs
- XmlSchemaType.cs
- TdsValueSetter.cs
- ColumnWidthChangingEvent.cs
- MethodImplAttribute.cs
- BooleanStorage.cs
- IndexOutOfRangeException.cs
- XmlIncludeAttribute.cs
- NetSectionGroup.cs
- XmlDataSourceDesigner.cs
- ContentFileHelper.cs
- StreamingContext.cs
- Int64Animation.cs
- PropertyInformation.cs
- AffineTransform3D.cs
- DataGridViewHeaderCell.cs
- TextTrailingWordEllipsis.cs
- FormatStringEditor.cs
- OutputChannel.cs
- FontWeights.cs
- Window.cs
- ButtonFlatAdapter.cs
- FileDialog_Vista.cs
- RadioButton.cs
- StrongNameHelpers.cs
- TabletCollection.cs
- CommandHelpers.cs
- TaiwanLunisolarCalendar.cs
- XsdBuilder.cs
- VectorAnimationUsingKeyFrames.cs
- safelinkcollection.cs
- QilSortKey.cs
- EventProxy.cs
- OleDbException.cs
- RootNamespaceAttribute.cs
- EventMap.cs
- EllipseGeometry.cs
- TypedTableHandler.cs
- SqlCommandSet.cs
- CompilationPass2Task.cs
- UserInitiatedNavigationPermission.cs
- DrawingGroup.cs
- RoleGroupCollectionEditor.cs
- MailSettingsSection.cs
- Cursors.cs
- BrowserCapabilitiesFactoryBase.cs
- Point.cs
- OutputWindow.cs
- DbParameterHelper.cs
- HealthMonitoringSection.cs
- SqlServer2KCompatibilityCheck.cs
- DataTableCollection.cs
- IndependentAnimationStorage.cs
- HttpRawResponse.cs
- DesignSurfaceManager.cs
- VectorAnimationBase.cs
- PreservationFileWriter.cs
- RowSpanVector.cs
- SqlConnectionPoolProviderInfo.cs
- SiteMapSection.cs
- TextEditorThreadLocalStore.cs
- ListBox.cs
- BoolExpr.cs
- ProxyAssemblyNotLoadedException.cs
- StoreItemCollection.cs
- LocatorBase.cs
- EncoderFallback.cs
- odbcmetadatacollectionnames.cs
- UriExt.cs
- MsmqVerifier.cs
- CompilerGlobalScopeAttribute.cs
- ToolStripControlHost.cs
- FormatSelectingMessageInspector.cs
- XmlSubtreeReader.cs
- TextSerializer.cs
- ConsoleCancelEventArgs.cs
- TextRangeBase.cs
- Expression.cs
- DataGridViewDataConnection.cs
- PageAdapter.cs
- MetadataProperty.cs
- DesignerProperties.cs