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
- DCSafeHandle.cs
- SQLDecimal.cs
- GridViewDeletedEventArgs.cs
- ListViewSortEventArgs.cs
- EventWaitHandle.cs
- ScriptReference.cs
- LocalizableResourceBuilder.cs
- PopupEventArgs.cs
- ConfigurationSectionGroup.cs
- ObjectQueryProvider.cs
- SkipQueryOptionExpression.cs
- DirectoryLocalQuery.cs
- _SSPISessionCache.cs
- SpeechAudioFormatInfo.cs
- NoClickablePointException.cs
- ClientSideQueueItem.cs
- ModelPropertyDescriptor.cs
- ellipse.cs
- _ListenerResponseStream.cs
- columnmapfactory.cs
- CodeGen.cs
- SafeCoTaskMem.cs
- MultiSelector.cs
- linebase.cs
- GlyphsSerializer.cs
- XmlnsDictionary.cs
- RequestValidator.cs
- CodeVariableDeclarationStatement.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- IISMapPath.cs
- DataPagerFieldItem.cs
- Filter.cs
- InheritanceContextHelper.cs
- SettingsContext.cs
- ThreadPool.cs
- VScrollProperties.cs
- Latin1Encoding.cs
- ExtenderProvidedPropertyAttribute.cs
- Permission.cs
- httpstaticobjectscollection.cs
- DataGridViewAdvancedBorderStyle.cs
- DataComponentNameHandler.cs
- WeakRefEnumerator.cs
- UserMapPath.cs
- XmlObjectSerializerReadContextComplexJson.cs
- WindowsSysHeader.cs
- SimpleRecyclingCache.cs
- LayoutDump.cs
- RetrieveVirtualItemEventArgs.cs
- ThicknessAnimation.cs
- ConfigXmlWhitespace.cs
- PreviewControlDesigner.cs
- HttpWebResponse.cs
- ParameterReplacerVisitor.cs
- PeerContact.cs
- WebHttpElement.cs
- FixedNode.cs
- DeploymentSectionCache.cs
- AssemblyBuilder.cs
- CngProperty.cs
- QilSortKey.cs
- pingexception.cs
- ProcessModelSection.cs
- DataReceivedEventArgs.cs
- SourceSwitch.cs
- HttpConfigurationSystem.cs
- ClassHandlersStore.cs
- HideDisabledControlAdapter.cs
- ItemMap.cs
- Item.cs
- StateRuntime.cs
- SmiEventSink_Default.cs
- CatalogZoneBase.cs
- CommonGetThemePartSize.cs
- LabelDesigner.cs
- RawMouseInputReport.cs
- ProfileServiceManager.cs
- _FtpDataStream.cs
- PrePostDescendentsWalker.cs
- XmlLoader.cs
- RangeValidator.cs
- RtfToken.cs
- RC2.cs
- ConfigXmlDocument.cs
- AbandonedMutexException.cs
- ScaleTransform3D.cs
- IssuedTokenServiceElement.cs
- RelOps.cs
- DesignerEditorPartChrome.cs
- DBCSCodePageEncoding.cs
- XsdDuration.cs
- SynchronizingStream.cs
- ChangeToolStripParentVerb.cs
- DeleteIndexBinder.cs
- TargetParameterCountException.cs
- ResXDataNode.cs
- SqlXmlStorage.cs
- Location.cs
- Trace.cs
- ObjectKeyFrameCollection.cs