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
- SqlExpressionNullability.cs
- SessionStateModule.cs
- SystemIPGlobalProperties.cs
- SessionStateContainer.cs
- OletxEnlistment.cs
- SecUtil.cs
- WaitHandleCannotBeOpenedException.cs
- ReplyChannelBinder.cs
- SafeNativeMethodsOther.cs
- DataGridLinkButton.cs
- xmlfixedPageInfo.cs
- Exception.cs
- serverconfig.cs
- VectorCollection.cs
- StdValidatorsAndConverters.cs
- FontFaceLayoutInfo.cs
- KeyNotFoundException.cs
- Label.cs
- UiaCoreTypesApi.cs
- CompilationPass2Task.cs
- ParameterCollection.cs
- SymLanguageType.cs
- SystemTcpStatistics.cs
- HierarchicalDataBoundControl.cs
- MobileControlsSectionHelper.cs
- NotifyIcon.cs
- DayRenderEvent.cs
- PathGeometry.cs
- Package.cs
- SQLMembershipProvider.cs
- CodeObjectCreateExpression.cs
- ClientRuntime.cs
- BitVector32.cs
- ExpressionContext.cs
- LabelAutomationPeer.cs
- PropagatorResult.cs
- DBSqlParserTable.cs
- LowerCaseStringConverter.cs
- DiscreteKeyFrames.cs
- _ListenerRequestStream.cs
- SqlDependency.cs
- WorkflowOwnershipException.cs
- XsdCachingReader.cs
- WebPartsPersonalization.cs
- FacetChecker.cs
- ResolveNameEventArgs.cs
- ApplicationBuildProvider.cs
- Query.cs
- ColorMatrix.cs
- SafeFileMappingHandle.cs
- PropertyFilterAttribute.cs
- ValidatorUtils.cs
- DataGridCell.cs
- SizeAnimation.cs
- SqlCommandBuilder.cs
- EntityTypeEmitter.cs
- LicenseException.cs
- Metadata.cs
- GlyphingCache.cs
- DataListItemEventArgs.cs
- MenuItem.cs
- Fx.cs
- NamespaceCollection.cs
- MD5CryptoServiceProvider.cs
- Bold.cs
- InterleavedZipPartStream.cs
- BitmapEncoder.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- MessagePropertyVariants.cs
- Int32KeyFrameCollection.cs
- EventItfInfo.cs
- SocketElement.cs
- XamlStackWriter.cs
- EastAsianLunisolarCalendar.cs
- RecognizedAudio.cs
- CodeSnippetStatement.cs
- Debug.cs
- Transform.cs
- QueryableFilterUserControl.cs
- NotConverter.cs
- __ComObject.cs
- TableParaClient.cs
- DesignTimeDataBinding.cs
- SHA1.cs
- CustomAssemblyResolver.cs
- FixedSOMFixedBlock.cs
- CannotUnloadAppDomainException.cs
- StrokeNodeData.cs
- ListBox.cs
- PathSegment.cs
- UpdatePanel.cs
- DelegatingConfigHost.cs
- ImageListUtils.cs
- FloaterParaClient.cs
- SingleObjectCollection.cs
- PopupRoot.cs
- BlockUIContainer.cs
- WrapPanel.cs
- Overlapped.cs
- GroupItemAutomationPeer.cs