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
- CompiledIdentityConstraint.cs
- Model3D.cs
- WindowsIdentity.cs
- ConsumerConnectionPointCollection.cs
- QueryPageSettingsEventArgs.cs
- InternalSafeNativeMethods.cs
- Vector.cs
- CharConverter.cs
- FixedSOMTableRow.cs
- HandleRef.cs
- TemplatedMailWebEventProvider.cs
- Tool.cs
- DBConnectionString.cs
- safelinkcollection.cs
- ToolTipAutomationPeer.cs
- SequentialActivityDesigner.cs
- UInt16Converter.cs
- ObjectDataSourceSelectingEventArgs.cs
- XPathSelectionIterator.cs
- MissingMemberException.cs
- HttpClientProtocol.cs
- DesignerCapabilities.cs
- ToolStripCodeDomSerializer.cs
- AsyncDataRequest.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- DirectoryLocalQuery.cs
- QuaternionRotation3D.cs
- Visual3D.cs
- LocatorPartList.cs
- Guid.cs
- DataGridClipboardCellContent.cs
- OperationFormatStyle.cs
- DynamicUpdateCommand.cs
- StylusPointPropertyInfo.cs
- SmuggledIUnknown.cs
- TextBoxAutomationPeer.cs
- SQLGuidStorage.cs
- DrawTreeNodeEventArgs.cs
- XPathMessageFilterTable.cs
- _ConnectionGroup.cs
- AddInStore.cs
- HTMLTagNameToTypeMapper.cs
- DesignConnection.cs
- PassportAuthenticationModule.cs
- PathBox.cs
- XmlElementAttributes.cs
- _HeaderInfoTable.cs
- DrawingGroup.cs
- MobileListItemCollection.cs
- UIElement3D.cs
- GACMembershipCondition.cs
- Journal.cs
- ConsoleCancelEventArgs.cs
- MailDefinition.cs
- SafeFileMappingHandle.cs
- FormViewPagerRow.cs
- SystemColorTracker.cs
- VisualBasicReference.cs
- DeferredRunTextReference.cs
- DependencyPropertyKey.cs
- GridItem.cs
- RawMouseInputReport.cs
- EntityDataSourceValidationException.cs
- StringResourceManager.cs
- EditorPartCollection.cs
- RectangleHotSpot.cs
- ProviderBase.cs
- UnsafeNativeMethods.cs
- ConnectionProviderAttribute.cs
- LinearGradientBrush.cs
- ControlUtil.cs
- Memoizer.cs
- XPathNodeList.cs
- BoundField.cs
- DataGridLinkButton.cs
- ObjectDataSourceChooseMethodsPanel.cs
- BuildProviderCollection.cs
- InvokeWebService.cs
- SHA512Cng.cs
- SystemIPInterfaceStatistics.cs
- SmiEventSink.cs
- CleanUpVirtualizedItemEventArgs.cs
- panel.cs
- AccessibilityHelperForVista.cs
- FlowDocumentReader.cs
- ExpressionBindingCollection.cs
- GridItemProviderWrapper.cs
- Row.cs
- MapPathBasedVirtualPathProvider.cs
- ParallelEnumerableWrapper.cs
- SettingsBase.cs
- TogglePattern.cs
- MD5.cs
- Journal.cs
- NameTable.cs
- LZCodec.cs
- HttpServerVarsCollection.cs
- CustomCredentialPolicy.cs
- SimplePropertyEntry.cs
- OrderedHashRepartitionEnumerator.cs