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
- TreeNodeStyle.cs
- SortAction.cs
- MetadataProperty.cs
- HttpServerUtilityWrapper.cs
- XmlJsonWriter.cs
- ImplicitInputBrush.cs
- CodeMemberField.cs
- HelpKeywordAttribute.cs
- CancellableEnumerable.cs
- TypeConverterHelper.cs
- XPathExpr.cs
- RoutingEndpointTrait.cs
- TrustLevelCollection.cs
- clipboard.cs
- SqlSelectStatement.cs
- ImageListImageEditor.cs
- AutoGeneratedFieldProperties.cs
- TogglePattern.cs
- SignedXml.cs
- HandleScope.cs
- WriteableBitmap.cs
- PropertyTabChangedEvent.cs
- XmlIlVisitor.cs
- RegexRunner.cs
- QuaternionValueSerializer.cs
- TextBoxAutoCompleteSourceConverter.cs
- FormattedText.cs
- QilLoop.cs
- MemberCollection.cs
- ToolboxComponentsCreatedEventArgs.cs
- DataSourceControl.cs
- xmlfixedPageInfo.cs
- Process.cs
- ObjectDataSource.cs
- HttpGetClientProtocol.cs
- MessageBox.cs
- CalendarTable.cs
- InfoCardSymmetricCrypto.cs
- DaylightTime.cs
- ObjectConverter.cs
- XmlCustomFormatter.cs
- TemplatePropertyEntry.cs
- MultipartContentParser.cs
- DirtyTextRange.cs
- GenericEnumConverter.cs
- Char.cs
- RepeaterItemCollection.cs
- securitycriticaldata.cs
- ClientScriptItemCollection.cs
- XmlAnyAttributeAttribute.cs
- ServiceEndpointAssociationProvider.cs
- DateTimeFormatInfoScanner.cs
- ProviderUtil.cs
- MenuItemStyle.cs
- SystemInfo.cs
- VariableExpressionConverter.cs
- EnvelopedSignatureTransform.cs
- CacheAxisQuery.cs
- BStrWrapper.cs
- precedingsibling.cs
- mediaeventshelper.cs
- QueueAccessMode.cs
- XmlSchemas.cs
- QilParameter.cs
- ConstructorNeedsTagAttribute.cs
- RadioButtonAutomationPeer.cs
- DataGridDesigner.cs
- CoreSwitches.cs
- XomlCompilerParameters.cs
- oledbconnectionstring.cs
- XmlTextEncoder.cs
- HttpException.cs
- DocumentPageTextView.cs
- Sequence.cs
- CodeAttachEventStatement.cs
- DtrList.cs
- HandledMouseEvent.cs
- CancelEventArgs.cs
- ClientSession.cs
- CodeIdentifier.cs
- Mutex.cs
- CompositeCollection.cs
- RepeatBehavior.cs
- TextElementEnumerator.cs
- BaseInfoTable.cs
- URLAttribute.cs
- ActivityBuilder.cs
- Deserializer.cs
- MulticastIPAddressInformationCollection.cs
- CancellableEnumerable.cs
- TextTreeNode.cs
- SqlTriggerContext.cs
- TreeNode.cs
- AddingNewEventArgs.cs
- ISAPIWorkerRequest.cs
- AsymmetricAlgorithm.cs
- TextTreeInsertElementUndoUnit.cs
- IgnorePropertiesAttribute.cs
- SSmlParser.cs
- DbConnectionPoolGroupProviderInfo.cs