Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- OverflowException.cs
- Rectangle.cs
- TogglePatternIdentifiers.cs
- DragDrop.cs
- DataGridViewUtilities.cs
- ForwardPositionQuery.cs
- Constants.cs
- ExitEventArgs.cs
- HatchBrush.cs
- MultiTrigger.cs
- DocumentGridContextMenu.cs
- WebEventTraceProvider.cs
- AbstractSvcMapFileLoader.cs
- JumpItem.cs
- SystemResources.cs
- ReliableRequestSessionChannel.cs
- ConfigurationPermission.cs
- DataPagerFieldItem.cs
- ExternalException.cs
- ShaperBuffers.cs
- EncoderBestFitFallback.cs
- StorageConditionPropertyMapping.cs
- SqlBulkCopyColumnMapping.cs
- GifBitmapEncoder.cs
- x509utils.cs
- MenuCommands.cs
- EventManager.cs
- ThreadInterruptedException.cs
- Monitor.cs
- FrameSecurityDescriptor.cs
- ForwardPositionQuery.cs
- OracleBinary.cs
- IssuanceLicense.cs
- Queue.cs
- MarkupProperty.cs
- PeerEndPoint.cs
- ConnectionsZoneAutoFormat.cs
- NavigateEvent.cs
- CompareInfo.cs
- CodeCommentStatement.cs
- MsmqHostedTransportConfiguration.cs
- ResourceAttributes.cs
- MemberRelationshipService.cs
- X509ChainPolicy.cs
- HttpValueCollection.cs
- COSERVERINFO.cs
- HeaderCollection.cs
- QueryAccessibilityHelpEvent.cs
- ForEach.cs
- MetadataProperty.cs
- _UncName.cs
- AttributeTable.cs
- WorkerRequest.cs
- ConnectionStringEditor.cs
- QilVisitor.cs
- SiteMapDataSource.cs
- EdmError.cs
- ExpressionBuilderContext.cs
- MsdtcClusterUtils.cs
- CultureTableRecord.cs
- HttpCookiesSection.cs
- CounterCreationDataCollection.cs
- EntityDataSourceValidationException.cs
- Transform.cs
- CodeNamespaceImport.cs
- ProtocolsConfigurationEntry.cs
- ProtocolsConfigurationHandler.cs
- Subtree.cs
- DtcInterfaces.cs
- FixedSOMLineRanges.cs
- FileDialog_Vista_Interop.cs
- DateTimeOffsetConverter.cs
- AppDomainResourcePerfCounters.cs
- WebPartConnectionsEventArgs.cs
- BypassElement.cs
- EntityCommand.cs
- SqlDuplicator.cs
- Constants.cs
- SessionKeyExpiredException.cs
- VirtualDirectoryMapping.cs
- Unit.cs
- SamlSubject.cs
- Image.cs
- IsolatedStorageException.cs
- DbConvert.cs
- ImageFormatConverter.cs
- TracedNativeMethods.cs
- CharUnicodeInfo.cs
- CancelEventArgs.cs
- TablePattern.cs
- _ConnectionGroup.cs
- SchemaElement.cs
- DocumentPaginator.cs
- SafeIUnknown.cs
- UnsafeNativeMethods.cs
- EmbeddedMailObjectsCollection.cs
- HttpGetServerProtocol.cs
- FontConverter.cs
- DataObjectEventArgs.cs
- SrgsItemList.cs