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
- StringSource.cs
- NamespaceInfo.cs
- VariantWrapper.cs
- MetadataArtifactLoaderFile.cs
- ItemsChangedEventArgs.cs
- TreeNode.cs
- CodeObjectCreateExpression.cs
- InputChannelBinder.cs
- Model3DGroup.cs
- Stacktrace.cs
- SamlAuthenticationClaimResource.cs
- MatrixCamera.cs
- ConfigurationManagerInternalFactory.cs
- FilterQuery.cs
- Int64.cs
- ISSmlParser.cs
- XmlChoiceIdentifierAttribute.cs
- SocketElement.cs
- RectangleHotSpot.cs
- SpeechSynthesizer.cs
- ValuePatternIdentifiers.cs
- Merger.cs
- ConnectionPointCookie.cs
- SafeMILHandle.cs
- unsafenativemethodsother.cs
- PtsHelper.cs
- ToolStripDropDownMenu.cs
- BufferModesCollection.cs
- ConsoleKeyInfo.cs
- GrammarBuilderBase.cs
- PrePostDescendentsWalker.cs
- DetailsViewDeletedEventArgs.cs
- LingerOption.cs
- CriticalExceptions.cs
- WindowsButton.cs
- CommentGlyph.cs
- EventSourceCreationData.cs
- Rect3DConverter.cs
- CategoryGridEntry.cs
- altserialization.cs
- DropShadowBitmapEffect.cs
- WmlPhoneCallAdapter.cs
- SHA1Managed.cs
- SlotInfo.cs
- InternalDispatchObject.cs
- SqlTypesSchemaImporter.cs
- SecurityContext.cs
- AttachedPropertiesService.cs
- HtmlInputReset.cs
- DataGridCell.cs
- ConstantExpression.cs
- Opcode.cs
- ImageAutomationPeer.cs
- HostingEnvironmentSection.cs
- SuppressMessageAttribute.cs
- DoubleUtil.cs
- UIServiceHelper.cs
- Normalizer.cs
- MatrixCamera.cs
- SamlAdvice.cs
- DetailsView.cs
- IntranetCredentialPolicy.cs
- SortDescriptionCollection.cs
- XsltLoader.cs
- TextReader.cs
- InputQueue.cs
- BaseComponentEditor.cs
- WebPartEditorApplyVerb.cs
- HScrollBar.cs
- MetadataCacheItem.cs
- DataGridViewDesigner.cs
- OleDbPropertySetGuid.cs
- TableDetailsCollection.cs
- WebException.cs
- FixUp.cs
- ProvidePropertyAttribute.cs
- ProvideValueServiceProvider.cs
- AnnotationService.cs
- EventLogPermissionEntryCollection.cs
- WindowsBrush.cs
- ToolStripGrip.cs
- BinaryObjectReader.cs
- Rect3DValueSerializer.cs
- ValidatorCompatibilityHelper.cs
- ViewBox.cs
- HtmlUtf8RawTextWriter.cs
- Triplet.cs
- XmlSchemaAnyAttribute.cs
- ReaderWriterLockWrapper.cs
- GroupBoxAutomationPeer.cs
- ExpressionParser.cs
- DataBoundControl.cs
- SecUtil.cs
- DataGridViewColumnCollection.cs
- NonParentingControl.cs
- CachedRequestParams.cs
- RegisteredArrayDeclaration.cs
- RegexFCD.cs
- Faults.cs
- BrowserTree.cs