Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- _AcceptOverlappedAsyncResult.cs
- IconConverter.cs
- DmlSqlGenerator.cs
- MetadataCacheItem.cs
- EditorZoneBase.cs
- SmiMetaData.cs
- WebPartManager.cs
- TagMapCollection.cs
- PathSegmentCollection.cs
- ProcessHostFactoryHelper.cs
- WebPartTracker.cs
- FixedBufferAttribute.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- FilteredSchemaElementLookUpTable.cs
- Environment.cs
- PeerNodeTraceRecord.cs
- ListView.cs
- ToolStripOverflow.cs
- XmlDocumentType.cs
- Span.cs
- DetailsViewModeEventArgs.cs
- DataGridTextBox.cs
- xamlnodes.cs
- RequestDescription.cs
- DataObjectFieldAttribute.cs
- DeferredSelectedIndexReference.cs
- CodePageUtils.cs
- TableStyle.cs
- MarshalByRefObject.cs
- Point3DAnimationBase.cs
- DeviceFilterEditorDialog.cs
- TextFormatterImp.cs
- SplitterCancelEvent.cs
- PasswordTextContainer.cs
- CheckBoxAutomationPeer.cs
- ExtendedProtectionPolicy.cs
- AvTraceFormat.cs
- ConnectionModeReader.cs
- glyphs.cs
- LoadWorkflowAsyncResult.cs
- StringFormat.cs
- BindingsCollection.cs
- MachineSettingsSection.cs
- PolyLineSegmentFigureLogic.cs
- MediaContextNotificationWindow.cs
- IERequestCache.cs
- ApplicationServiceHelper.cs
- SoapSchemaMember.cs
- ContentElement.cs
- HttpCachePolicyElement.cs
- COM2ExtendedUITypeEditor.cs
- UnsafeNativeMethods.cs
- Transactions.cs
- IDReferencePropertyAttribute.cs
- MessageContractAttribute.cs
- XmlMembersMapping.cs
- Math.cs
- VerticalAlignConverter.cs
- AssemblyBuilderData.cs
- IisTraceListener.cs
- HtmlControlPersistable.cs
- versioninfo.cs
- DefaultWorkflowLoaderService.cs
- listitem.cs
- MetadataArtifactLoaderResource.cs
- TrackBarRenderer.cs
- UnauthorizedWebPart.cs
- TemplateBuilder.cs
- SQLInt32.cs
- UniformGrid.cs
- StyleHelper.cs
- HtmlTernaryTree.cs
- Scheduler.cs
- CompModHelpers.cs
- ToolboxComponentsCreatedEventArgs.cs
- Invariant.cs
- FunctionMappingTranslator.cs
- WindowsScrollBar.cs
- ExpressionWriter.cs
- BezierSegment.cs
- BitmapSourceSafeMILHandle.cs
- Properties.cs
- SoapTypeAttribute.cs
- ScriptControlDescriptor.cs
- ChtmlCommandAdapter.cs
- OleDbFactory.cs
- WebBrowserUriTypeConverter.cs
- ToolStripProgressBar.cs
- PointValueSerializer.cs
- DeviceSpecific.cs
- BezierSegment.cs
- StylusPointProperties.cs
- ConnectionStringSettings.cs
- ScalarType.cs
- Freezable.cs
- BamlRecordHelper.cs
- RectangleConverter.cs
- RunWorkerCompletedEventArgs.cs
- _LazyAsyncResult.cs
- SetterBase.cs