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
- DiffuseMaterial.cs
- Publisher.cs
- ADConnectionHelper.cs
- KernelTypeValidation.cs
- DateTimeFormat.cs
- DesignUtil.cs
- ScaleTransform3D.cs
- SHA256.cs
- ChannelFactory.cs
- AssemblyResourceLoader.cs
- SoapSchemaImporter.cs
- HTTPNotFoundHandler.cs
- MultiPropertyDescriptorGridEntry.cs
- input.cs
- Globals.cs
- DbXmlEnabledProviderManifest.cs
- DependencyProperty.cs
- IgnoreSection.cs
- ObjectDataSourceStatusEventArgs.cs
- SoapHttpTransportImporter.cs
- RelationalExpressions.cs
- ContractMapping.cs
- EncodingNLS.cs
- ToolStripContainer.cs
- InternalTransaction.cs
- SessionEndingCancelEventArgs.cs
- SourceLineInfo.cs
- EndpointInfo.cs
- StandardCommands.cs
- DSASignatureDeformatter.cs
- FontDifferentiator.cs
- Repeater.cs
- Style.cs
- DefaultValueConverter.cs
- ListenerSessionConnectionReader.cs
- StringUtil.cs
- CommandDesigner.cs
- SoapFormatterSinks.cs
- CodeTypeDeclaration.cs
- OrderedDictionary.cs
- ApplicationServiceHelper.cs
- XmlDigitalSignatureProcessor.cs
- MessageQueueAccessControlEntry.cs
- CultureTableRecord.cs
- SamlAttributeStatement.cs
- SynchronousChannel.cs
- TcpConnectionPoolSettings.cs
- httpstaticobjectscollection.cs
- PassportPrincipal.cs
- WebControlsSection.cs
- ChannelTraceRecord.cs
- DiscoveryMessageProperty.cs
- SecurityHeader.cs
- RouteTable.cs
- DrawListViewItemEventArgs.cs
- ContainerUtilities.cs
- XmlStreamStore.cs
- ByteStreamGeometryContext.cs
- RegistryDataKey.cs
- MultiBindingExpression.cs
- PostBackTrigger.cs
- Stroke.cs
- DbBuffer.cs
- MiniAssembly.cs
- NativeMethods.cs
- MatrixTransform.cs
- UrlPropertyAttribute.cs
- SchemaAttDef.cs
- PreloadedPackages.cs
- BuildResultCache.cs
- SQLMoney.cs
- PickDesigner.xaml.cs
- CodeIndexerExpression.cs
- DelayDesigner.cs
- ColorKeyFrameCollection.cs
- MobileUserControlDesigner.cs
- State.cs
- CollectionChangedEventManager.cs
- Enum.cs
- SecurityKeyIdentifier.cs
- BamlStream.cs
- Zone.cs
- Assembly.cs
- HTMLTagNameToTypeMapper.cs
- ADConnectionHelper.cs
- XPathNode.cs
- AspNetSynchronizationContext.cs
- DispatcherTimer.cs
- MdImport.cs
- ObjectDisposedException.cs
- ColorTransform.cs
- DllNotFoundException.cs
- MenuItemBinding.cs
- Attributes.cs
- QueueProcessor.cs
- ADMembershipProvider.cs
- HtmlHead.cs
- PageParserFilter.cs
- ListViewItem.cs
- AQNBuilder.cs