Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / InputLanguageProfileNotifySink.cs / 1305600 / InputLanguageProfileNotifySink.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: The source of the input language of the thread. // // History: // 07/30/2003 : yutakas - ported from dotnet tree. // //--------------------------------------------------------------------------- using MS.Win32; using System.Collections; using System.Globalization; using System.Windows.Input; using System.Windows.Media; using System.Windows.Interop; using System.Runtime.InteropServices; using System; namespace System.Windows.Input { //----------------------------------------------------- // // InputLanguageProfileNotifySink // //----------------------------------------------------- ////// This is an internal. This is an implementation of ITfLanguageProfileNotifySink. /// internal class InputLanguageProfileNotifySink : UnsafeNativeMethods.ITfLanguageProfileNotifySink { //------------------------------------------------------ // // Constructors // //----------------------------------------------------- internal InputLanguageProfileNotifySink(InputLanguageSource target) { _target = target; } //------------------------------------------------------ // // Public Methods // //------------------------------------------------------ ////// OnLanguageChange call back of the interface. /// public void OnLanguageChange(short langid, out bool accept) { accept = _target.OnLanguageChange(langid); } ////// OnLanguageChanged call back of the interface. /// public void OnLanguageChanged() { _target.OnLanguageChanged(); } //----------------------------------------------------- // // Private Fields // //------------------------------------------------------ // the owner of this sink. private InputLanguageSource _target; } } // 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
- HtmlShimManager.cs
- XmlDataSourceNodeDescriptor.cs
- PersonalizationStateInfoCollection.cs
- NameValueCollection.cs
- TransportReplyChannelAcceptor.cs
- CapiHashAlgorithm.cs
- SharedPersonalizationStateInfo.cs
- UInt64.cs
- HttpCacheParams.cs
- UserControl.cs
- ComPlusDiagnosticTraceSchemas.cs
- GetRecipientListRequest.cs
- PrintingPermission.cs
- BulletedList.cs
- OdbcTransaction.cs
- _Semaphore.cs
- SystemThemeKey.cs
- InputChannelAcceptor.cs
- DataGridViewImageCell.cs
- StorageEndPropertyMapping.cs
- BaseWebProxyFinder.cs
- BamlRecords.cs
- DbParameterCollectionHelper.cs
- Rule.cs
- DiagnosticTrace.cs
- WorkflowMarkupElementEventArgs.cs
- ToolBarPanel.cs
- MatrixAnimationUsingKeyFrames.cs
- PartialArray.cs
- SessionStateUtil.cs
- MbpInfo.cs
- GridToolTip.cs
- RefreshPropertiesAttribute.cs
- dtdvalidator.cs
- FixedNode.cs
- XPathAncestorQuery.cs
- KeyTimeConverter.cs
- KeyboardDevice.cs
- ColumnHeaderConverter.cs
- XmlElementList.cs
- BookmarkEventArgs.cs
- View.cs
- DesignerTextWriter.cs
- TextWriter.cs
- WorkerRequest.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- SqlBulkCopyColumnMappingCollection.cs
- DBCommandBuilder.cs
- MsmqIntegrationProcessProtocolHandler.cs
- AddInSegmentDirectoryNotFoundException.cs
- ReliableChannelFactory.cs
- ClientConfigPaths.cs
- ReadWriteSpinLock.cs
- ConfigurationErrorsException.cs
- ObfuscationAttribute.cs
- DiscreteKeyFrames.cs
- SelectorItemAutomationPeer.cs
- StatusBarPanelClickEvent.cs
- InternalRelationshipCollection.cs
- _SSPIWrapper.cs
- Select.cs
- InvalidDataException.cs
- AxParameterData.cs
- NavigationFailedEventArgs.cs
- CodeAssignStatement.cs
- JsonWriterDelegator.cs
- WebPartZone.cs
- TypeRefElement.cs
- CodeSnippetTypeMember.cs
- EntityCommandCompilationException.cs
- SymbolType.cs
- ContentElement.cs
- HostedHttpTransportManager.cs
- DocumentsTrace.cs
- SafeTimerHandle.cs
- ContentElementAutomationPeer.cs
- ECDiffieHellmanCngPublicKey.cs
- AncillaryOps.cs
- shaperfactory.cs
- StorageScalarPropertyMapping.cs
- BoolExpressionVisitors.cs
- EventLog.cs
- COM2PropertyDescriptor.cs
- FixUp.cs
- Pair.cs
- SessionViewState.cs
- SqlLiftIndependentRowExpressions.cs
- FlowDocument.cs
- ViewStateChangedEventArgs.cs
- WebPartCatalogCloseVerb.cs
- ArraySubsetEnumerator.cs
- SafeReversePInvokeHandle.cs
- LogWriteRestartAreaState.cs
- SamlAssertion.cs
- DataGridViewElement.cs
- GlyphTypeface.cs
- SmiXetterAccessMap.cs
- XPathScanner.cs
- JapaneseCalendar.cs
- TemplateEditingFrame.cs