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
- SingleSelectRootGridEntry.cs
- DesignTimeDataBinding.cs
- validation.cs
- XmlSchemaSet.cs
- CatchDesigner.xaml.cs
- EntityClientCacheKey.cs
- IssuanceLicense.cs
- XXXInfos.cs
- StringAnimationBase.cs
- TimelineGroup.cs
- WebPartZoneBase.cs
- ClientSettingsStore.cs
- Reference.cs
- XmlToDatasetMap.cs
- TypeConverterHelper.cs
- webproxy.cs
- StorageEntitySetMapping.cs
- MessageLogger.cs
- StylusLogic.cs
- TreeNodeClickEventArgs.cs
- CryptoConfig.cs
- PopOutPanel.cs
- SiteMapNode.cs
- Baml2006SchemaContext.cs
- DeferrableContentConverter.cs
- PersonalizationState.cs
- ClientSettingsSection.cs
- PerformanceCounterPermission.cs
- RunInstallerAttribute.cs
- IsolatedStorageFile.cs
- SchemaNamespaceManager.cs
- JoinGraph.cs
- ImpersonationContext.cs
- BindingExpressionUncommonField.cs
- ControlValuePropertyAttribute.cs
- ExpressionEditorAttribute.cs
- ScrollChrome.cs
- MeshGeometry3D.cs
- OrderByQueryOptionExpression.cs
- CodeCatchClauseCollection.cs
- PresentationAppDomainManager.cs
- KernelTypeValidation.cs
- SafeEventLogWriteHandle.cs
- ControlEvent.cs
- BindingExpression.cs
- HtmlValidationSummaryAdapter.cs
- FieldToken.cs
- Size3DConverter.cs
- ComponentRenameEvent.cs
- EntityConnection.cs
- WebPartZoneBase.cs
- BuildProviderAppliesToAttribute.cs
- DesignUtil.cs
- WebBrowser.cs
- PixelFormats.cs
- DataSourceCacheDurationConverter.cs
- PerformanceCounter.cs
- GridErrorDlg.cs
- HandleRef.cs
- _LoggingObject.cs
- FrameworkElement.cs
- TextBlock.cs
- Guid.cs
- SortKey.cs
- TextDecorationUnitValidation.cs
- InvokeHandlers.cs
- DataGridViewImageCell.cs
- EncoderParameters.cs
- GridViewUpdateEventArgs.cs
- ClientApiGenerator.cs
- MimeObjectFactory.cs
- SecurityProtocol.cs
- ScriptModule.cs
- MultipartIdentifier.cs
- DesignBindingValueUIHandler.cs
- BindingElementCollection.cs
- HttpVersion.cs
- ClientType.cs
- KnownBoxes.cs
- ExpressionNode.cs
- BaseInfoTable.cs
- RouteItem.cs
- DefaultValueConverter.cs
- TimeStampChecker.cs
- FontCacheUtil.cs
- TCPClient.cs
- InputReportEventArgs.cs
- RemotingSurrogateSelector.cs
- AccessibilityHelperForXpWin2k3.cs
- EventSourceCreationData.cs
- FileDetails.cs
- TextServicesCompartment.cs
- NameValueSectionHandler.cs
- StateFinalizationDesigner.cs
- EnvironmentPermission.cs
- ClrProviderManifest.cs
- BuilderElements.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- TextTreeTextNode.cs
- CategoryList.cs