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
- Tuple.cs
- SoapElementAttribute.cs
- DnsEndPoint.cs
- ZoneLinkButton.cs
- ISAPIRuntime.cs
- ValueTypeFixupInfo.cs
- HttpConfigurationContext.cs
- odbcmetadatacollectionnames.cs
- ConnectivityStatus.cs
- DescriptionAttribute.cs
- HttpModuleCollection.cs
- VariableAction.cs
- AttributeProviderAttribute.cs
- XsltException.cs
- AliasedSlot.cs
- InstanceDescriptor.cs
- ImageListDesigner.cs
- MsmqOutputMessage.cs
- TagMapCollection.cs
- TextViewSelectionProcessor.cs
- HitTestResult.cs
- XmlBinaryReader.cs
- PagesChangedEventArgs.cs
- BinHexDecoder.cs
- WindowClosedEventArgs.cs
- XmlSchemaImporter.cs
- SqlStatistics.cs
- UnsafeNativeMethods.cs
- DBConnectionString.cs
- DataControlPagerLinkButton.cs
- ConfigurationSectionGroup.cs
- HtmlElement.cs
- HostExecutionContextManager.cs
- RegistryKey.cs
- RecognizedWordUnit.cs
- LogLogRecordHeader.cs
- XmlSchemaProviderAttribute.cs
- Material.cs
- RtfFormatStack.cs
- WsdlInspector.cs
- WorkflowServiceBehavior.cs
- SimpleHandlerBuildProvider.cs
- NetworkInterface.cs
- RuleProcessor.cs
- PropertyTabAttribute.cs
- XmlSchemaImport.cs
- BaseContextMenu.cs
- DesignerActionKeyboardBehavior.cs
- TypeConverterValueSerializer.cs
- EntityDataSourceSelectedEventArgs.cs
- SEHException.cs
- PaperSource.cs
- BrowserCapabilitiesFactory.cs
- KeyboardNavigation.cs
- TextControl.cs
- ServiceAuthorizationBehavior.cs
- ToolboxSnapDragDropEventArgs.cs
- TypeDelegator.cs
- XmlMemberMapping.cs
- ItemMap.cs
- PropertyPathWorker.cs
- ErrorInfoXmlDocument.cs
- ControlPaint.cs
- ArgumentException.cs
- StoryFragments.cs
- PipeException.cs
- CapabilitiesUse.cs
- UriGenerator.cs
- ActivityDesignerLayoutSerializers.cs
- ReachPageContentCollectionSerializer.cs
- ScriptingSectionGroup.cs
- ObjectSpanRewriter.cs
- Freezable.cs
- DependencyPropertyValueSerializer.cs
- DataGridViewRowsAddedEventArgs.cs
- ColumnWidthChangedEvent.cs
- WindowsSpinner.cs
- RotationValidation.cs
- SecurityHelper.cs
- DesignerSerializerAttribute.cs
- ProcessInputEventArgs.cs
- TextSpan.cs
- TrackBarDesigner.cs
- LinqDataSourceDeleteEventArgs.cs
- ApplicationHost.cs
- ObjectQueryProvider.cs
- DropShadowBitmapEffect.cs
- CfgSemanticTag.cs
- TableItemStyle.cs
- FilterQuery.cs
- GenericXmlSecurityToken.cs
- ValueCollectionParameterReader.cs
- UserCancellationException.cs
- WorkflowMarkupSerializationException.cs
- XmlEventCache.cs
- FunctionQuery.cs
- PaintEvent.cs
- IDispatchConstantAttribute.cs
- UriSection.cs
- FieldAccessException.cs