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
- WebEventTraceProvider.cs
- CharStorage.cs
- HelloMessage11.cs
- DesignTimeHTMLTextWriter.cs
- ApplicationDirectory.cs
- CryptoStream.cs
- StringUtil.cs
- UnsafeNativeMethods.cs
- Tuple.cs
- ProxyRpc.cs
- StringFormat.cs
- FixedDSBuilder.cs
- PrivacyNoticeBindingElement.cs
- ConfigXmlText.cs
- PackageProperties.cs
- PerfCounters.cs
- SchemaSetCompiler.cs
- FatalException.cs
- SafeCryptoHandles.cs
- DataGridViewComboBoxCell.cs
- ValidationSummary.cs
- AttributeCollection.cs
- XmlReaderSettings.cs
- VisualBrush.cs
- _OverlappedAsyncResult.cs
- FtpCachePolicyElement.cs
- ZipIOExtraFieldElement.cs
- CacheAxisQuery.cs
- InputLanguage.cs
- Queue.cs
- FormViewPagerRow.cs
- figurelength.cs
- SyndicationElementExtension.cs
- FileCodeGroup.cs
- BinHexDecoder.cs
- RectConverter.cs
- VariantWrapper.cs
- SafeNativeMethods.cs
- IgnoreSection.cs
- TransactionInformation.cs
- StylusOverProperty.cs
- XmlSchemaAnnotated.cs
- DataGridViewAccessibleObject.cs
- ManagedFilter.cs
- util.cs
- DoubleUtil.cs
- GridViewDeletedEventArgs.cs
- ChangePassword.cs
- TargetFrameworkAttribute.cs
- SqlNotificationEventArgs.cs
- EntityContainerEmitter.cs
- GroupBox.cs
- SecurityDescriptor.cs
- ObjectTag.cs
- RadioButton.cs
- SqlDelegatedTransaction.cs
- SqlExpressionNullability.cs
- XamlInt32CollectionSerializer.cs
- SerialErrors.cs
- GeometryCombineModeValidation.cs
- WebPartMenu.cs
- RIPEMD160Managed.cs
- WebDescriptionAttribute.cs
- IsolatedStoragePermission.cs
- WebScriptEnablingElement.cs
- AsymmetricSignatureFormatter.cs
- TextChange.cs
- AttributeCollection.cs
- InputLanguageSource.cs
- DoubleLinkList.cs
- _SslState.cs
- WMICapabilities.cs
- CheckBox.cs
- GACIdentityPermission.cs
- ReferencedType.cs
- LinkLabelLinkClickedEvent.cs
- TerminateWorkflow.cs
- SoapUnknownHeader.cs
- InputLanguageSource.cs
- Section.cs
- ExceptionHelpers.cs
- DataRowView.cs
- OutputCacheModule.cs
- ActivationArguments.cs
- TransactionScope.cs
- MLangCodePageEncoding.cs
- GridItemPattern.cs
- TextBoxView.cs
- ConnectionManagementElement.cs
- FixedSOMTableCell.cs
- AdvancedBindingPropertyDescriptor.cs
- TaiwanLunisolarCalendar.cs
- TokenFactoryFactory.cs
- ResourceManagerWrapper.cs
- RemotingService.cs
- InvalidOperationException.cs
- UpWmlMobileTextWriter.cs
- ObjectAssociationEndMapping.cs
- ResourceExpression.cs
- CalendarDateChangedEventArgs.cs