Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / TextServicesCompartmentEventSink.cs / 1305600 / 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
- WebEventTraceProvider.cs
- DataReceivedEventArgs.cs
- Int64Storage.cs
- AttributeEmitter.cs
- Font.cs
- MailMessageEventArgs.cs
- safex509handles.cs
- SkipQueryOptionExpression.cs
- ButtonField.cs
- safex509handles.cs
- OleDbInfoMessageEvent.cs
- DrawingImage.cs
- ServiceHostingEnvironment.cs
- CharacterShapingProperties.cs
- DbMetaDataFactory.cs
- DataServiceContext.cs
- Opcode.cs
- PerformanceCounterLib.cs
- ClipboardProcessor.cs
- Canvas.cs
- SoapSchemaExporter.cs
- TransportReplyChannelAcceptor.cs
- WebPartConnectionsCancelEventArgs.cs
- WindowsRegion.cs
- DataGridViewRowStateChangedEventArgs.cs
- Scanner.cs
- FrameworkPropertyMetadata.cs
- StreamReader.cs
- CacheSection.cs
- columnmapkeybuilder.cs
- XmlSchemaSimpleTypeRestriction.cs
- DictionaryEditChange.cs
- DynamicEntity.cs
- MaskedTextBox.cs
- controlskin.cs
- HierarchicalDataSourceIDConverter.cs
- XPathQilFactory.cs
- XmlExtensionFunction.cs
- DataBinding.cs
- WsatServiceCertificate.cs
- InstancePersistenceCommand.cs
- SelectedGridItemChangedEvent.cs
- XmlMapping.cs
- StringPropertyBuilder.cs
- ConnectAlgorithms.cs
- complextypematerializer.cs
- InstanceLockLostException.cs
- ApplicationInterop.cs
- NullableIntAverageAggregationOperator.cs
- BaseTemplateBuildProvider.cs
- Set.cs
- __ConsoleStream.cs
- DictionaryEntry.cs
- SamlAuthorityBinding.cs
- WindowsPen.cs
- CriticalFinalizerObject.cs
- FlowchartDesigner.xaml.cs
- BitmapPalette.cs
- PanelStyle.cs
- streamingZipPartStream.cs
- UnsafeNativeMethods.cs
- _ListenerRequestStream.cs
- FacetDescriptionElement.cs
- BinaryParser.cs
- DataBinder.cs
- MultiBindingExpression.cs
- UniqueConstraint.cs
- DataGridViewRowEventArgs.cs
- TrustManagerPromptUI.cs
- RotateTransform3D.cs
- AssociationEndMember.cs
- ComponentEditorForm.cs
- UnsafeNativeMethods.cs
- RelOps.cs
- ModulesEntry.cs
- cookiecollection.cs
- IndentedTextWriter.cs
- ItemCheckedEvent.cs
- TypeConstant.cs
- DispatcherFrame.cs
- ViewBox.cs
- DataControlField.cs
- CompiledRegexRunner.cs
- SqlDataSourceDesigner.cs
- X509CertificateCollection.cs
- Rectangle.cs
- QilBinary.cs
- XPathArrayIterator.cs
- AssemblyAttributes.cs
- ClientCredentialsElement.cs
- PropertyCondition.cs
- XmlSchemaAnnotation.cs
- SoapBinding.cs
- Int32RectConverter.cs
- CryptoStream.cs
- GenericIdentity.cs
- ValidationService.cs
- StoryFragments.cs
- SourceSwitch.cs
- RegularExpressionValidator.cs