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
- _TimerThread.cs
- SmtpNetworkElement.cs
- ISCIIEncoding.cs
- WebRequestModuleElement.cs
- ConnectionPoolManager.cs
- ReaderWriterLock.cs
- ApplicationManager.cs
- ReferenceConverter.cs
- DataGridView.cs
- UpDownEvent.cs
- ControlEvent.cs
- oledbmetadatacollectionnames.cs
- ElementHostAutomationPeer.cs
- GenericIdentity.cs
- SecurityElement.cs
- UriWriter.cs
- PopupControlService.cs
- CanonicalFontFamilyReference.cs
- ToolStripSeparatorRenderEventArgs.cs
- SequentialWorkflowHeaderFooter.cs
- DrawingCollection.cs
- ConstructorExpr.cs
- DesignerAttributeInfo.cs
- TableLayoutPanelCellPosition.cs
- FileLoadException.cs
- FormatSettings.cs
- HtmlEncodedRawTextWriter.cs
- FactoryMaker.cs
- MediaContext.cs
- XmlAttributeOverrides.cs
- TypeDescriptorFilterService.cs
- TreeNodeMouseHoverEvent.cs
- Int16.cs
- ComponentChangedEvent.cs
- Bitmap.cs
- CodeTypeReferenceExpression.cs
- DataRelation.cs
- ToolZoneDesigner.cs
- TypeLoadException.cs
- ConfigurationElementProperty.cs
- FileRecordSequence.cs
- DynamicResourceExtension.cs
- ProtectedUri.cs
- ConfigUtil.cs
- UndoUnit.cs
- MailAddressCollection.cs
- ApplicationGesture.cs
- ProcessInputEventArgs.cs
- util.cs
- StylusCaptureWithinProperty.cs
- InvalidPrinterException.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- BindUriHelper.cs
- EntityDataSourceConfigureObjectContext.cs
- RtfControlWordInfo.cs
- DetailsViewRowCollection.cs
- ComponentSerializationService.cs
- GridItemProviderWrapper.cs
- BezierSegment.cs
- WebPartConnectionsCloseVerb.cs
- CheckBoxRenderer.cs
- OneOfConst.cs
- RectConverter.cs
- DefaultValueConverter.cs
- GridViewDeleteEventArgs.cs
- MultiByteCodec.cs
- ButtonChrome.cs
- CacheMode.cs
- BlobPersonalizationState.cs
- ContactManager.cs
- XmlAttributeProperties.cs
- Int32Converter.cs
- HandlerFactoryWrapper.cs
- PersonalizationProviderHelper.cs
- ScrollBar.cs
- XmlILConstructAnalyzer.cs
- HttpSessionStateWrapper.cs
- SQLStringStorage.cs
- ObfuscateAssemblyAttribute.cs
- HatchBrush.cs
- TagMapCollection.cs
- SafeEventLogWriteHandle.cs
- SQLInt32Storage.cs
- SiteMapHierarchicalDataSourceView.cs
- Geometry.cs
- ContentElement.cs
- SqlFacetAttribute.cs
- InputGestureCollection.cs
- RefreshInfo.cs
- StrongNameIdentityPermission.cs
- commandenforcer.cs
- CustomPopupPlacement.cs
- DataObjectAttribute.cs
- EditorPart.cs
- DesignerValidationSummaryAdapter.cs
- GeometryHitTestParameters.cs
- KeyValueInternalCollection.cs
- ApplicationContext.cs
- Unit.cs
- CompressedStack.cs