Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Input / InputLanguageProfileNotifySink.cs / 1 / 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. //---------------------------------------------------------------------------- // //// 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
- DynamicRenderer.cs
- NodeFunctions.cs
- ThaiBuddhistCalendar.cs
- HorizontalAlignConverter.cs
- WebPartManagerInternals.cs
- PipeSecurity.cs
- UniqueIdentifierService.cs
- PropertyMappingExceptionEventArgs.cs
- ToolStrip.cs
- HtmlImage.cs
- RowBinding.cs
- Transform.cs
- AdapterUtil.cs
- SqlTypesSchemaImporter.cs
- TriggerAction.cs
- QilTernary.cs
- StronglyTypedResourceBuilder.cs
- ExpressionBinding.cs
- Brush.cs
- ImageSource.cs
- QilPatternFactory.cs
- SecurityContext.cs
- XmlSchemaImporter.cs
- XsltConvert.cs
- SystemWebSectionGroup.cs
- XmlUtilWriter.cs
- XmlCodeExporter.cs
- PerformanceCounterPermissionEntryCollection.cs
- TypeReference.cs
- ToolStripSeparatorRenderEventArgs.cs
- InkCanvasInnerCanvas.cs
- grammarelement.cs
- PrivilegeNotHeldException.cs
- DbDataSourceEnumerator.cs
- XmlWriterTraceListener.cs
- filewebrequest.cs
- ComponentSerializationService.cs
- Socket.cs
- EncryptedPackage.cs
- DesignerHelpers.cs
- querybuilder.cs
- SeekStoryboard.cs
- Context.cs
- Page.cs
- GetTokenRequest.cs
- BinaryParser.cs
- TextureBrush.cs
- CompositeActivityCodeGenerator.cs
- SamlSecurityToken.cs
- SourceFilter.cs
- ToolStripPanel.cs
- HtmlToClrEventProxy.cs
- RuleSettings.cs
- SourceLineInfo.cs
- PropertyChangeTracker.cs
- Partitioner.cs
- DbInsertCommandTree.cs
- SHA256Managed.cs
- WebPageTraceListener.cs
- AppSettingsSection.cs
- GridViewEditEventArgs.cs
- CommonProperties.cs
- Latin1Encoding.cs
- ParameterCollectionEditorForm.cs
- Rotation3DAnimation.cs
- MethodCallConverter.cs
- RegexParser.cs
- sapiproxy.cs
- XmlIterators.cs
- ChooseAction.cs
- Expr.cs
- HttpServerVarsCollection.cs
- EntitySqlQueryCacheEntry.cs
- HScrollBar.cs
- Messages.cs
- EqualityComparer.cs
- _NegoState.cs
- TraceSection.cs
- XmlDocument.cs
- GraphicsPath.cs
- LogPolicy.cs
- OutArgumentConverter.cs
- _SslStream.cs
- DefaultBinder.cs
- OdbcConnectionHandle.cs
- ChildrenQuery.cs
- MsmqChannelFactoryBase.cs
- StorageComplexPropertyMapping.cs
- X509Certificate.cs
- CustomAttributeSerializer.cs
- HttpCachePolicyElement.cs
- RemoteWebConfigurationHostStream.cs
- CheckBoxField.cs
- ThreadStartException.cs
- SqlParameter.cs
- DbConvert.cs
- StyleCollection.cs
- ExternalCalls.cs
- SQLDecimal.cs
- TextDocumentView.cs