Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MiniMapControl.xaml.cs
- CheckBoxDesigner.cs
- MarshalByRefObject.cs
- ImageSource.cs
- TableCell.cs
- CodeGen.cs
- TextLineResult.cs
- ErrorFormatter.cs
- DateTimeValueSerializerContext.cs
- NavigationService.cs
- Geometry3D.cs
- XmlSchemaIdentityConstraint.cs
- WindowsMenu.cs
- ServicePointManager.cs
- SessionState.cs
- EntitySqlException.cs
- HttpPostedFile.cs
- WindowsFormsSynchronizationContext.cs
- UntrustedRecipientException.cs
- RequestStatusBarUpdateEventArgs.cs
- ItemDragEvent.cs
- GridViewSortEventArgs.cs
- WebBrowser.cs
- IsolationInterop.cs
- CodeExpressionCollection.cs
- SdlChannelSink.cs
- Soap.cs
- WebResourceAttribute.cs
- RowUpdatedEventArgs.cs
- ApplicationFileCodeDomTreeGenerator.cs
- filewebresponse.cs
- RecordManager.cs
- PagesChangedEventArgs.cs
- ConfigsHelper.cs
- ParserOptions.cs
- InfoCardX509Validator.cs
- WebPartTracker.cs
- ContainerTracking.cs
- CommandSet.cs
- AsyncDataRequest.cs
- WebServiceClientProxyGenerator.cs
- PerfProviderCollection.cs
- Triangle.cs
- listviewsubitemcollectioneditor.cs
- DefaultPrintController.cs
- XNameConverter.cs
- AuthenticationManager.cs
- WebHeaderCollection.cs
- ViewCellSlot.cs
- EndOfStreamException.cs
- PartManifestEntry.cs
- HeaderCollection.cs
- GlobalProxySelection.cs
- SettingsPropertyNotFoundException.cs
- PropertyPath.cs
- DataRow.cs
- TagMapCollection.cs
- HopperCache.cs
- CursorConverter.cs
- XmlIgnoreAttribute.cs
- PageClientProxyGenerator.cs
- MergePropertyDescriptor.cs
- UdpDiscoveryEndpointProvider.cs
- StandardBindingReliableSessionElement.cs
- RegexRunner.cs
- EntityDataSourceDesignerHelper.cs
- SourceSwitch.cs
- OperatorExpressions.cs
- _SingleItemRequestCache.cs
- TemplateLookupAction.cs
- CodeAssignStatement.cs
- FixedSOMPageElement.cs
- DependencyObjectProvider.cs
- FusionWrap.cs
- CheckBoxFlatAdapter.cs
- ScriptReferenceBase.cs
- MessageDecoder.cs
- ProfileSection.cs
- SafeFindHandle.cs
- BlurBitmapEffect.cs
- OdbcStatementHandle.cs
- FormViewPageEventArgs.cs
- AssemblyEvidenceFactory.cs
- Misc.cs
- XamlPoint3DCollectionSerializer.cs
- LineVisual.cs
- COSERVERINFO.cs
- EmptyReadOnlyDictionaryInternal.cs
- RolePrincipal.cs
- BindingBase.cs
- Floater.cs
- MouseGestureValueSerializer.cs
- MobileCapabilities.cs
- TaiwanLunisolarCalendar.cs
- _CookieModule.cs
- ReferenceConverter.cs
- HtmlTableRow.cs
- SQLDateTimeStorage.cs
- XamlPointCollectionSerializer.cs
- CLSCompliantAttribute.cs