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
- SelectionProcessor.cs
- HierarchicalDataTemplate.cs
- EventTrigger.cs
- WorkerRequest.cs
- MultiBinding.cs
- ExpandSegmentCollection.cs
- AutomationIdentifierGuids.cs
- ValueQuery.cs
- ImportContext.cs
- ResolveDuplexCD1AsyncResult.cs
- DataControlFieldCell.cs
- TokenBasedSetEnumerator.cs
- ExpandoClass.cs
- AtomEntry.cs
- DataObjectEventArgs.cs
- AbstractExpressions.cs
- NativeMethods.cs
- SafePointer.cs
- DataGridDetailsPresenterAutomationPeer.cs
- TemplateBindingExtension.cs
- XamlFigureLengthSerializer.cs
- StandardToolWindows.cs
- FillRuleValidation.cs
- CommandConverter.cs
- OrthographicCamera.cs
- RowUpdatingEventArgs.cs
- SerializationHelper.cs
- SoapCodeExporter.cs
- Win32PrintDialog.cs
- ComplexTypeEmitter.cs
- ImageList.cs
- WpfWebRequestHelper.cs
- DesignerLoader.cs
- IntegerValidatorAttribute.cs
- ProviderException.cs
- AtomMaterializerLog.cs
- SuppressMessageAttribute.cs
- LayoutDump.cs
- Binding.cs
- WpfSharedXamlSchemaContext.cs
- ResourceKey.cs
- RegexCapture.cs
- Compensate.cs
- HtmlControl.cs
- WebPartDescription.cs
- WebPartConnectionsConfigureVerb.cs
- SrgsElementList.cs
- CompositeControl.cs
- SqlSelectStatement.cs
- XmlArrayItemAttributes.cs
- MinMaxParagraphWidth.cs
- ReflectTypeDescriptionProvider.cs
- HttpBindingExtension.cs
- XmlIncludeAttribute.cs
- safemediahandle.cs
- TreeIterator.cs
- SqlDataSourceCommandEventArgs.cs
- HttpApplicationFactory.cs
- TextEditorTyping.cs
- ChooseAction.cs
- ViewStateException.cs
- AssemblyGen.cs
- EmptyImpersonationContext.cs
- QuestionEventArgs.cs
- ComplexPropertyEntry.cs
- GZipDecoder.cs
- SimpleWebHandlerParser.cs
- DataControlFieldCollection.cs
- ListItemViewAttribute.cs
- MenuAutomationPeer.cs
- GenericPrincipal.cs
- SizeAnimationBase.cs
- DbXmlEnabledProviderManifest.cs
- ControlBuilder.cs
- ExpressionLink.cs
- ExtenderHelpers.cs
- RepeatBehaviorConverter.cs
- SimpleTextLine.cs
- DiscreteKeyFrames.cs
- SecurityToken.cs
- DoubleSumAggregationOperator.cs
- PointCollectionValueSerializer.cs
- StorageComplexTypeMapping.cs
- FormViewModeEventArgs.cs
- DataServiceEntityAttribute.cs
- PackageRelationship.cs
- RequestTimeoutManager.cs
- Random.cs
- EventMetadata.cs
- MimeXmlImporter.cs
- References.cs
- DataControlFieldCollection.cs
- Label.cs
- RNGCryptoServiceProvider.cs
- ParseChildrenAsPropertiesAttribute.cs
- VisualStyleElement.cs
- Int16Storage.cs
- PerformanceCounterPermissionEntry.cs
- _HelperAsyncResults.cs
- TcpPortSharing.cs