Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / InputLanguageProfileNotifySink.cs / 1 / InputLanguageProfileNotifySink.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: The source of the input language of the thread. // // History: // 07/30/2003 : [....] - 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
- ConfigurationConverterBase.cs
- TraceUtility.cs
- SByte.cs
- WebPartsPersonalization.cs
- AdPostCacheSubstitution.cs
- UntrustedRecipientException.cs
- TransportChannelFactory.cs
- GridViewItemAutomationPeer.cs
- CheckBoxField.cs
- NavigationService.cs
- QuotedStringFormatReader.cs
- SpeechRecognitionEngine.cs
- VersionPair.cs
- SqlCacheDependencySection.cs
- sqlstateclientmanager.cs
- PrintEvent.cs
- SqlGatherProducedAliases.cs
- ChineseLunisolarCalendar.cs
- DataTableMapping.cs
- OutputCacheSettingsSection.cs
- DesignerSerializationOptionsAttribute.cs
- FolderBrowserDialogDesigner.cs
- MethodSet.cs
- DataSet.cs
- DrawingContextDrawingContextWalker.cs
- SqlNodeAnnotations.cs
- FixedSOMTable.cs
- ISSmlParser.cs
- DecimalConverter.cs
- DatePickerDateValidationErrorEventArgs.cs
- ChannelCacheSettings.cs
- ResourcePermissionBase.cs
- DomNameTable.cs
- Roles.cs
- CaseCqlBlock.cs
- FormsAuthenticationUserCollection.cs
- DataGridViewMethods.cs
- SqlXmlStorage.cs
- Blend.cs
- StorageComplexTypeMapping.cs
- LinkUtilities.cs
- ThemeInfoAttribute.cs
- SelectedDatesCollection.cs
- SqlBulkCopy.cs
- SafeNativeMethods.cs
- MailBnfHelper.cs
- PrimitiveList.cs
- WindowsToolbar.cs
- Soap.cs
- ControlDesignerState.cs
- CodeAttributeDeclaration.cs
- XD.cs
- TranslateTransform.cs
- DatePickerTextBox.cs
- ComponentGlyph.cs
- TableParagraph.cs
- MouseBinding.cs
- HtmlUtf8RawTextWriter.cs
- StreamWriter.cs
- XmlSchemaAttributeGroup.cs
- SchemaMerger.cs
- SqlServer2KCompatibilityAnnotation.cs
- BinaryWriter.cs
- IndexedWhereQueryOperator.cs
- SyndicationDeserializer.cs
- TreeView.cs
- DataSourceCache.cs
- MaskedTextBoxTextEditorDropDown.cs
- WebZone.cs
- SqlBinder.cs
- ExecutedRoutedEventArgs.cs
- WSHttpBindingCollectionElement.cs
- MessagingDescriptionAttribute.cs
- FlowLayoutPanel.cs
- HandledEventArgs.cs
- DocumentGrid.cs
- ImageIndexConverter.cs
- DataGridViewColumnCollectionDialog.cs
- CharConverter.cs
- WrappedIUnknown.cs
- MultiTargetingUtil.cs
- WindowsFormsHelpers.cs
- XmlEnumAttribute.cs
- ImageSourceValueSerializer.cs
- InvalidFilterCriteriaException.cs
- PenThreadWorker.cs
- FormViewAutoFormat.cs
- ParameterBinding.cs
- ListViewEditEventArgs.cs
- VideoDrawing.cs
- StorageSetMapping.cs
- DataList.cs
- IRCollection.cs
- NameValueFileSectionHandler.cs
- mda.cs
- ClientBuildManager.cs
- ThemeDirectoryCompiler.cs
- SystemResourceHost.cs
- StringDictionaryCodeDomSerializer.cs
- Renderer.cs