Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- MethodBody.cs
- CapabilitiesRule.cs
- IdnMapping.cs
- XmlBinaryReaderSession.cs
- ClientUtils.cs
- DataObjectFieldAttribute.cs
- TraceListener.cs
- DynamicValidatorEventArgs.cs
- ManagementObjectSearcher.cs
- ClipboardData.cs
- BmpBitmapDecoder.cs
- InputEventArgs.cs
- SystemNetworkInterface.cs
- AuthenticationService.cs
- UriParserTemplates.cs
- QueryCursorEventArgs.cs
- HwndStylusInputProvider.cs
- URIFormatException.cs
- ServiceRouteHandler.cs
- StatusBar.cs
- webproxy.cs
- DefaultTextStoreTextComposition.cs
- XmlSchemaInferenceException.cs
- SaveWorkflowCommand.cs
- OdbcConnectionStringbuilder.cs
- CalendarDay.cs
- ConfigXmlCDataSection.cs
- TransformCollection.cs
- XmlSchemaValidationException.cs
- CompilationRelaxations.cs
- RelationalExpressions.cs
- SqlRowUpdatingEvent.cs
- HttpCapabilitiesSectionHandler.cs
- ObjectConverter.cs
- cryptoapiTransform.cs
- ToolStripPanelRenderEventArgs.cs
- WasEndpointConfigContainer.cs
- RadioButton.cs
- ClientSideProviderDescription.cs
- TemplateEditingFrame.cs
- DataSysAttribute.cs
- RuleSettings.cs
- SweepDirectionValidation.cs
- CommunicationObjectFaultedException.cs
- TableLayout.cs
- ContextStaticAttribute.cs
- DesignerSerializerAttribute.cs
- Transform3D.cs
- PassportPrincipal.cs
- ConfigurationStrings.cs
- ControlCollection.cs
- ObjectParameter.cs
- SmiConnection.cs
- AttachedAnnotation.cs
- WebBaseEventKeyComparer.cs
- DataServiceBehavior.cs
- CultureInfo.cs
- InputReferenceExpression.cs
- HtmlLink.cs
- TreeNode.cs
- StylusButton.cs
- EmptyControlCollection.cs
- GifBitmapEncoder.cs
- RestHandler.cs
- ScrollItemProviderWrapper.cs
- SizeFConverter.cs
- SafeBitVector32.cs
- TransformGroup.cs
- XamlStream.cs
- WebPartManager.cs
- UTF32Encoding.cs
- HtmlTableRowCollection.cs
- CodeDomDesignerLoader.cs
- EntityContainerRelationshipSet.cs
- CommonServiceBehaviorElement.cs
- CapabilitiesAssignment.cs
- PaintEvent.cs
- RangeValidator.cs
- SqlTriggerContext.cs
- HasCopySemanticsAttribute.cs
- MultiTrigger.cs
- ContextProperty.cs
- ConfigurationPermission.cs
- SchemaManager.cs
- HttpListenerResponse.cs
- MenuItemCollection.cs
- CloseCryptoHandleRequest.cs
- NeutralResourcesLanguageAttribute.cs
- Binding.cs
- ScaleTransform3D.cs
- TaiwanCalendar.cs
- HttpListenerPrefixCollection.cs
- WindowsServiceElement.cs
- SerializationTrace.cs
- SoapObjectInfo.cs
- DateTimeOffset.cs
- CheckBoxAutomationPeer.cs
- HttpListenerException.cs
- EncoderExceptionFallback.cs
- MsmqAppDomainProtocolHandler.cs