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
- connectionpool.cs
- GridViewCancelEditEventArgs.cs
- StringValidatorAttribute.cs
- ParserContext.cs
- _SSPIWrapper.cs
- TextUtf8RawTextWriter.cs
- ComponentResourceKey.cs
- securitycriticaldata.cs
- Condition.cs
- ExtendedPropertyDescriptor.cs
- InstancePersistenceException.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- NameTable.cs
- AssemblyAttributesGoHere.cs
- JpegBitmapDecoder.cs
- SafeArrayRankMismatchException.cs
- GenericIdentity.cs
- CodeGeneratorOptions.cs
- SafeLocalAllocation.cs
- RemoteWebConfigurationHostServer.cs
- Stack.cs
- UpDownEvent.cs
- JsonFormatReaderGenerator.cs
- SmiMetaData.cs
- TableCellCollection.cs
- ViewStateModeByIdAttribute.cs
- VectorKeyFrameCollection.cs
- SamlSecurityTokenAuthenticator.cs
- SafeArrayRankMismatchException.cs
- CookieProtection.cs
- SqlFacetAttribute.cs
- ProxyWebPartConnectionCollection.cs
- BooleanExpr.cs
- SortedDictionary.cs
- ValueTypeFixupInfo.cs
- FixedTextPointer.cs
- EventMappingSettingsCollection.cs
- OracleParameterBinding.cs
- DiffuseMaterial.cs
- Operand.cs
- ObjectItemCachedAssemblyLoader.cs
- JavascriptCallbackBehaviorAttribute.cs
- JoinCqlBlock.cs
- ConfigurationElement.cs
- PreviewPrintController.cs
- CompatibleIComparer.cs
- ControlCollection.cs
- DataView.cs
- WindowsSpinner.cs
- StateMachine.cs
- ClientConfigurationSystem.cs
- NullableLongSumAggregationOperator.cs
- HostedElements.cs
- XmlNotation.cs
- DataGridViewElement.cs
- ReflectTypeDescriptionProvider.cs
- NetworkCredential.cs
- InvalidateEvent.cs
- SqlFacetAttribute.cs
- InstanceHandleConflictException.cs
- COM2ExtendedUITypeEditor.cs
- SchemaContext.cs
- CacheMemory.cs
- HttpServerVarsCollection.cs
- SystemTcpConnection.cs
- StrokeNode.cs
- TextDecorationLocationValidation.cs
- TableParaClient.cs
- DataGridRowsPresenter.cs
- BoundField.cs
- ViewSimplifier.cs
- ConditionBrowserDialog.cs
- CodeExpressionStatement.cs
- TableRowsCollectionEditor.cs
- TerminateDesigner.cs
- Deserializer.cs
- ParserContext.cs
- EntityContainerRelationshipSet.cs
- ObjectViewListener.cs
- InheritablePropertyChangeInfo.cs
- UriTemplateVariablePathSegment.cs
- GenericTypeParameterConverter.cs
- TextDecorations.cs
- WindowsListViewItemStartMenu.cs
- XmlStreamStore.cs
- NamespaceInfo.cs
- EventlogProvider.cs
- EdmComplexTypeAttribute.cs
- EpmSyndicationContentDeSerializer.cs
- StorageRoot.cs
- SessionEndingCancelEventArgs.cs
- TableAutomationPeer.cs
- SemanticKeyElement.cs
- DBSqlParserColumn.cs
- CommunicationObjectManager.cs
- DateTimeValueSerializer.cs
- Message.cs
- UiaCoreProviderApi.cs
- Color.cs
- DrawingImage.cs