Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / InputLangChangeRequestEvent.cs / 1305376 / 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
- StateChangeEvent.cs
- ContainerUIElement3D.cs
- Double.cs
- SynchronizedInputAdaptor.cs
- XPathDocumentNavigator.cs
- StoragePropertyMapping.cs
- PartialArray.cs
- StrongNameIdentityPermission.cs
- ImageMap.cs
- RadioButtonBaseAdapter.cs
- DecimalAnimation.cs
- EntitySqlException.cs
- Win32PrintDialog.cs
- DbConnectionPoolIdentity.cs
- WebAdminConfigurationHelper.cs
- ScaleTransform3D.cs
- AncestorChangedEventArgs.cs
- UserNamePasswordValidationMode.cs
- TokenBasedSetEnumerator.cs
- WebControlsSection.cs
- BaseCollection.cs
- TickBar.cs
- KeyNotFoundException.cs
- RightsManagementUser.cs
- ECDiffieHellman.cs
- BulletedListDesigner.cs
- WorkflowEventArgs.cs
- ProcessHostServerConfig.cs
- ConnectionPoint.cs
- PenLineJoinValidation.cs
- InfoCardXmlSerializer.cs
- TextElementEnumerator.cs
- AmbientLight.cs
- InvalidPrinterException.cs
- BitArray.cs
- HtmlTableRow.cs
- ScaleTransform.cs
- ToolStripContainer.cs
- Cloud.cs
- Accessible.cs
- XmlNamespaceDeclarationsAttribute.cs
- ResXBuildProvider.cs
- PolicyValidationException.cs
- QuaternionConverter.cs
- HMACMD5.cs
- NativeMethods.cs
- AuthorizationSection.cs
- DbDeleteCommandTree.cs
- RowUpdatingEventArgs.cs
- ScrollData.cs
- ColumnMapProcessor.cs
- DisableDpiAwarenessAttribute.cs
- VoiceInfo.cs
- AsyncOperationManager.cs
- ComponentDesigner.cs
- TokenBasedSet.cs
- MetadataProperty.cs
- ContainerParaClient.cs
- KeyEventArgs.cs
- FontStyleConverter.cs
- TimeSpanSecondsConverter.cs
- Style.cs
- ImageCodecInfoPrivate.cs
- ValidatorCompatibilityHelper.cs
- CredentialCache.cs
- XmlUrlResolver.cs
- ResXResourceReader.cs
- FormClosingEvent.cs
- Span.cs
- DoubleAnimation.cs
- RetrieveVirtualItemEventArgs.cs
- PartialList.cs
- ToolTip.cs
- ListMarkerLine.cs
- CorrelationManager.cs
- EventSinkHelperWriter.cs
- HttpContext.cs
- BitmapCodecInfoInternal.cs
- DocumentPaginator.cs
- ByteStreamMessageUtility.cs
- DateTimeUtil.cs
- GlobalDataBindingHandler.cs
- DeviceContext2.cs
- System.Data_BID.cs
- WebConfigurationHostFileChange.cs
- ImageDrawing.cs
- InputProcessorProfilesLoader.cs
- TdsParserHelperClasses.cs
- GlyphTypeface.cs
- TypeConverterHelper.cs
- OrCondition.cs
- TrackingValidationObjectDictionary.cs
- ServiceObjectContainer.cs
- DependencyPropertyChangedEventArgs.cs
- KeyManager.cs
- NativeRightsManagementAPIsStructures.cs
- ProtocolViolationException.cs
- EditorBrowsableAttribute.cs
- CodePageEncoding.cs
- MimeFormReflector.cs