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
- NonSerializedAttribute.cs
- SecureUICommand.cs
- assemblycache.cs
- IssuanceTokenProviderState.cs
- TransformProviderWrapper.cs
- TraceContextRecord.cs
- ReachDocumentReferenceSerializer.cs
- TextElementCollection.cs
- FileEnumerator.cs
- SelectQueryOperator.cs
- AutomationElementIdentifiers.cs
- ResourceLoader.cs
- EditorZone.cs
- LocatorPart.cs
- SEHException.cs
- EntityDataSourceMemberPath.cs
- XmlQueryType.cs
- HtmlElementCollection.cs
- AnimationException.cs
- DataTableReader.cs
- LoginUtil.cs
- ResourceAssociationType.cs
- ApplicationHost.cs
- BamlMapTable.cs
- UIElement3D.cs
- PrintPageEvent.cs
- AssemblyLoader.cs
- WebPermission.cs
- ImageBrush.cs
- NaturalLanguageHyphenator.cs
- ListSortDescriptionCollection.cs
- InertiaRotationBehavior.cs
- RemotingException.cs
- MeshGeometry3D.cs
- WindowsIdentity.cs
- StringConverter.cs
- CaseInsensitiveHashCodeProvider.cs
- StrokeNodeData.cs
- OdbcStatementHandle.cs
- ConditionalDesigner.cs
- DataGridItemEventArgs.cs
- HtmlControlPersistable.cs
- storepermission.cs
- FrameSecurityDescriptor.cs
- GetImportFileNameRequest.cs
- NextPreviousPagerField.cs
- XPathScanner.cs
- TypeUnloadedException.cs
- ScriptingJsonSerializationSection.cs
- SqlException.cs
- XPathMultyIterator.cs
- RegexGroupCollection.cs
- XmlCharacterData.cs
- CodeDelegateInvokeExpression.cs
- StrokeNodeOperations2.cs
- HtmlInputSubmit.cs
- XappLauncher.cs
- EntityDesignerUtils.cs
- FixedHighlight.cs
- ValueChangedEventManager.cs
- EntityStoreSchemaGenerator.cs
- ServiceControllerDesigner.cs
- AuthenticationModuleElement.cs
- StorageFunctionMapping.cs
- UIAgentCrashedException.cs
- EntityDataSourceDesigner.cs
- LogSwitch.cs
- DecimalAverageAggregationOperator.cs
- ThemeableAttribute.cs
- ChtmlCalendarAdapter.cs
- SqlDataSourceRefreshSchemaForm.cs
- listitem.cs
- AttachedPropertyDescriptor.cs
- _AcceptOverlappedAsyncResult.cs
- HotSpotCollection.cs
- EditableLabelControl.cs
- ContractMapping.cs
- WeakEventManager.cs
- ListView.cs
- OleDbCommandBuilder.cs
- PeerPresenceInfo.cs
- GeneralTransformGroup.cs
- FrugalMap.cs
- ComponentSerializationService.cs
- TagMapInfo.cs
- SvcMapFileSerializer.cs
- DateTimeSerializationSection.cs
- HtmlTitle.cs
- PeerChannelFactory.cs
- ProxyAssemblyNotLoadedException.cs
- FixedSOMPageConstructor.cs
- RowUpdatedEventArgs.cs
- Classification.cs
- ListParaClient.cs
- assemblycache.cs
- FixedSOMPageElement.cs
- Int16AnimationBase.cs
- SimpleHandlerBuildProvider.cs
- CompatibleComparer.cs
- List.cs