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
- ProcessModuleDesigner.cs
- DPAPIProtectedConfigurationProvider.cs
- ConfigurationSettings.cs
- SafeBitVector32.cs
- HasCopySemanticsAttribute.cs
- WorkItem.cs
- Odbc32.cs
- CngProperty.cs
- FastEncoder.cs
- _RequestCacheProtocol.cs
- Matrix3DValueSerializer.cs
- PrintController.cs
- ChangePassword.cs
- PriorityBinding.cs
- SecurityValidationBehavior.cs
- SmtpReplyReader.cs
- AccessDataSourceView.cs
- FixedNode.cs
- NameTable.cs
- ConditionalDesigner.cs
- GridItem.cs
- OracleEncoding.cs
- CodeCastExpression.cs
- MaterialGroup.cs
- ExtenderProvidedPropertyAttribute.cs
- AncillaryOps.cs
- TraceInternal.cs
- Pool.cs
- WinInet.cs
- WebPartTransformer.cs
- CacheDependency.cs
- FontInfo.cs
- CommonBehaviorsSection.cs
- GregorianCalendar.cs
- RegistrationServices.cs
- ProtocolState.cs
- NavigationPropertySingletonExpression.cs
- HttpApplication.cs
- Shape.cs
- CheckableControlBaseAdapter.cs
- backend.cs
- KeyToListMap.cs
- ToolStripSettings.cs
- FrameworkElementFactory.cs
- ObjectDataSourceView.cs
- XmlStringTable.cs
- SplayTreeNode.cs
- InputManager.cs
- TimelineClockCollection.cs
- Normalization.cs
- PageContentCollection.cs
- DataMemberAttribute.cs
- SQLBinary.cs
- SqlTypesSchemaImporter.cs
- ExpressionNode.cs
- DetailsViewInsertEventArgs.cs
- InputScopeAttribute.cs
- KeyValuePairs.cs
- MimeObjectFactory.cs
- BmpBitmapEncoder.cs
- DataGridColumnDropSeparator.cs
- UrlPath.cs
- TransformationRules.cs
- AssemblyInfo.cs
- TextElementEnumerator.cs
- CellParagraph.cs
- DebugController.cs
- CommentEmitter.cs
- XmlSchemaImport.cs
- WindowsTokenRoleProvider.cs
- SurrogateSelector.cs
- TransactionInterop.cs
- ProtocolsConfigurationHandler.cs
- PartitionedStream.cs
- TrackingStringDictionary.cs
- WhileDesigner.xaml.cs
- EventMap.cs
- XmlSerializerOperationFormatter.cs
- AmbientValueAttribute.cs
- PrintEvent.cs
- SqlInternalConnection.cs
- DrawingContextWalker.cs
- ProjectionPruner.cs
- ScrollableControl.cs
- StackSpiller.Bindings.cs
- EntityTypeEmitter.cs
- NavigateEvent.cs
- ProgressBarHighlightConverter.cs
- Activity.cs
- ParsedAttributeCollection.cs
- BitmapVisualManager.cs
- OptionUsage.cs
- DataConnectionHelper.cs
- CallbackTimeoutsBehavior.cs
- Base64Encoding.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ExecutionPropertyManager.cs
- AssociationEndMember.cs
- ProfilePropertyNameValidator.cs
- RectAnimationBase.cs