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
- basecomparevalidator.cs
- SystemSounds.cs
- ClientScriptManagerWrapper.cs
- WorkflowInstanceAbortedRecord.cs
- DependencyObjectCodeDomSerializer.cs
- AnyReturnReader.cs
- RightsManagementPermission.cs
- FormsAuthenticationTicket.cs
- CompressStream.cs
- Compiler.cs
- TypedReference.cs
- ExtractorMetadata.cs
- CodeTypeParameterCollection.cs
- EndpointDiscoveryMetadataCD1.cs
- Visual3D.cs
- ExecutionEngineException.cs
- WebRequestModuleElementCollection.cs
- BufferedGraphics.cs
- TrackingWorkflowEventArgs.cs
- JsonSerializer.cs
- HandlerWithFactory.cs
- Canvas.cs
- IItemProperties.cs
- ValidatingPropertiesEventArgs.cs
- QueryModel.cs
- PropertyMapper.cs
- DoubleAnimation.cs
- KeyFrames.cs
- DbParameterCollectionHelper.cs
- CompoundFileReference.cs
- sqlstateclientmanager.cs
- CreateUserErrorEventArgs.cs
- UnsafeNativeMethodsPenimc.cs
- ByteConverter.cs
- ServiceHttpModule.cs
- TdsParserStateObject.cs
- RequestCachePolicyConverter.cs
- AssociationSetMetadata.cs
- TransformProviderWrapper.cs
- SizeAnimationBase.cs
- WpfGeneratedKnownProperties.cs
- PrinterSettings.cs
- ActiveXContainer.cs
- TagNameToTypeMapper.cs
- HtmlButton.cs
- wmiprovider.cs
- AudioLevelUpdatedEventArgs.cs
- ThaiBuddhistCalendar.cs
- TypefaceMap.cs
- ADConnectionHelper.cs
- MouseActionValueSerializer.cs
- CodeCommentStatement.cs
- FrameworkElementAutomationPeer.cs
- RawMouseInputReport.cs
- EntityDataSourceValidationException.cs
- TypeConverter.cs
- HostedNamedPipeTransportManager.cs
- CategoriesDocument.cs
- AnnotationResource.cs
- ToolStripDropDownItem.cs
- Latin1Encoding.cs
- SortFieldComparer.cs
- AdapterUtil.cs
- ObjectDataProvider.cs
- ProtocolsConfigurationEntry.cs
- CompilationLock.cs
- RectConverter.cs
- TextRange.cs
- InputScopeNameConverter.cs
- LoadRetryHandler.cs
- SqlClientWrapperSmiStreamChars.cs
- ContentDisposition.cs
- RectangleHotSpot.cs
- SerializationAttributes.cs
- Scripts.cs
- TreeNodeCollection.cs
- DisplayToken.cs
- IisTraceListener.cs
- BinaryConverter.cs
- DbParameterHelper.cs
- PropertyTabAttribute.cs
- _TransmitFileOverlappedAsyncResult.cs
- SecureConversationDriver.cs
- SmtpTransport.cs
- SerializableTypeCodeDomSerializer.cs
- SchemaHelper.cs
- ProfileServiceManager.cs
- CrossContextChannel.cs
- DefaultMemberAttribute.cs
- ComponentEditorPage.cs
- NetDataContractSerializer.cs
- BmpBitmapEncoder.cs
- SiteMapSection.cs
- DesignerInterfaces.cs
- DBAsyncResult.cs
- StorageRoot.cs
- MasterPageParser.cs
- ModelTreeEnumerator.cs
- RegexEditorDialog.cs
- SqlClientPermission.cs