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
- BaseHashHelper.cs
- RuntimeArgumentHandle.cs
- SchemaCollectionCompiler.cs
- DependentTransaction.cs
- StreamingContext.cs
- DateTimeConverter.cs
- ScriptManagerProxy.cs
- TextFindEngine.cs
- SqlServices.cs
- Effect.cs
- DesignSurfaceCollection.cs
- PageSettings.cs
- TraversalRequest.cs
- TextInfo.cs
- ImmComposition.cs
- QueryResults.cs
- QuestionEventArgs.cs
- MenuAdapter.cs
- SoapIncludeAttribute.cs
- WaitForChangedResult.cs
- WebPartEditVerb.cs
- ParameterElementCollection.cs
- NotEqual.cs
- DocumentPage.cs
- IteratorFilter.cs
- IListConverters.cs
- GetRecipientListRequest.cs
- CodeMethodReturnStatement.cs
- ListViewGroup.cs
- ActiveXMessageFormatter.cs
- SizeLimitedCache.cs
- ArglessEventHandlerProxy.cs
- AuthenticationManager.cs
- CompositeDispatchFormatter.cs
- MILUtilities.cs
- CmsInterop.cs
- ObjectNotFoundException.cs
- Int64AnimationUsingKeyFrames.cs
- DbException.cs
- ProcessHostServerConfig.cs
- ValueTypeFixupInfo.cs
- ISessionStateStore.cs
- ThrowHelper.cs
- DBNull.cs
- OutputCacheProfile.cs
- RtfToXamlLexer.cs
- Slider.cs
- MessageQuerySet.cs
- FigureParagraph.cs
- SiteMapDataSource.cs
- SafeLocalMemHandle.cs
- DataGridAddNewRow.cs
- DataBindingCollection.cs
- PassportAuthenticationModule.cs
- WebPartActionVerb.cs
- HtmlImage.cs
- TextEndOfLine.cs
- _NTAuthentication.cs
- IndentedTextWriter.cs
- AlphabeticalEnumConverter.cs
- X509Utils.cs
- SafeLibraryHandle.cs
- recordstate.cs
- ISessionStateStore.cs
- RoutedUICommand.cs
- CodeStatementCollection.cs
- Char.cs
- UpdatePanel.cs
- WebContext.cs
- SiteMap.cs
- XsdBuildProvider.cs
- ChainOfResponsibility.cs
- SmtpClient.cs
- CodeTypeMember.cs
- DynamicDocumentPaginator.cs
- WebHeaderCollection.cs
- RC2.cs
- MenuAdapter.cs
- Visual3DCollection.cs
- UpdateCommandGenerator.cs
- DbParameterCollectionHelper.cs
- _ListenerAsyncResult.cs
- AppManager.cs
- SystemGatewayIPAddressInformation.cs
- SecureUICommand.cs
- TracedNativeMethods.cs
- OrderedDictionary.cs
- NominalTypeEliminator.cs
- VirtualPathProvider.cs
- ValueTypeFieldReference.cs
- CodeIndexerExpression.cs
- XmlAttribute.cs
- DbConnectionPool.cs
- SizeChangedInfo.cs
- InkPresenter.cs
- HyperLink.cs
- IconConverter.cs
- WebEventCodes.cs
- Int64Storage.cs
- UserInitiatedNavigationPermission.cs