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
- Pkcs7Signer.cs
- PeerNearMe.cs
- PropertyGroupDescription.cs
- Predicate.cs
- DataKey.cs
- Header.cs
- ImageSource.cs
- TableLayoutCellPaintEventArgs.cs
- RequiredFieldValidator.cs
- TraceContextEventArgs.cs
- WindowsSpinner.cs
- FixedDocumentSequencePaginator.cs
- PresentationAppDomainManager.cs
- DataControlLinkButton.cs
- DebugInfoGenerator.cs
- Deflater.cs
- LinearKeyFrames.cs
- ListChangedEventArgs.cs
- ContentOnlyMessage.cs
- DataServiceRequest.cs
- XmlWrappingReader.cs
- ToolStripItemCollection.cs
- MinimizableAttributeTypeConverter.cs
- ImageSourceTypeConverter.cs
- SignatureToken.cs
- CompletedAsyncResult.cs
- BigInt.cs
- WebPartConnectionsConnectVerb.cs
- WebPartsSection.cs
- HelpEvent.cs
- WebPartMovingEventArgs.cs
- PeerEndPoint.cs
- EllipticalNodeOperations.cs
- XmlFormatExtensionPrefixAttribute.cs
- DataGridPagerStyle.cs
- DiscoveryClientChannelFactory.cs
- IndentTextWriter.cs
- AmbiguousMatchException.cs
- XmlSchemaDatatype.cs
- CqlIdentifiers.cs
- VariableExpressionConverter.cs
- ObjectAnimationBase.cs
- GeometryCollection.cs
- CustomMenuItemCollection.cs
- TransformerConfigurationWizardBase.cs
- AccessDataSource.cs
- WebServiceErrorEvent.cs
- _AutoWebProxyScriptWrapper.cs
- Context.cs
- AppDomain.cs
- TTSEngineTypes.cs
- _NetworkingPerfCounters.cs
- ActivitySurrogateSelector.cs
- _NtlmClient.cs
- HtmlInputText.cs
- XmlSchemaResource.cs
- SinglePhaseEnlistment.cs
- Suspend.cs
- DecimalConverter.cs
- EventHandlingScope.cs
- PanelStyle.cs
- FontNamesConverter.cs
- httpserverutility.cs
- ValidationEventArgs.cs
- TypeInfo.cs
- DPAPIProtectedConfigurationProvider.cs
- TypedServiceChannelBuilder.cs
- Utils.cs
- SerialStream.cs
- InvokeMethodActivity.cs
- path.cs
- Error.cs
- Command.cs
- XmlTypeAttribute.cs
- PropertyRef.cs
- SQLConvert.cs
- CustomLineCap.cs
- StringTraceRecord.cs
- PolicyChain.cs
- ParseChildrenAsPropertiesAttribute.cs
- SafeCryptoHandles.cs
- Size.cs
- CharacterMetricsDictionary.cs
- BitmapImage.cs
- QuaternionKeyFrameCollection.cs
- WebPartActionVerb.cs
- PrintDocument.cs
- SamlAuthenticationClaimResource.cs
- GroupBoxRenderer.cs
- COM2PictureConverter.cs
- DiffuseMaterial.cs
- AsnEncodedData.cs
- QilName.cs
- TimeEnumHelper.cs
- SwitchAttribute.cs
- PlatformCulture.cs
- NoneExcludedImageIndexConverter.cs
- FormParameter.cs
- ConfigXmlCDataSection.cs
- GradientSpreadMethodValidation.cs