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
- BindingNavigatorDesigner.cs
- TimeZoneNotFoundException.cs
- QilExpression.cs
- SQLChars.cs
- DataBoundControlHelper.cs
- MenuEventArgs.cs
- CssClassPropertyAttribute.cs
- DataFieldConverter.cs
- FileChangesMonitor.cs
- GroupStyle.cs
- AdornedElementPlaceholder.cs
- ChooseAction.cs
- Geometry3D.cs
- UserMapPath.cs
- ConfigXmlCDataSection.cs
- HttpRequestCacheValidator.cs
- CompositeDataBoundControl.cs
- EventManager.cs
- DataListCommandEventArgs.cs
- ControlFilterExpression.cs
- ControlEvent.cs
- CustomWebEventKey.cs
- Baml2006Reader.cs
- RTLAwareMessageBox.cs
- NullableBoolConverter.cs
- RadioButtonList.cs
- WebPartCatalogAddVerb.cs
- WebUtil.cs
- CompilerInfo.cs
- FormsAuthenticationModule.cs
- SmtpTransport.cs
- StringSource.cs
- EdmMember.cs
- QueryOpcode.cs
- HtmlLiteralTextAdapter.cs
- AssertFilter.cs
- SoapIgnoreAttribute.cs
- DropDownList.cs
- ToolBarTray.cs
- XPathPatternBuilder.cs
- NavigationPropertyEmitter.cs
- UInt32Converter.cs
- ContentAlignmentEditor.cs
- MobileControlDesigner.cs
- LinkDescriptor.cs
- ErrorHandler.cs
- CellConstant.cs
- TaskHelper.cs
- PropertyChangeTracker.cs
- ModelUtilities.cs
- regiisutil.cs
- PersistChildrenAttribute.cs
- VisualStyleInformation.cs
- NetSectionGroup.cs
- WebPartCloseVerb.cs
- WindowsListViewItem.cs
- AssemblyNameProxy.cs
- DataGridViewCellStyle.cs
- SecurityState.cs
- OperationAbortedException.cs
- SettingsAttributeDictionary.cs
- MarkupCompilePass2.cs
- View.cs
- MarkedHighlightComponent.cs
- SectionUpdates.cs
- SHA256.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ConsumerConnectionPoint.cs
- CmsUtils.cs
- ZipIOLocalFileBlock.cs
- PolicyStatement.cs
- WebColorConverter.cs
- Package.cs
- AdministrationHelpers.cs
- TableLayoutSettingsTypeConverter.cs
- TextViewBase.cs
- PenCursorManager.cs
- SqlMethodAttribute.cs
- Adorner.cs
- TypedDataSourceCodeGenerator.cs
- WebEvents.cs
- SQLBoolean.cs
- FixUpCollection.cs
- BitmapFrame.cs
- InvokePattern.cs
- SQLString.cs
- CountdownEvent.cs
- ModelItemCollection.cs
- Size.cs
- PieceNameHelper.cs
- PasswordBox.cs
- XmlObjectSerializer.cs
- RadioButtonStandardAdapter.cs
- ControlHelper.cs
- MultipartContentParser.cs
- BindingsCollection.cs
- SqlDataSourceConfigureSortForm.cs
- TreeNodeEventArgs.cs
- ListenerTraceUtility.cs
- NameValueConfigurationCollection.cs