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
- TextViewElement.cs
- RegexRunner.cs
- DateTimeParse.cs
- IDispatchConstantAttribute.cs
- BuilderInfo.cs
- WindowsSlider.cs
- PartialTrustHelpers.cs
- QilValidationVisitor.cs
- AdornerLayer.cs
- SerializationHelper.cs
- GPPOINTF.cs
- StateMachineSubscription.cs
- XmlQueryContext.cs
- FilterException.cs
- WindowsToolbarAsMenu.cs
- EntityParameterCollection.cs
- HtmlButton.cs
- NotImplementedException.cs
- HebrewCalendar.cs
- BitmapCacheBrush.cs
- RenamedEventArgs.cs
- EmbeddedMailObjectsCollection.cs
- CookieHandler.cs
- KeyInstance.cs
- DataGridViewDesigner.cs
- DocumentViewerAutomationPeer.cs
- SchemaElementLookUpTable.cs
- HttpModuleActionCollection.cs
- WindowsIdentity.cs
- StateBag.cs
- XmlSchemaGroup.cs
- DataList.cs
- GestureRecognitionResult.cs
- HttpChannelHelpers.cs
- Application.cs
- fixedPageContentExtractor.cs
- PathHelper.cs
- XmlnsDefinitionAttribute.cs
- PeerPresenceInfo.cs
- CustomError.cs
- ActivityBindForm.cs
- PathFigure.cs
- XmlSchemaAttributeGroupRef.cs
- SqlBulkCopyColumnMappingCollection.cs
- SeekStoryboard.cs
- PropertyTabChangedEvent.cs
- FilterableAttribute.cs
- PasswordPropertyTextAttribute.cs
- XPathDocumentNavigator.cs
- MultipleViewPatternIdentifiers.cs
- Vector3DValueSerializer.cs
- WebServiceFault.cs
- Point3DCollectionValueSerializer.cs
- ResourceCategoryAttribute.cs
- FontCacheUtil.cs
- CollectionViewGroup.cs
- URLString.cs
- StrokeNode.cs
- ListViewItem.cs
- RemotingServices.cs
- ConfigurationStrings.cs
- PixelFormats.cs
- UrlUtility.cs
- Pair.cs
- RichTextBox.cs
- SingleConverter.cs
- ContainerUtilities.cs
- DataGridViewComboBoxEditingControl.cs
- EnumCodeDomSerializer.cs
- StringResourceManager.cs
- AttributeTable.cs
- ComboBox.cs
- WebZone.cs
- ReflectTypeDescriptionProvider.cs
- DataProtection.cs
- TreeView.cs
- ScriptResourceHandler.cs
- PersonalizationProviderHelper.cs
- DrawingContextDrawingContextWalker.cs
- DnsPermission.cs
- Selection.cs
- GridViewUpdateEventArgs.cs
- XmlSchemaCompilationSettings.cs
- DataServiceRequestException.cs
- Guid.cs
- BulletChrome.cs
- DBDataPermissionAttribute.cs
- Utils.cs
- DragStartedEventArgs.cs
- CultureData.cs
- CollectionViewProxy.cs
- AdapterUtil.cs
- TextEditorSelection.cs
- WebPartDescription.cs
- TransformerConfigurationWizardBase.cs
- AppDomainAttributes.cs
- TemplateBaseAction.cs
- DbProviderSpecificTypePropertyAttribute.cs
- XmlSerializerNamespaces.cs
- XmlSerializerAssemblyAttribute.cs