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
- ClientBuildManager.cs
- WorkBatch.cs
- ToolStripDropDownMenu.cs
- Renderer.cs
- DesignRelationCollection.cs
- TileBrush.cs
- AutomationProperty.cs
- MaskedTextProvider.cs
- ComEventsInfo.cs
- ObjectFullSpanRewriter.cs
- DNS.cs
- RepeatButtonAutomationPeer.cs
- NavigationProgressEventArgs.cs
- ChangeToolStripParentVerb.cs
- StrongNameKeyPair.cs
- GenericWebPart.cs
- TypeUsage.cs
- StyleSelector.cs
- Style.cs
- Switch.cs
- RawStylusActions.cs
- ListViewHitTestInfo.cs
- ClassValidator.cs
- NameValueConfigurationCollection.cs
- ColumnBinding.cs
- TemplatedAdorner.cs
- MaskInputRejectedEventArgs.cs
- ReturnType.cs
- Size.cs
- GeometryHitTestParameters.cs
- NativeMethods.cs
- XmlRootAttribute.cs
- Trace.cs
- ConfigXmlDocument.cs
- RectAnimation.cs
- XamlHostingConfiguration.cs
- ObjectStateEntry.cs
- TreeViewHitTestInfo.cs
- Message.cs
- __ComObject.cs
- HttpMethodConstraint.cs
- DataListItem.cs
- SerializableAttribute.cs
- InternalCompensate.cs
- SqlServer2KCompatibilityAnnotation.cs
- GenericPrincipal.cs
- InvokeWebServiceDesigner.cs
- VariableValue.cs
- DrawingVisualDrawingContext.cs
- CheckoutException.cs
- SQLDateTimeStorage.cs
- DrawingContextWalker.cs
- EncodingNLS.cs
- LocalizedNameDescriptionPair.cs
- PointCollection.cs
- XmlFormatReaderGenerator.cs
- StandardBindingImporter.cs
- TaskFileService.cs
- PolicyException.cs
- DesignerEditorPartChrome.cs
- SelectedGridItemChangedEvent.cs
- RequestBringIntoViewEventArgs.cs
- MultiBindingExpression.cs
- StringFreezingAttribute.cs
- _KerberosClient.cs
- ObjRef.cs
- PersistChildrenAttribute.cs
- CodeTypeOfExpression.cs
- StreamingContext.cs
- ImpersonationOption.cs
- ValueTypeFixupInfo.cs
- DoubleCollectionConverter.cs
- PackWebRequestFactory.cs
- EntityConnection.cs
- BamlMapTable.cs
- TextPenaltyModule.cs
- AssemblyInfo.cs
- OutputCacheSettingsSection.cs
- DnsPermission.cs
- ConditionalAttribute.cs
- IteratorDescriptor.cs
- DataServiceRequestOfT.cs
- StorageScalarPropertyMapping.cs
- CheckPair.cs
- SafeRightsManagementHandle.cs
- PerformanceCounterManager.cs
- PathParser.cs
- SubMenuStyleCollection.cs
- ZipIOFileItemStream.cs
- VersionPair.cs
- hwndwrapper.cs
- SrgsSemanticInterpretationTag.cs
- WebPartMenu.cs
- Int32Animation.cs
- HuffCodec.cs
- SingleConverter.cs
- SqlClientFactory.cs
- AutomationElementIdentifiers.cs
- RelationshipEndMember.cs
- SettingsPropertyCollection.cs