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
- ImageUrlEditor.cs
- SafeHandles.cs
- CheckStoreFileValidityRequest.cs
- CryptoApi.cs
- SqlDataAdapter.cs
- AnnotationResource.cs
- HandleCollector.cs
- RepeatInfo.cs
- Error.cs
- WebServiceBindingAttribute.cs
- FormViewPageEventArgs.cs
- GridViewRowPresenterBase.cs
- OptimizedTemplateContentHelper.cs
- HelloOperationAsyncResult.cs
- returneventsaver.cs
- FileChangeNotifier.cs
- CacheForPrimitiveTypes.cs
- ButtonStandardAdapter.cs
- XsltContext.cs
- ObjectToModelValueConverter.cs
- UserValidatedEventArgs.cs
- Panel.cs
- SoapElementAttribute.cs
- XPathNodeInfoAtom.cs
- ReferenceService.cs
- Exceptions.cs
- _TimerThread.cs
- RuleProcessor.cs
- ScriptReferenceBase.cs
- SqlConnection.cs
- CacheAxisQuery.cs
- SetterBaseCollection.cs
- DoubleLink.cs
- Variant.cs
- EdmToObjectNamespaceMap.cs
- BinaryWriter.cs
- ModelUIElement3D.cs
- WebZone.cs
- IPAddress.cs
- SingleObjectCollection.cs
- Int32EqualityComparer.cs
- VerificationException.cs
- PenContexts.cs
- X509AsymmetricSecurityKey.cs
- DbMetaDataCollectionNames.cs
- CngProvider.cs
- PageContentCollection.cs
- TemplateBuilder.cs
- ClosableStream.cs
- NeedSkipTokenVisitor.cs
- CookieParameter.cs
- PackWebRequestFactory.cs
- OutputCacheModule.cs
- DoubleAnimationUsingKeyFrames.cs
- BindingCompleteEventArgs.cs
- OrderToken.cs
- SerializationAttributes.cs
- HMACSHA1.cs
- DesignerVerbCollection.cs
- EntityDataSourceChangedEventArgs.cs
- LocationSectionRecord.cs
- ForEachAction.cs
- XmlMemberMapping.cs
- ActivitiesCollection.cs
- UseAttributeSetsAction.cs
- InlineCollection.cs
- OleTxTransactionInfo.cs
- MULTI_QI.cs
- DesignerTransactionCloseEvent.cs
- LayoutSettings.cs
- ScriptingSectionGroup.cs
- EdmItemError.cs
- Semaphore.cs
- IconConverter.cs
- CannotUnloadAppDomainException.cs
- PageWrapper.cs
- ObjectParameter.cs
- RewritingValidator.cs
- ToolStripPanelCell.cs
- BindToObject.cs
- ConfigPathUtility.cs
- ProfessionalColorTable.cs
- PaperSize.cs
- TabControlToolboxItem.cs
- DefaultAsyncDataDispatcher.cs
- DataServiceQuery.cs
- Geometry3D.cs
- SchemaAttDef.cs
- DisableDpiAwarenessAttribute.cs
- XmlWriter.cs
- WebPartsPersonalization.cs
- Decorator.cs
- Interfaces.cs
- SqlErrorCollection.cs
- BookmarkInfo.cs
- TextTreeTextBlock.cs
- SQLInt64Storage.cs
- ExceptionNotification.cs
- CheckableControlBaseAdapter.cs
- SqlWorkflowInstanceStoreLock.cs