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
- DataTrigger.cs
- MsmqTransportSecurityElement.cs
- TemplateBamlRecordReader.cs
- OleDbConnectionInternal.cs
- linebase.cs
- EDesignUtil.cs
- ErrorEventArgs.cs
- CellRelation.cs
- Bold.cs
- ButtonBase.cs
- XsdBuildProvider.cs
- QilXmlWriter.cs
- TimeManager.cs
- CodeTypeOfExpression.cs
- Operators.cs
- LayoutEngine.cs
- QuotedStringWriteStateInfo.cs
- ProjectionAnalyzer.cs
- FactoryGenerator.cs
- sqlser.cs
- ComponentConverter.cs
- CodeAccessPermission.cs
- TextElementAutomationPeer.cs
- Transform3D.cs
- EntityDataSourceViewSchema.cs
- ConfigurationValue.cs
- ManagedFilter.cs
- BufferedReadStream.cs
- ADMembershipProvider.cs
- InputBinder.cs
- MailAddressCollection.cs
- PublisherIdentityPermission.cs
- OrderedDictionaryStateHelper.cs
- BitmapEffectInput.cs
- VirtualDirectoryMapping.cs
- VirtualizedCellInfoCollection.cs
- DatatypeImplementation.cs
- DomainUpDown.cs
- MultiSelector.cs
- GridEntry.cs
- DbDeleteCommandTree.cs
- ScrollBar.cs
- HttpClientCertificate.cs
- BoolExpr.cs
- ConnectionPoint.cs
- BindingSource.cs
- DesignerListAdapter.cs
- GenericEnumConverter.cs
- DictionaryTraceRecord.cs
- EdmMember.cs
- ClientTarget.cs
- LookupNode.cs
- WorkflowExecutor.cs
- HexParser.cs
- RegexCaptureCollection.cs
- RoutedEventArgs.cs
- RequestQueue.cs
- MsmqMessageProperty.cs
- _FtpControlStream.cs
- XmlSerializationGeneratedCode.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- KnownColorTable.cs
- EmptyStringExpandableObjectConverter.cs
- RemoveFromCollection.cs
- TabControl.cs
- DataGridAutomationPeer.cs
- SqlWebEventProvider.cs
- AppDomainFactory.cs
- DBCommand.cs
- loginstatus.cs
- DetailsViewUpdateEventArgs.cs
- HostExecutionContextManager.cs
- ProjectionCamera.cs
- MetabaseReader.cs
- ControlCollection.cs
- BaseCollection.cs
- SystemWebSectionGroup.cs
- AndCondition.cs
- SignedInfo.cs
- GridViewHeaderRowPresenter.cs
- MobileSysDescriptionAttribute.cs
- OdbcConnectionString.cs
- TriggerAction.cs
- UserMapPath.cs
- ValueUtilsSmi.cs
- securitymgrsite.cs
- PrefixHandle.cs
- Emitter.cs
- SHA384.cs
- ConfigurationCollectionAttribute.cs
- ContentFilePart.cs
- webclient.cs
- EasingKeyFrames.cs
- XmlSchemaSimpleContent.cs
- InputLanguageCollection.cs
- ServiceThrottlingElement.cs
- SubpageParagraph.cs
- Privilege.cs
- SizeKeyFrameCollection.cs
- UnknownWrapper.cs