Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- PropertyValueUIItem.cs
- TargetParameterCountException.cs
- ViewStateException.cs
- TabControl.cs
- WindowsListViewGroupSubsetLink.cs
- SqlServer2KCompatibilityCheck.cs
- SecurityDescriptor.cs
- SyntaxCheck.cs
- TimeSpanValidator.cs
- MasterPage.cs
- SmiTypedGetterSetter.cs
- BindingCollection.cs
- BaseUriHelper.cs
- PrintPreviewDialog.cs
- CheckoutException.cs
- BitmapEffectGroup.cs
- SiteIdentityPermission.cs
- SplitterCancelEvent.cs
- Hashtable.cs
- XmlElementAttributes.cs
- webeventbuffer.cs
- ResourceManager.cs
- FormViewCommandEventArgs.cs
- CompositeDataBoundControl.cs
- SymbolEqualComparer.cs
- StylusLogic.cs
- PolicyReader.cs
- TextModifierScope.cs
- BackgroundFormatInfo.cs
- FixedStringLookup.cs
- UnmanagedHandle.cs
- Message.cs
- UIElementCollection.cs
- ActivityWithResultValueSerializer.cs
- SQLBytesStorage.cs
- DbSetClause.cs
- _AuthenticationState.cs
- Label.cs
- Serializer.cs
- ArgumentValidation.cs
- XmlBindingWorker.cs
- TextBreakpoint.cs
- PeerCollaboration.cs
- RSAPKCS1SignatureDeformatter.cs
- XmlSchemaSubstitutionGroup.cs
- Image.cs
- FlatButtonAppearance.cs
- PrintDialogException.cs
- OleDbSchemaGuid.cs
- IriParsingElement.cs
- Win32Exception.cs
- NullRuntimeConfig.cs
- BufferedStream2.cs
- ConstraintManager.cs
- ToolStripSplitButton.cs
- RemotingServices.cs
- HostedHttpRequestAsyncResult.cs
- DefaultTraceListener.cs
- TextBlock.cs
- MSHTMLHost.cs
- MetadataUtilsSmi.cs
- Operators.cs
- LinqDataSourceValidationException.cs
- ObjectPropertyMapping.cs
- ObjectConverter.cs
- WriteTimeStream.cs
- RowType.cs
- DisplayInformation.cs
- HttpCachePolicyBase.cs
- HostingEnvironmentException.cs
- DockEditor.cs
- ExpressionHelper.cs
- DateTime.cs
- HttpModulesSection.cs
- InstanceOwnerException.cs
- CodeDOMUtility.cs
- PKCS1MaskGenerationMethod.cs
- SafeProcessHandle.cs
- DataSvcMapFile.cs
- SortedSet.cs
- ReaderWriterLockWrapper.cs
- BitmapEffectrendercontext.cs
- COMException.cs
- HGlobalSafeHandle.cs
- ProviderConnectionPointCollection.cs
- DataRowComparer.cs
- StateDesigner.cs
- SHA512Managed.cs
- DBSchemaRow.cs
- ScriptingRoleServiceSection.cs
- ObjectItemCachedAssemblyLoader.cs
- SplashScreenNativeMethods.cs
- _LocalDataStoreMgr.cs
- Baml2006KnownTypes.cs
- IssuerInformation.cs
- AnonymousIdentificationModule.cs
- BlurEffect.cs
- TableDetailsCollection.cs
- SqlCacheDependencyDatabase.cs
- ControlBuilderAttribute.cs