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
- ISAPIWorkerRequest.cs
- KeyToListMap.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- Function.cs
- EventSinkHelperWriter.cs
- CodeRemoveEventStatement.cs
- ContextBase.cs
- SoundPlayer.cs
- DataGridViewSortCompareEventArgs.cs
- ListBoxItem.cs
- ResourcesBuildProvider.cs
- TypedElement.cs
- Range.cs
- AsyncResult.cs
- ConfigurationManagerHelperFactory.cs
- HttpHandlerActionCollection.cs
- NestPullup.cs
- SmiContext.cs
- StylusTouchDevice.cs
- ProfileService.cs
- EdmItemCollection.cs
- ModuleBuilder.cs
- UnsafeNativeMethods.cs
- recordstatescratchpad.cs
- Rectangle.cs
- BroadcastEventHelper.cs
- PeerCustomResolverBindingElement.cs
- FatalException.cs
- ReflectionServiceProvider.cs
- SubqueryTrackingVisitor.cs
- SmtpAuthenticationManager.cs
- PermissionSetTriple.cs
- CellRelation.cs
- XamlVector3DCollectionSerializer.cs
- HMACSHA384.cs
- PreProcessor.cs
- PackWebRequestFactory.cs
- MaterialCollection.cs
- Evidence.cs
- Misc.cs
- NamedPipeConnectionPoolSettings.cs
- DBNull.cs
- EnumValidator.cs
- TypedDataSetSchemaImporterExtension.cs
- XmlDataSourceView.cs
- ServiceDocumentFormatter.cs
- DecoderExceptionFallback.cs
- Inflater.cs
- GAC.cs
- BuildManager.cs
- WmlObjectListAdapter.cs
- WebPart.cs
- CollectionContainer.cs
- WindowsRebar.cs
- JournalEntry.cs
- CollectionDataContractAttribute.cs
- TextElementEnumerator.cs
- MetaTableHelper.cs
- EnumerationRangeValidationUtil.cs
- WebPartConnectVerb.cs
- Collection.cs
- RoleManagerModule.cs
- BoundPropertyEntry.cs
- BufferModeSettings.cs
- DBCSCodePageEncoding.cs
- PhysicalAddress.cs
- ManagementEventArgs.cs
- ListenerConnectionModeReader.cs
- ZipIOExtraField.cs
- CommonDialog.cs
- ResourceExpressionBuilder.cs
- ListViewGroup.cs
- ControlBuilderAttribute.cs
- GridViewAutomationPeer.cs
- GridEntry.cs
- ProgressiveCrcCalculatingStream.cs
- GeneralTransformGroup.cs
- TextLineResult.cs
- ExpressionValueEditor.cs
- FrameDimension.cs
- TextElementCollection.cs
- PackageRelationshipCollection.cs
- BindingMAnagerBase.cs
- assemblycache.cs
- HtmlInputText.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- BitmapEffectGroup.cs
- SystemIPAddressInformation.cs
- PresentationSource.cs
- mansign.cs
- XmlUrlResolver.cs
- OutputCacheSettingsSection.cs
- KnowledgeBase.cs
- InternalDuplexChannelListener.cs
- TerminatorSinks.cs
- RootBrowserWindow.cs
- SystemColorTracker.cs
- _FtpControlStream.cs
- FontWeightConverter.cs
- ContractHandle.cs