Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- PropertyManager.cs
- EnumUnknown.cs
- DataSourceCollectionBase.cs
- DropDownList.cs
- HtmlInputSubmit.cs
- XmlSchemas.cs
- Deflater.cs
- ObjectTag.cs
- CompositeScriptReferenceEventArgs.cs
- ResponseBodyWriter.cs
- TransactionFlowBindingElementImporter.cs
- SqlUdtInfo.cs
- TextModifier.cs
- UTF32Encoding.cs
- CoTaskMemHandle.cs
- RIPEMD160Managed.cs
- DataGridViewTextBoxCell.cs
- _TLSstream.cs
- SqlDataSourceCommandEventArgs.cs
- WinFormsSecurity.cs
- HtmlEmptyTagControlBuilder.cs
- StylusEditingBehavior.cs
- SimpleHandlerBuildProvider.cs
- Simplifier.cs
- XmlSchemaSubstitutionGroup.cs
- MenuItemStyle.cs
- AssemblyLoader.cs
- ColumnMapCopier.cs
- XmlSchema.cs
- CultureTableRecord.cs
- StateMachineWorkflowDesigner.cs
- _ConnectStream.cs
- CodeDelegateCreateExpression.cs
- DoWorkEventArgs.cs
- BlobPersonalizationState.cs
- XmlMembersMapping.cs
- ResourceReader.cs
- DefaultSerializationProviderAttribute.cs
- PathFigureCollectionValueSerializer.cs
- TreeBuilder.cs
- OrderedDictionary.cs
- DelegatedStream.cs
- SqlCacheDependency.cs
- AttachedPropertyMethodSelector.cs
- AtomicFile.cs
- XmlSchemaObjectTable.cs
- DuplicateWaitObjectException.cs
- NetPeerTcpBindingCollectionElement.cs
- TriggerAction.cs
- Automation.cs
- Stroke2.cs
- XamlRtfConverter.cs
- CroppedBitmap.cs
- DetailsViewCommandEventArgs.cs
- StorageComplexPropertyMapping.cs
- TextPatternIdentifiers.cs
- DesignTimeXamlWriter.cs
- ChannelManager.cs
- PackageDigitalSignature.cs
- PlaceHolder.cs
- SizeKeyFrameCollection.cs
- WorkflowServiceHostFactory.cs
- QilInvokeLateBound.cs
- ObjectParameter.cs
- brushes.cs
- WebServicesInteroperability.cs
- PersonalizationAdministration.cs
- PropertyInfoSet.cs
- NamespaceQuery.cs
- UTF7Encoding.cs
- FileDialog.cs
- ActiveXHost.cs
- DetailsViewUpdateEventArgs.cs
- HttpStaticObjectsCollectionWrapper.cs
- Rotation3DKeyFrameCollection.cs
- SystemBrushes.cs
- HttpRequestTraceRecord.cs
- ThemeDictionaryExtension.cs
- httpstaticobjectscollection.cs
- oledbmetadatacollectionnames.cs
- XmlILModule.cs
- WorkflowServiceInstance.cs
- RegexCompilationInfo.cs
- ClientRoleProvider.cs
- ColumnHeaderCollectionEditor.cs
- SupportingTokenListenerFactory.cs
- XmlMemberMapping.cs
- CqlGenerator.cs
- Pens.cs
- SHA256Managed.cs
- UnionCodeGroup.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- ConfigXmlElement.cs
- ChannelEndpointElementCollection.cs
- UnsafeNativeMethods.cs
- DataGridPageChangedEventArgs.cs
- RadioButton.cs
- SchemaNamespaceManager.cs
- StrongNameUtility.cs
- DataGridPagerStyle.cs