Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / TextServicesCompartmentEventSink.cs / 1305600 / TextServicesCompartmentEventSink.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: Manages Text Services Compartment. // // History: // 07/30/2003 : yutakas - Ported from .net tree. // //--------------------------------------------------------------------------- using System; using System.Runtime.InteropServices; using System.Windows.Threading; using System.Diagnostics; using System.Collections; using System.Security.Permissions; using MS.Utility; using MS.Win32; namespace System.Windows.Input { //----------------------------------------------------- // // TextServicesCompartmentManager class // //----------------------------------------------------- ////// This is a class to have a real implement of ITfCompartmentEventSink. /// internal class TextServicesCompartmentEventSink : UnsafeNativeMethods.ITfCompartmentEventSink { //------------------------------------------------------ // // Constructors // //----------------------------------------------------- internal TextServicesCompartmentEventSink(InputMethod inputmethod) { _inputmethod = inputmethod; } //------------------------------------------------------ // // Public Method // //------------------------------------------------------ ////// This is OnChange method of ITfCompartmentEventSink internface. /// public void OnChange(ref Guid rguid) { _inputmethod.OnChange(ref rguid); } //----------------------------------------------------- // // Private Fields // //------------------------------------------------------ #region Private Fields private InputMethod _inputmethod; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: Manages Text Services Compartment. // // History: // 07/30/2003 : yutakas - Ported from .net tree. // //--------------------------------------------------------------------------- using System; using System.Runtime.InteropServices; using System.Windows.Threading; using System.Diagnostics; using System.Collections; using System.Security.Permissions; using MS.Utility; using MS.Win32; namespace System.Windows.Input { //----------------------------------------------------- // // TextServicesCompartmentManager class // //----------------------------------------------------- ////// This is a class to have a real implement of ITfCompartmentEventSink. /// internal class TextServicesCompartmentEventSink : UnsafeNativeMethods.ITfCompartmentEventSink { //------------------------------------------------------ // // Constructors // //----------------------------------------------------- internal TextServicesCompartmentEventSink(InputMethod inputmethod) { _inputmethod = inputmethod; } //------------------------------------------------------ // // Public Method // //------------------------------------------------------ ////// This is OnChange method of ITfCompartmentEventSink internface. /// public void OnChange(ref Guid rguid) { _inputmethod.OnChange(ref rguid); } //----------------------------------------------------- // // Private Fields // //------------------------------------------------------ #region Private Fields private InputMethod _inputmethod; #endregion Private Fields } } // 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
- CatalogUtil.cs
- QuaternionAnimation.cs
- WebPartZone.cs
- ValidateNames.cs
- IteratorDescriptor.cs
- DataError.cs
- DataFieldCollectionEditor.cs
- WebRequestModuleElementCollection.cs
- InteropBitmapSource.cs
- SiteMapNode.cs
- SafeHGlobalHandleCritical.cs
- PlaceHolder.cs
- ExistsInCollection.cs
- LinkLabelLinkClickedEvent.cs
- HwndHostAutomationPeer.cs
- FileChangesMonitor.cs
- CopyOfAction.cs
- WindowsGraphicsCacheManager.cs
- TextParagraphCache.cs
- EventProviderWriter.cs
- UmAlQuraCalendar.cs
- DynamicEntity.cs
- ObjectQueryExecutionPlan.cs
- Attributes.cs
- Route.cs
- WindowsListViewGroup.cs
- Soap.cs
- VarRemapper.cs
- CreateUserWizard.cs
- AssemblyBuilder.cs
- BinaryObjectWriter.cs
- HttpModulesSection.cs
- XmlNode.cs
- ShapeTypeface.cs
- DBNull.cs
- EntityDataSourceMemberPath.cs
- HttpModuleActionCollection.cs
- UIServiceHelper.cs
- Double.cs
- StringHandle.cs
- UnmanagedMarshal.cs
- PieceDirectory.cs
- FaultImportOptions.cs
- FragmentNavigationEventArgs.cs
- BindStream.cs
- EdmComplexPropertyAttribute.cs
- MemberExpression.cs
- Stopwatch.cs
- HttpWebRequestElement.cs
- MergePropertyDescriptor.cs
- SyndicationSerializer.cs
- XmlChildEnumerator.cs
- TreeNodeStyle.cs
- SapiInterop.cs
- FrameworkContextData.cs
- CompositeKey.cs
- StartUpEventArgs.cs
- MimeFormatExtensions.cs
- IIS7UserPrincipal.cs
- FieldAccessException.cs
- AssemblyUtil.cs
- WeakRefEnumerator.cs
- DomNameTable.cs
- ConstrainedDataObject.cs
- CrossContextChannel.cs
- EnumValidator.cs
- WrappingXamlSchemaContext.cs
- ButtonChrome.cs
- COM2IPerPropertyBrowsingHandler.cs
- DateTimeStorage.cs
- EntityParameter.cs
- InfiniteIntConverter.cs
- ControllableStoryboardAction.cs
- QueryContinueDragEvent.cs
- BlurBitmapEffect.cs
- RegexNode.cs
- CompiledRegexRunner.cs
- QueryExecutionOption.cs
- ThemeInfoAttribute.cs
- SqlConnectionString.cs
- DataGridViewCellStyleConverter.cs
- Int32Rect.cs
- CodeObject.cs
- WindowsClaimSet.cs
- HMACMD5.cs
- ConstraintCollection.cs
- CookielessHelper.cs
- x509utils.cs
- ParseHttpDate.cs
- ProjectedSlot.cs
- BitmapEffectGroup.cs
- ReadOnlyHierarchicalDataSource.cs
- PositiveTimeSpanValidatorAttribute.cs
- OleTxTransaction.cs
- LicenseManager.cs
- ListViewAutomationPeer.cs
- XPathItem.cs
- Run.cs
- StringAttributeCollection.cs
- FontNamesConverter.cs