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
- TrackingMemoryStream.cs
- DataRowComparer.cs
- IOException.cs
- UIPermission.cs
- XmlKeywords.cs
- LongTypeConverter.cs
- ColumnHeaderCollectionEditor.cs
- CompatibleIComparer.cs
- DeploymentExceptionMapper.cs
- NativeMethods.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- FrameworkElement.cs
- WmlLabelAdapter.cs
- SwitchAttribute.cs
- UnknownBitmapEncoder.cs
- DesignerDataTableBase.cs
- DateTimeUtil.cs
- ContextMenuAutomationPeer.cs
- PathFigureCollection.cs
- UITypeEditor.cs
- DPTypeDescriptorContext.cs
- ContentIterators.cs
- DeclarativeExpressionConditionDeclaration.cs
- TranslateTransform3D.cs
- DbDataReader.cs
- SafeNativeMethods.cs
- X500Name.cs
- DiffuseMaterial.cs
- RegisteredArrayDeclaration.cs
- BitmapEffectGroup.cs
- HwndHostAutomationPeer.cs
- SectionRecord.cs
- CatalogPart.cs
- SqlAggregateChecker.cs
- DecimalConverter.cs
- GlyphCache.cs
- ThrowHelper.cs
- SerializerProvider.cs
- ProgressChangedEventArgs.cs
- LifetimeServices.cs
- UInt16Storage.cs
- DocobjHost.cs
- UpdateProgress.cs
- DataGridColumnHeader.cs
- PopupRootAutomationPeer.cs
- ColumnMapTranslator.cs
- HtmlInputRadioButton.cs
- RawContentTypeMapper.cs
- AutomationEvent.cs
- PartialCachingControl.cs
- IisTraceListener.cs
- ExtractorMetadata.cs
- PathGradientBrush.cs
- SemaphoreSecurity.cs
- ContourSegment.cs
- Camera.cs
- StylusCollection.cs
- GcSettings.cs
- PropertyValueUIItem.cs
- DbParameterHelper.cs
- CaseStatement.cs
- ApplicationId.cs
- OciLobLocator.cs
- ListViewGroupConverter.cs
- StylusPointPropertyId.cs
- TextOutput.cs
- GeometryCombineModeValidation.cs
- UriTemplateHelpers.cs
- ResourcesChangeInfo.cs
- GPPOINTF.cs
- EditorZoneBase.cs
- ApplyImportsAction.cs
- TypeUtil.cs
- KeyNotFoundException.cs
- TransformConverter.cs
- VerticalAlignConverter.cs
- BitmapEffectDrawingContextWalker.cs
- IDQuery.cs
- SolidColorBrush.cs
- TrustManagerPromptUI.cs
- SecurityUtils.cs
- UriScheme.cs
- HtmlCalendarAdapter.cs
- FigureParaClient.cs
- IconBitmapDecoder.cs
- KerberosSecurityTokenAuthenticator.cs
- WebPartConnectionsCloseVerb.cs
- LocationSectionRecord.cs
- FlagsAttribute.cs
- EncodingInfo.cs
- GetImportFileNameRequest.cs
- PropertyPath.cs
- AccessDataSourceWizardForm.cs
- ProfileService.cs
- ArgIterator.cs
- StandardBindingElement.cs
- Substitution.cs
- Polygon.cs
- DoubleLink.cs
- RootBuilder.cs