Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- SqlDependencyUtils.cs
- DESCryptoServiceProvider.cs
- ChannelTerminatedException.cs
- dbdatarecord.cs
- SchemaNotation.cs
- Intellisense.cs
- KnownTypeDataContractResolver.cs
- SystemColors.cs
- ValidationHelper.cs
- MenuTracker.cs
- QueryCacheManager.cs
- AdRotator.cs
- ThemeDictionaryExtension.cs
- AssemblyCollection.cs
- DispatcherObject.cs
- WindowAutomationPeer.cs
- TypeSystemProvider.cs
- HiddenField.cs
- DeploymentExceptionMapper.cs
- KerberosRequestorSecurityToken.cs
- StringInfo.cs
- CodeDomSerializerBase.cs
- SendKeys.cs
- future.cs
- WindowsComboBox.cs
- BinaryWriter.cs
- TextTreeObjectNode.cs
- LogSwitch.cs
- TrustLevelCollection.cs
- TypeSystem.cs
- NumberEdit.cs
- EnumerableRowCollection.cs
- BufferedWebEventProvider.cs
- XmlWrappingReader.cs
- RoutedEvent.cs
- TraceSection.cs
- ImageBrush.cs
- entitydatasourceentitysetnameconverter.cs
- SqlAggregateChecker.cs
- StylusCollection.cs
- SafeNativeMethodsMilCoreApi.cs
- ISAPIApplicationHost.cs
- LinkClickEvent.cs
- EndpointAddressMessageFilter.cs
- HtmlValidatorAdapter.cs
- DataExchangeServiceBinder.cs
- FixedSOMTable.cs
- MimeXmlImporter.cs
- RuleSetBrowserDialog.cs
- ClassicBorderDecorator.cs
- DataListItemCollection.cs
- PathFigureCollection.cs
- SymmetricSecurityProtocol.cs
- DocumentReference.cs
- SqlInternalConnectionSmi.cs
- CommandHelper.cs
- TypeSemantics.cs
- ListDictionary.cs
- DbModificationClause.cs
- EventManager.cs
- ModelItem.cs
- XmlSchemaAnnotated.cs
- NativeObjectSecurity.cs
- TargetException.cs
- LowerCaseStringConverter.cs
- ChangePassword.cs
- BooleanAnimationUsingKeyFrames.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- FontSource.cs
- BitmapMetadataBlob.cs
- FactoryRecord.cs
- TextTabProperties.cs
- BamlLocalizationDictionary.cs
- XamlGridLengthSerializer.cs
- XPathNodeHelper.cs
- Focus.cs
- PhysicalFontFamily.cs
- SqlResolver.cs
- ClientRoleProvider.cs
- PropertyEmitterBase.cs
- PerfService.cs
- DisableDpiAwarenessAttribute.cs
- SetUserLanguageRequest.cs
- DataGridViewRowEventArgs.cs
- WinFormsUtils.cs
- TrailingSpaceComparer.cs
- XmlSchemaInclude.cs
- PermissionRequestEvidence.cs
- MembershipValidatePasswordEventArgs.cs
- URLIdentityPermission.cs
- Int16KeyFrameCollection.cs
- SID.cs
- HtmlGenericControl.cs
- XmlUtil.cs
- ToolStripDropDownButton.cs
- ServiceOperation.cs
- ExistsInCollection.cs
- DetailsViewUpdatedEventArgs.cs
- EntityAdapter.cs
- AxisAngleRotation3D.cs