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
- ToolStripTextBox.cs
- MemoryPressure.cs
- SqlDataSourceCache.cs
- D3DImage.cs
- FixedSOMImage.cs
- FamilyTypeface.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SByteStorage.cs
- LineServicesRun.cs
- NativeCompoundFileAPIs.cs
- HtmlLinkAdapter.cs
- SQlBooleanStorage.cs
- ScrollViewer.cs
- BaseTemplateParser.cs
- SafeEventLogWriteHandle.cs
- TemplateBamlRecordReader.cs
- TextDecoration.cs
- NullableDoubleSumAggregationOperator.cs
- ThreadStaticAttribute.cs
- ArgumentNullException.cs
- WindowsListViewGroupSubsetLink.cs
- LoginView.cs
- _BufferOffsetSize.cs
- XsdDataContractImporter.cs
- SelectionHighlightInfo.cs
- AdapterUtil.cs
- DataKeyArray.cs
- PartialList.cs
- StringValueSerializer.cs
- RelatedView.cs
- SpStreamWrapper.cs
- StructureChangedEventArgs.cs
- Thread.cs
- CompilationRelaxations.cs
- MaskInputRejectedEventArgs.cs
- CodeVariableReferenceExpression.cs
- TreeBuilderBamlTranslator.cs
- SchemaElement.cs
- XmlCollation.cs
- DefaultSerializationProviderAttribute.cs
- TextBoxLine.cs
- MobileCategoryAttribute.cs
- SafeRightsManagementPubHandle.cs
- ProviderIncompatibleException.cs
- DataGridColumnCollection.cs
- AttachInfo.cs
- SecurityState.cs
- SectionVisual.cs
- HtmlElementEventArgs.cs
- SystemException.cs
- StringInfo.cs
- TemplateField.cs
- HttpApplication.cs
- DetailsViewDeleteEventArgs.cs
- DbConnectionPoolGroupProviderInfo.cs
- XmlSchemaImporter.cs
- CatalogPart.cs
- ThemeInfoAttribute.cs
- HostingEnvironmentWrapper.cs
- ValidationError.cs
- TracedNativeMethods.cs
- WebPartRestoreVerb.cs
- NavigationPropertyEmitter.cs
- FormsAuthenticationTicket.cs
- Attribute.cs
- ValidationError.cs
- BufferedMessageWriter.cs
- GeneralTransform.cs
- PolicyManager.cs
- EntityProxyTypeInfo.cs
- WebSysDisplayNameAttribute.cs
- CreateParams.cs
- RSAPKCS1KeyExchangeFormatter.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- IOException.cs
- PreProcessInputEventArgs.cs
- HtmlInputButton.cs
- QueryOpeningEnumerator.cs
- Win32Interop.cs
- TryCatchDesigner.xaml.cs
- TextShapeableCharacters.cs
- RelationshipEndMember.cs
- CombinedTcpChannel.cs
- DisplayInformation.cs
- OdbcDataAdapter.cs
- BmpBitmapDecoder.cs
- CorrelationResolver.cs
- HttpServerProtocol.cs
- DataGridViewColumnDesigner.cs
- ProjectionCamera.cs
- wgx_commands.cs
- WebPartUserCapability.cs
- InkSerializer.cs
- EditableTreeList.cs
- Opcode.cs
- Application.cs
- DataContractAttribute.cs
- GridProviderWrapper.cs
- _CookieModule.cs
- EntityDataSourceSelectedEventArgs.cs