Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / TextServicesCompartmentEventSink.cs / 1 / TextServicesCompartmentEventSink.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
// Description: Manages Text Services Compartment.
//
// History:
// 07/30/2003 : [....] - 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
- ZipIOLocalFileBlock.cs
- PeerContact.cs
- GenericWebPart.cs
- SymbolType.cs
- FunctionParameter.cs
- ObjectParameterCollection.cs
- DefaultExpressionVisitor.cs
- PolyLineSegmentFigureLogic.cs
- WebResponse.cs
- Base64Decoder.cs
- DependencyPropertyChangedEventArgs.cs
- DockingAttribute.cs
- GPPOINT.cs
- TransactionBridge.cs
- ScrollableControl.cs
- EnumUnknown.cs
- XPathNodeIterator.cs
- EntityDataSourceQueryBuilder.cs
- CopyCodeAction.cs
- FrameworkReadOnlyPropertyMetadata.cs
- PropertyBuilder.cs
- RadioButtonStandardAdapter.cs
- sqlmetadatafactory.cs
- SQLDecimalStorage.cs
- BufferedGraphicsManager.cs
- ImageAnimator.cs
- Int64AnimationUsingKeyFrames.cs
- GridViewColumnCollection.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- updatecommandorderer.cs
- DesignerAutoFormat.cs
- DbMetaDataCollectionNames.cs
- TriggerAction.cs
- UpdateException.cs
- ToolStripLabel.cs
- ResourceManager.cs
- XmlSchemaProviderAttribute.cs
- ProfileEventArgs.cs
- ImageIndexConverter.cs
- RequestValidator.cs
- TypeCollectionPropertyEditor.cs
- CryptoApi.cs
- TimelineGroup.cs
- HttpHandlerAction.cs
- Button.cs
- CalloutQueueItem.cs
- RoutedEventArgs.cs
- TokenFactoryCredential.cs
- SessionSwitchEventArgs.cs
- ResourceContainer.cs
- PropertyItemInternal.cs
- FixedTextPointer.cs
- PathSegment.cs
- SplashScreenNativeMethods.cs
- DispatcherExceptionFilterEventArgs.cs
- FontCacheLogic.cs
- ZipFileInfo.cs
- BitmapSizeOptions.cs
- UpdateTranslator.cs
- ObjectSecurity.cs
- SoapInteropTypes.cs
- VisualStyleRenderer.cs
- SharedConnectionInfo.cs
- TextLineBreak.cs
- CodeNamespaceImport.cs
- _ListenerAsyncResult.cs
- ToolCreatedEventArgs.cs
- WindowInteractionStateTracker.cs
- Form.cs
- SqlCaseSimplifier.cs
- XmlSerializer.cs
- FigureHelper.cs
- SchemaDeclBase.cs
- PeerToPeerException.cs
- ImportContext.cs
- DataGridItemEventArgs.cs
- SystemUnicastIPAddressInformation.cs
- FullTrustAssemblyCollection.cs
- SQLMoney.cs
- ScriptingWebServicesSectionGroup.cs
- SuppressMergeCheckAttribute.cs
- MatrixValueSerializer.cs
- ResourceContainer.cs
- counter.cs
- WindowsFormsHost.cs
- WorkflowMarkupSerializerMapping.cs
- LocalTransaction.cs
- ModelItemCollectionImpl.cs
- Codec.cs
- GeneralTransform3DGroup.cs
- ValueProviderWrapper.cs
- Paragraph.cs
- XmlSiteMapProvider.cs
- DecoderNLS.cs
- DataViewSetting.cs
- AppDomainProtocolHandler.cs
- ListViewTableRow.cs
- DayRenderEvent.cs
- Attributes.cs
- FixedFlowMap.cs