Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / InputLangChangeRequestEvent.cs / 1 / InputLangChangeRequestEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Runtime.InteropServices; using System.Diagnostics; using System; using System.Drawing; using System.Globalization; using System.Windows.Forms; using System.ComponentModel; using Microsoft.Win32; ////// /// public class InputLanguageChangingEventArgs : CancelEventArgs { ////// Provides data for the ////// event. /// /// /// The requested input language. /// private readonly InputLanguage inputLanguage; ////// /// The locale of the requested input langugage. /// private readonly CultureInfo culture; ////// /// Set to true if the system default font supports the character /// set required for the requested input language. /// private readonly bool sysCharSet; /** * @deprecated Should use the new constructor instead. */ ////// /// /// public InputLanguageChangingEventArgs(CultureInfo culture, bool sysCharSet) { this.inputLanguage = System.Windows.Forms.InputLanguage.FromCulture(culture); this.culture = culture; this.sysCharSet = sysCharSet; } ////// Initializes a new instance of the ///class with the /// specified locale, character set, and acceptance. /// /// /// public InputLanguageChangingEventArgs(InputLanguage inputLanguage, bool sysCharSet) { if (inputLanguage == null) throw new ArgumentNullException("inputLanguage"); this.inputLanguage = inputLanguage; this.culture = inputLanguage.Culture; this.sysCharSet = sysCharSet; } ////// Initializes a new instance of the ///class with the /// specified input language, character set, and acceptance of /// a language change. /// /// /// public InputLanguage InputLanguage { get { return inputLanguage; } } ////// Gets the requested input language. /// ////// /// public CultureInfo Culture { get { return culture; } } ////// Gets the locale of the requested input language. /// ////// /// public bool SysCharSet { get { return sysCharSet; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets a value indicating whether the system default font supports the character /// set required for the requested input language. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Runtime.InteropServices; using System.Diagnostics; using System; using System.Drawing; using System.Globalization; using System.Windows.Forms; using System.ComponentModel; using Microsoft.Win32; ////// /// public class InputLanguageChangingEventArgs : CancelEventArgs { ////// Provides data for the ////// event. /// /// /// The requested input language. /// private readonly InputLanguage inputLanguage; ////// /// The locale of the requested input langugage. /// private readonly CultureInfo culture; ////// /// Set to true if the system default font supports the character /// set required for the requested input language. /// private readonly bool sysCharSet; /** * @deprecated Should use the new constructor instead. */ ////// /// /// public InputLanguageChangingEventArgs(CultureInfo culture, bool sysCharSet) { this.inputLanguage = System.Windows.Forms.InputLanguage.FromCulture(culture); this.culture = culture; this.sysCharSet = sysCharSet; } ////// Initializes a new instance of the ///class with the /// specified locale, character set, and acceptance. /// /// /// public InputLanguageChangingEventArgs(InputLanguage inputLanguage, bool sysCharSet) { if (inputLanguage == null) throw new ArgumentNullException("inputLanguage"); this.inputLanguage = inputLanguage; this.culture = inputLanguage.Culture; this.sysCharSet = sysCharSet; } ////// Initializes a new instance of the ///class with the /// specified input language, character set, and acceptance of /// a language change. /// /// /// public InputLanguage InputLanguage { get { return inputLanguage; } } ////// Gets the requested input language. /// ////// /// public CultureInfo Culture { get { return culture; } } ////// Gets the locale of the requested input language. /// ////// /// public bool SysCharSet { get { return sysCharSet; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets a value indicating whether the system default font supports the character /// set required for the requested input language. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DesignerTransaction.cs
- _TLSstream.cs
- TraceEventCache.cs
- MappingItemCollection.cs
- ChooseAction.cs
- BuildProviderInstallComponent.cs
- XmlReflectionImporter.cs
- XamlSerializerUtil.cs
- NativeMethods.cs
- SafeRsaProviderHandle.cs
- SqlInfoMessageEvent.cs
- FixedNode.cs
- LayoutSettings.cs
- DrawItemEvent.cs
- SessionStateContainer.cs
- OverlappedAsyncResult.cs
- TextureBrush.cs
- DataGridPagerStyle.cs
- DefaultAssemblyResolver.cs
- SqlNode.cs
- Region.cs
- ElementHostAutomationPeer.cs
- LastQueryOperator.cs
- SrgsGrammar.cs
- CssTextWriter.cs
- ToolboxItemCollection.cs
- PassportAuthenticationEventArgs.cs
- TranslateTransform.cs
- WebPartConnectionsCloseVerb.cs
- ModuleBuilder.cs
- CellCreator.cs
- FlowDocumentReader.cs
- Soap.cs
- RegexCaptureCollection.cs
- PathGeometry.cs
- UnicastIPAddressInformationCollection.cs
- InvalidCastException.cs
- SpoolingTask.cs
- RuntimeConfig.cs
- SchemaImporterExtensionElement.cs
- FamilyTypefaceCollection.cs
- CrossContextChannel.cs
- PointAnimationUsingPath.cs
- XmlElementAttribute.cs
- TextEvent.cs
- EventNotify.cs
- GeneralTransform3D.cs
- DBAsyncResult.cs
- TemplateXamlParser.cs
- XmlQualifiedNameTest.cs
- KeyPressEvent.cs
- DataGridColumnHeaderAutomationPeer.cs
- CustomAssemblyResolver.cs
- SafeSecurityHandles.cs
- StrokeIntersection.cs
- VSWCFServiceContractGenerator.cs
- ActiveDocumentEvent.cs
- SingleBodyParameterMessageFormatter.cs
- FlowLayoutPanel.cs
- XmlNodeComparer.cs
- input.cs
- ForEachAction.cs
- Brush.cs
- RSAOAEPKeyExchangeDeformatter.cs
- UserControl.cs
- SystemIcmpV6Statistics.cs
- HWStack.cs
- Condition.cs
- ToolStripContentPanel.cs
- XmlNamespaceDeclarationsAttribute.cs
- InkSerializer.cs
- NativeMethods.cs
- MissingMemberException.cs
- InputReportEventArgs.cs
- UIntPtr.cs
- DocumentViewerBase.cs
- SecurityTokenAttachmentMode.cs
- Int64Animation.cs
- UserValidatedEventArgs.cs
- Add.cs
- MatrixAnimationUsingKeyFrames.cs
- DESCryptoServiceProvider.cs
- XslTransform.cs
- SequentialWorkflowRootDesigner.cs
- TableMethodGenerator.cs
- ObjectHandle.cs
- ObjectSelectorEditor.cs
- RegexRunnerFactory.cs
- ExecutedRoutedEventArgs.cs
- XmlSchemaInfo.cs
- PeerHelpers.cs
- SetterBaseCollection.cs
- DataServiceQuery.cs
- DigestComparer.cs
- SQLSingle.cs
- AnnouncementInnerClientCD1.cs
- TextEditorTyping.cs
- Literal.cs
- XmlTextEncoder.cs
- DocumentSequence.cs