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
- Certificate.cs
- HtmlTextArea.cs
- InstancePersistenceEvent.cs
- HighlightComponent.cs
- ListBoxAutomationPeer.cs
- DecoderFallback.cs
- WS2007FederationHttpBindingCollectionElement.cs
- HtmlTernaryTree.cs
- WebBaseEventKeyComparer.cs
- FixedSOMTableRow.cs
- DrawingContextWalker.cs
- SystemWebExtensionsSectionGroup.cs
- ScrollBar.cs
- ProjectedWrapper.cs
- PartialCachingControl.cs
- CqlBlock.cs
- ObjectTypeMapping.cs
- QueryCacheEntry.cs
- FontCacheLogic.cs
- XMLDiffLoader.cs
- ExpressionNormalizer.cs
- TypeBuilderInstantiation.cs
- ConnectionInterfaceCollection.cs
- TypeBuilderInstantiation.cs
- BookmarkUndoUnit.cs
- PermissionRequestEvidence.cs
- ButtonPopupAdapter.cs
- SourceElementsCollection.cs
- LocalTransaction.cs
- ColorTranslator.cs
- RsaElement.cs
- ContextMenuStripGroupCollection.cs
- SplitterPanel.cs
- DropDownList.cs
- Console.cs
- HttpWebRequestElement.cs
- ParallelForEach.cs
- LayoutEngine.cs
- DecoratedNameAttribute.cs
- baseshape.cs
- FixedSOMContainer.cs
- XhtmlConformanceSection.cs
- ReadOnlyTernaryTree.cs
- DecimalKeyFrameCollection.cs
- Merger.cs
- EntitySetBase.cs
- ServiceContractViewControl.cs
- EndpointAddressElementBase.cs
- HtmlValidatorAdapter.cs
- WebSysDisplayNameAttribute.cs
- GeometryDrawing.cs
- MediaPlayerState.cs
- ElementUtil.cs
- AuthorizationContext.cs
- ListItem.cs
- HttpModuleCollection.cs
- ColumnCollection.cs
- EpmContentSerializerBase.cs
- UnitySerializationHolder.cs
- AsnEncodedData.cs
- ContractsBCL.cs
- BufferedGraphics.cs
- TypefaceCollection.cs
- EventWaitHandleSecurity.cs
- Int16AnimationUsingKeyFrames.cs
- AssemblyBuilder.cs
- MSHTMLHost.cs
- Assembly.cs
- SetMemberBinder.cs
- XmlFormatReaderGenerator.cs
- PropertyGeneratedEventArgs.cs
- DropShadowBitmapEffect.cs
- DBAsyncResult.cs
- SapiRecoInterop.cs
- SourceFileInfo.cs
- QuestionEventArgs.cs
- MailMessageEventArgs.cs
- XamlValidatingReader.cs
- StylusButton.cs
- CheckBoxRenderer.cs
- BuildResult.cs
- DesignerDataTable.cs
- ControlCodeDomSerializer.cs
- PointCollection.cs
- LoggedException.cs
- XmlSiteMapProvider.cs
- CodeNamespaceImport.cs
- GroupBox.cs
- filewebrequest.cs
- Listen.cs
- HighlightVisual.cs
- DesignerCommandAdapter.cs
- SimpleExpression.cs
- AuthenticodeSignatureInformation.cs
- DuplicateWaitObjectException.cs
- TimeSpan.cs
- FeatureSupport.cs
- XmlILConstructAnalyzer.cs
- RecognizerStateChangedEventArgs.cs
- DoubleAnimationUsingPath.cs