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
- CodeThrowExceptionStatement.cs
- CalloutQueueItem.cs
- ListenerAdapterBase.cs
- PkcsUtils.cs
- MeasureData.cs
- WebPartManagerDesigner.cs
- _ChunkParse.cs
- CodeObject.cs
- OpCopier.cs
- WindowsPrincipal.cs
- TreeNodeCollection.cs
- InputLanguageManager.cs
- XmlAutoDetectWriter.cs
- XmlDataSourceDesigner.cs
- AddInPipelineAttributes.cs
- TdsParameterSetter.cs
- LogSwitch.cs
- HttpProfileBase.cs
- LoginName.cs
- BasicCellRelation.cs
- MediaContextNotificationWindow.cs
- GeneratedView.cs
- BitmapEffectDrawingContent.cs
- SchemaType.cs
- XmlArrayItemAttribute.cs
- OdbcStatementHandle.cs
- WebPartRestoreVerb.cs
- DataTransferEventArgs.cs
- CodePageEncoding.cs
- PropertyBuilder.cs
- Context.cs
- Int32AnimationUsingKeyFrames.cs
- PartBasedPackageProperties.cs
- DataExpression.cs
- ScaleTransform.cs
- CqlWriter.cs
- WmfPlaceableFileHeader.cs
- ColorConverter.cs
- ContentPosition.cs
- TextSelectionHelper.cs
- SizeAnimationUsingKeyFrames.cs
- PropertyValue.cs
- XmlSchemaIdentityConstraint.cs
- PathFigureCollection.cs
- MaterialGroup.cs
- AsynchronousChannel.cs
- RequestContextBase.cs
- EntityParameter.cs
- UriSection.cs
- SoapAttributes.cs
- StylusEditingBehavior.cs
- StringConcat.cs
- ToolStripPanel.cs
- SQLDecimalStorage.cs
- InfoCardHelper.cs
- ValidationHelper.cs
- HitTestResult.cs
- BinaryParser.cs
- _SecureChannel.cs
- DBConcurrencyException.cs
- AnnotationResource.cs
- TraceUtils.cs
- WebConfigurationFileMap.cs
- ImmComposition.cs
- MobileControl.cs
- DocumentAutomationPeer.cs
- InkCanvas.cs
- FixedTextSelectionProcessor.cs
- NTAccount.cs
- _ProxyRegBlob.cs
- CanonicalXml.cs
- XhtmlBasicTextViewAdapter.cs
- BitStream.cs
- OleDbConnectionFactory.cs
- Triangle.cs
- DataSourceHelper.cs
- GiveFeedbackEventArgs.cs
- ScrollEventArgs.cs
- CodeIdentifier.cs
- UnsafeNativeMethodsPenimc.cs
- CodePrimitiveExpression.cs
- HMACRIPEMD160.cs
- XsdCachingReader.cs
- DesignerForm.cs
- DelegateArgument.cs
- MbpInfo.cs
- JsonByteArrayDataContract.cs
- VirtualStackFrame.cs
- SystemDropShadowChrome.cs
- QueryComponents.cs
- ConvertEvent.cs
- StorageConditionPropertyMapping.cs
- GradientSpreadMethodValidation.cs
- WindowsListViewScroll.cs
- TableAutomationPeer.cs
- DefaultMemberAttribute.cs
- Exceptions.cs
- WebControlToolBoxItem.cs
- ReflectionPermission.cs
- CaseExpr.cs