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
- AttributeAction.cs
- Point3DConverter.cs
- SignatureHelper.cs
- SqlDataSourceConfigureSortForm.cs
- DeadCharTextComposition.cs
- ObjectAnimationUsingKeyFrames.cs
- TransferMode.cs
- ChameleonKey.cs
- XmlSerializer.cs
- HtmlHead.cs
- BitmapImage.cs
- DataServiceHostWrapper.cs
- GZipStream.cs
- GroupBoxAutomationPeer.cs
- EnumType.cs
- CodeTypeDelegate.cs
- ConfigXmlElement.cs
- KeyBinding.cs
- ApplicationProxyInternal.cs
- Sequence.cs
- XmlRawWriterWrapper.cs
- XPathBuilder.cs
- StrongTypingException.cs
- XmlException.cs
- FormViewInsertedEventArgs.cs
- InheritanceRules.cs
- WebEvents.cs
- Util.cs
- LeaseManager.cs
- PinnedBufferMemoryStream.cs
- XmlSchemaComplexType.cs
- DataGridColumnEventArgs.cs
- RtfToXamlReader.cs
- ObjectQuery.cs
- CmsUtils.cs
- GetLedgerEntryForRecipientRequest.cs
- DeclarationUpdate.cs
- MobileRedirect.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- Matrix3DValueSerializer.cs
- WebPartEditorApplyVerb.cs
- PenLineCapValidation.cs
- VBCodeProvider.cs
- MatrixTransform3D.cs
- OracleParameter.cs
- ArrayElementGridEntry.cs
- StaticTextPointer.cs
- ExclusiveTcpTransportManager.cs
- TdsParserSafeHandles.cs
- DataGrid.cs
- ListBoxItemWrapperAutomationPeer.cs
- GridViewPageEventArgs.cs
- BezierSegment.cs
- NameValueFileSectionHandler.cs
- ValidationErrorInfo.cs
- Point3DIndependentAnimationStorage.cs
- EditBehavior.cs
- BuildDependencySet.cs
- FigureParaClient.cs
- MenuAdapter.cs
- EditBehavior.cs
- ScalarType.cs
- Point4D.cs
- UserNameSecurityToken.cs
- CodeTypeConstructor.cs
- IISUnsafeMethods.cs
- iisPickupDirectory.cs
- RootAction.cs
- Win32KeyboardDevice.cs
- PeoplePickerWrapper.cs
- LoginView.cs
- HeaderedItemsControl.cs
- ResourceExpressionBuilder.cs
- GPStream.cs
- XmlILOptimizerVisitor.cs
- Polyline.cs
- DataGridCheckBoxColumn.cs
- MailDefinitionBodyFileNameEditor.cs
- ServiceAuthorizationElement.cs
- HttpPostedFileBase.cs
- ConvertersCollection.cs
- XsdValidatingReader.cs
- TextEditorLists.cs
- ResourceWriter.cs
- EntitySqlQueryCacheKey.cs
- XNodeNavigator.cs
- WindowsSolidBrush.cs
- UIElementCollection.cs
- DrawingBrush.cs
- ColumnPropertiesGroup.cs
- IdentifierService.cs
- DataObjectAttribute.cs
- LayoutInformation.cs
- ProfilePropertySettingsCollection.cs
- ReadOnlyHierarchicalDataSource.cs
- HyperLink.cs
- CodeTypeOfExpression.cs
- AccessText.cs
- DesignerActionHeaderItem.cs
- ListViewInsertionMark.cs