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
- DynamicDataManager.cs
- PrinterResolution.cs
- CorruptingExceptionCommon.cs
- AnnotationMap.cs
- ExceptionUtil.cs
- HttpClientChannel.cs
- path.cs
- FactoryId.cs
- SHA256.cs
- RootProfilePropertySettingsCollection.cs
- ReadOnlyCollectionBase.cs
- COM2IPerPropertyBrowsingHandler.cs
- OrthographicCamera.cs
- PermissionSetEnumerator.cs
- StackSpiller.Generated.cs
- GcSettings.cs
- ConfigurationCollectionAttribute.cs
- SimpleBitVector32.cs
- SqlDataSourceQueryEditor.cs
- UrlPropertyAttribute.cs
- OptimizedTemplateContentHelper.cs
- RowTypePropertyElement.cs
- RelatedCurrencyManager.cs
- EncryptedKeyIdentifierClause.cs
- SerialStream.cs
- SqlFunctionAttribute.cs
- ContextBase.cs
- Double.cs
- PointValueSerializer.cs
- BufferModesCollection.cs
- IdnElement.cs
- VisemeEventArgs.cs
- EmbossBitmapEffect.cs
- Normalization.cs
- DataGridViewAdvancedBorderStyle.cs
- ObjectListComponentEditor.cs
- MatrixConverter.cs
- TreeChangeInfo.cs
- ErrorsHelper.cs
- ETagAttribute.cs
- FixedHyperLink.cs
- XmlText.cs
- AuthorizationRuleCollection.cs
- InputQueue.cs
- WhiteSpaceTrimStringConverter.cs
- RectAnimation.cs
- RSAPKCS1SignatureFormatter.cs
- Bitmap.cs
- Localizer.cs
- MulticastOption.cs
- Solver.cs
- ResourceManagerWrapper.cs
- RemotingException.cs
- CompilationSection.cs
- ServicePoint.cs
- ADRoleFactory.cs
- DataGridViewUtilities.cs
- StringInfo.cs
- ObjectContextServiceProvider.cs
- WindowsMenu.cs
- BuildProvidersCompiler.cs
- MeshGeometry3D.cs
- ElementAction.cs
- SafeNativeMethods.cs
- SchemaManager.cs
- NativeCppClassAttribute.cs
- DependentList.cs
- BitmapEffectInputConnector.cs
- Interop.cs
- DockingAttribute.cs
- LogReservationCollection.cs
- RSAPKCS1SignatureDeformatter.cs
- StickyNote.cs
- XmlArrayItemAttributes.cs
- QilParameter.cs
- ComEventsSink.cs
- ImageBrush.cs
- Site.cs
- WebRequestModulesSection.cs
- CounterSampleCalculator.cs
- SplashScreen.cs
- PropertyKey.cs
- XmlCDATASection.cs
- ProxySimple.cs
- PrivilegedConfigurationManager.cs
- UnitySerializationHolder.cs
- Root.cs
- WebContext.cs
- BitmapEffectDrawing.cs
- WebPartTransformerCollection.cs
- MetadataItemCollectionFactory.cs
- BitmapEffectGroup.cs
- LexicalChunk.cs
- GenerateScriptTypeAttribute.cs
- OledbConnectionStringbuilder.cs
- QilDataSource.cs
- HttpModulesSection.cs
- SkinIDTypeConverter.cs
- XmlStringTable.cs
- FormatVersion.cs