Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- SurrogateSelector.cs
- EventManager.cs
- SlipBehavior.cs
- DateTimeOffset.cs
- SqlConnectionManager.cs
- DesignerRegionCollection.cs
- MultiView.cs
- XhtmlBasicValidationSummaryAdapter.cs
- SamlAssertion.cs
- RoleService.cs
- ECDsa.cs
- StateDesigner.Layouts.cs
- ManagementOptions.cs
- CqlLexer.cs
- Dictionary.cs
- RequestTimeoutManager.cs
- Error.cs
- DataGridViewColumn.cs
- ResXDataNode.cs
- UrlAuthFailureHandler.cs
- SubMenuStyleCollection.cs
- DependencyPropertyConverter.cs
- DebuggerAttributes.cs
- FigureParagraph.cs
- CodeConstructor.cs
- WeakReferenceKey.cs
- FormViewUpdateEventArgs.cs
- TableDetailsCollection.cs
- HtmlInputHidden.cs
- HtmlValidationSummaryAdapter.cs
- SoapTypeAttribute.cs
- DesignerActionTextItem.cs
- HttpModuleActionCollection.cs
- RowToFieldTransformer.cs
- GPStream.cs
- QilDataSource.cs
- NoResizeSelectionBorderGlyph.cs
- CardSpacePolicyElement.cs
- ServerProtocol.cs
- InkCanvasSelection.cs
- ToolStripDropDown.cs
- Base64WriteStateInfo.cs
- XPathArrayIterator.cs
- PointHitTestResult.cs
- SQLDouble.cs
- InstanceNameConverter.cs
- Label.cs
- MouseOverProperty.cs
- ResourceIDHelper.cs
- XmlJsonWriter.cs
- QueryConverter.cs
- LogManagementAsyncResult.cs
- GiveFeedbackEvent.cs
- HtmlTextArea.cs
- ApplicationActivator.cs
- PeerIPHelper.cs
- QueryableDataSourceHelper.cs
- FastEncoderWindow.cs
- TrackingCondition.cs
- FormView.cs
- NetSectionGroup.cs
- PingReply.cs
- DBConnectionString.cs
- PhonemeConverter.cs
- SelectionProcessor.cs
- LineVisual.cs
- GlobalEventManager.cs
- ItemCheckEvent.cs
- WebServiceClientProxyGenerator.cs
- ConfigXmlReader.cs
- WrapperSecurityCommunicationObject.cs
- SerializationInfoEnumerator.cs
- TraceData.cs
- EmptyReadOnlyDictionaryInternal.cs
- PolicyVersion.cs
- CallbackValidator.cs
- StoryFragments.cs
- SourceChangedEventArgs.cs
- LocalizableResourceBuilder.cs
- ByteStreamGeometryContext.cs
- FixedTextView.cs
- LabelLiteral.cs
- DBSchemaRow.cs
- ErrorFormatterPage.cs
- DocumentViewerHelper.cs
- ClientSideProviderDescription.cs
- StrokeNodeData.cs
- ObjectFullSpanRewriter.cs
- VectorKeyFrameCollection.cs
- WindowPattern.cs
- SqlDataAdapter.cs
- Pkcs9Attribute.cs
- XmlSchemaAttributeGroup.cs
- DataGridViewControlCollection.cs
- UrlPath.cs
- Polygon.cs
- ScriptControl.cs
- MergeFilterQuery.cs
- DBConnectionString.cs
- SqlDataSourceCustomCommandEditor.cs