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
- VisualBrush.cs
- XamlTemplateSerializer.cs
- RangeValueProviderWrapper.cs
- SmtpNetworkElement.cs
- DbModificationClause.cs
- XamlTemplateSerializer.cs
- EntitySqlException.cs
- ModelPropertyDescriptor.cs
- DES.cs
- ExtendedPropertyCollection.cs
- _NTAuthentication.cs
- BamlLocalizer.cs
- ColumnWidthChangedEvent.cs
- IndicShape.cs
- TrackingMemoryStream.cs
- SharedPerformanceCounter.cs
- sqlpipe.cs
- JsonMessageEncoderFactory.cs
- CatalogPartDesigner.cs
- XmlAtomicValue.cs
- WsatConfiguration.cs
- SelectionRange.cs
- RowToFieldTransformer.cs
- DataTrigger.cs
- LoginCancelEventArgs.cs
- DataGrid.cs
- SvcFileManager.cs
- ProviderCommandInfoUtils.cs
- EventRecord.cs
- ConfigurationLoader.cs
- CalloutQueueItem.cs
- DateTimeConstantAttribute.cs
- SiteMapSection.cs
- Bold.cs
- WindowsToolbar.cs
- ProcessThreadCollection.cs
- AuthorizationContext.cs
- TextEditorSpelling.cs
- COSERVERINFO.cs
- ClientSponsor.cs
- InkCanvasInnerCanvas.cs
- TypeUtils.cs
- ImageAutomationPeer.cs
- GeometryCombineModeValidation.cs
- XPathCompiler.cs
- XComponentModel.cs
- UrlPath.cs
- PartialTrustHelpers.cs
- Misc.cs
- PrintDocument.cs
- ActivityScheduledQuery.cs
- BaseCodeDomTreeGenerator.cs
- SecurityCriticalDataForSet.cs
- FigureHelper.cs
- GridViewColumnCollectionChangedEventArgs.cs
- MDIWindowDialog.cs
- AlignmentXValidation.cs
- XPathNodeInfoAtom.cs
- ParameterCollection.cs
- MeshGeometry3D.cs
- CssTextWriter.cs
- ModuleBuilderData.cs
- MatcherBuilder.cs
- ImageSourceConverter.cs
- DataGridTable.cs
- CommonDialog.cs
- future.cs
- ClrProviderManifest.cs
- hresults.cs
- RequestBringIntoViewEventArgs.cs
- StreamUpdate.cs
- SizeIndependentAnimationStorage.cs
- TypeConverterHelper.cs
- BitmapCodecInfoInternal.cs
- CodeMethodReturnStatement.cs
- AssertFilter.cs
- IApplicationTrustManager.cs
- XPathAncestorQuery.cs
- FontDifferentiator.cs
- RegisteredDisposeScript.cs
- ActivationArguments.cs
- PolicyValidationException.cs
- HebrewCalendar.cs
- MemberDomainMap.cs
- TextBox.cs
- InputScopeAttribute.cs
- SortedList.cs
- SignedXml.cs
- AffineTransform3D.cs
- OleDbStruct.cs
- CSharpCodeProvider.cs
- TextTreeFixupNode.cs
- SQLString.cs
- XamlFrame.cs
- ToolstripProfessionalRenderer.cs
- Padding.cs
- DebugHandleTracker.cs
- AttributeEmitter.cs
- OdbcException.cs
- WmpBitmapEncoder.cs