Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Input / TextServicesCompartmentEventSink.cs / 1 / 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
- UserControlCodeDomTreeGenerator.cs
- WebPartConnectionsCancelEventArgs.cs
- BrowserInteropHelper.cs
- IriParsingElement.cs
- XpsFilter.cs
- DeferredTextReference.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- DetailsViewUpdatedEventArgs.cs
- CodeAccessPermission.cs
- KnownBoxes.cs
- TimeoutHelper.cs
- AdapterDictionary.cs
- XNodeNavigator.cs
- PerformanceCounterNameAttribute.cs
- VisualStyleElement.cs
- DataGridViewRowCollection.cs
- QueryCacheEntry.cs
- CommandBinding.cs
- StreamInfo.cs
- StorageEntitySetMapping.cs
- XmlSecureResolver.cs
- ClientScriptManagerWrapper.cs
- DataGridHeaderBorder.cs
- DictionaryContent.cs
- Freezable.cs
- SessionStateSection.cs
- IdentifierService.cs
- TableLayoutRowStyleCollection.cs
- Suspend.cs
- ProfileBuildProvider.cs
- AnonymousIdentificationModule.cs
- Main.cs
- TogglePatternIdentifiers.cs
- ObjectPersistData.cs
- NativeMethodsCLR.cs
- DescendantOverDescendantQuery.cs
- FullTrustAssemblyCollection.cs
- Bidi.cs
- HeaderUtility.cs
- ConditionChanges.cs
- WebPartDisplayModeCollection.cs
- DecimalStorage.cs
- HuffmanTree.cs
- DetailsViewPagerRow.cs
- LinqDataSourceHelper.cs
- DefaultEventAttribute.cs
- webclient.cs
- GeneralTransform.cs
- ScriptResourceHandler.cs
- IndependentAnimationStorage.cs
- Camera.cs
- DataContractSerializerSection.cs
- FieldNameLookup.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- StreamFormatter.cs
- ServiceRouteHandler.cs
- DataGridViewBand.cs
- RectangleHotSpot.cs
- Thread.cs
- ReadOnlyHierarchicalDataSource.cs
- InteropDesigner.xaml.cs
- path.cs
- InstanceKeyNotReadyException.cs
- SimpleLine.cs
- EventDescriptorCollection.cs
- NavigateUrlConverter.cs
- PointLight.cs
- OutKeywords.cs
- LiteralLink.cs
- UIElementParagraph.cs
- SqlReferenceCollection.cs
- SafeHandles.cs
- CatalogPartCollection.cs
- TabControlEvent.cs
- TraceContext.cs
- HierarchicalDataBoundControl.cs
- DbProviderSpecificTypePropertyAttribute.cs
- StopRoutingHandler.cs
- OdbcParameter.cs
- ContractMapping.cs
- graph.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- OleCmdHelper.cs
- ClientSponsor.cs
- RegistrationServices.cs
- XmlSchemaAnyAttribute.cs
- TextViewSelectionProcessor.cs
- XmlSerializerSection.cs
- CheckBoxPopupAdapter.cs
- EditorAttribute.cs
- GridView.cs
- ItemType.cs
- ComponentCollection.cs
- Constraint.cs
- UrlAuthorizationModule.cs
- UnaryOperationBinder.cs
- SafeCertificateContext.cs
- backend.cs
- EventLogEntry.cs
- ComponentCodeDomSerializer.cs