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
- DynamicResourceExtensionConverter.cs
- BitmapEffectState.cs
- DashStyle.cs
- CommandPlan.cs
- ButtonColumn.cs
- PathTooLongException.cs
- TextTrailingCharacterEllipsis.cs
- StringConcat.cs
- ComboBox.cs
- DataGridRowEventArgs.cs
- BmpBitmapDecoder.cs
- XmlSchemas.cs
- ExecutionPropertyManager.cs
- configsystem.cs
- OperandQuery.cs
- SortedSetDebugView.cs
- WebPageTraceListener.cs
- TimerElapsedEvenArgs.cs
- CaseInsensitiveComparer.cs
- ClientRuntimeConfig.cs
- TextParagraphProperties.cs
- ConfigurationSchemaErrors.cs
- DivideByZeroException.cs
- Border.cs
- MDIClient.cs
- LogEntryHeaderSerializer.cs
- BidirectionalDictionary.cs
- EditorBrowsableAttribute.cs
- Array.cs
- CodeDefaultValueExpression.cs
- XmlMapping.cs
- BufferBuilder.cs
- BinHexEncoder.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- HtmlTextArea.cs
- ColorMatrix.cs
- RSAOAEPKeyExchangeDeformatter.cs
- LineInfo.cs
- DBDataPermission.cs
- PartManifestEntry.cs
- ApplicationSecurityInfo.cs
- FormatterServices.cs
- FixedBufferAttribute.cs
- TableTextElementCollectionInternal.cs
- RightsManagementPermission.cs
- WebPartHelpVerb.cs
- HiddenField.cs
- RoutedEventValueSerializer.cs
- HttpModulesSection.cs
- StylusPointProperty.cs
- ProtocolImporter.cs
- RightsManagementPermission.cs
- ValueUtilsSmi.cs
- VisualBrush.cs
- FloaterParaClient.cs
- WebMethodAttribute.cs
- AggregatePushdown.cs
- designeractionbehavior.cs
- EmissiveMaterial.cs
- SqlConnectionFactory.cs
- RequestCachePolicyConverter.cs
- UnaryNode.cs
- QueueProcessor.cs
- PagedDataSource.cs
- SortedList.cs
- StateWorkerRequest.cs
- AsymmetricSignatureDeformatter.cs
- ControlParameter.cs
- ConstraintCollection.cs
- TreeViewItem.cs
- BindingListCollectionView.cs
- DocumentGrid.cs
- PageAdapter.cs
- OdbcDataReader.cs
- DatePickerAutomationPeer.cs
- ApplicationSettingsBase.cs
- SurrogateSelector.cs
- XmlnsDictionary.cs
- AsyncStreamReader.cs
- PropertyGeneratedEventArgs.cs
- EndpointDiscoveryElement.cs
- TimeEnumHelper.cs
- LingerOption.cs
- __Filters.cs
- SectionRecord.cs
- Authorization.cs
- Int16Storage.cs
- ReadOnlyKeyedCollection.cs
- GridViewHeaderRowPresenter.cs
- WebPartConnectionsDisconnectVerb.cs
- HasCopySemanticsAttribute.cs
- AppLevelCompilationSectionCache.cs
- ValidationEventArgs.cs
- DataGridCellInfo.cs
- InputBindingCollection.cs
- GestureRecognitionResult.cs
- BufferedMessageData.cs
- AllMembershipCondition.cs
- ToolStripSettings.cs
- DesignerTransactionCloseEvent.cs