Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / InputLangChangeRequestEvent.cs / 1305376 / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataPagerFieldCommandEventArgs.cs
- ExtendedTransformFactory.cs
- DataListItemEventArgs.cs
- IntSecurity.cs
- VirtualDirectoryMapping.cs
- SQLByteStorage.cs
- ComPlusDiagnosticTraceSchemas.cs
- QilBinary.cs
- TableItemProviderWrapper.cs
- Reference.cs
- SQLInt64.cs
- TrackingDataItemValue.cs
- WpfMemberInvoker.cs
- TextLineResult.cs
- TableFieldsEditor.cs
- DataBindingList.cs
- Int32Rect.cs
- TextCollapsingProperties.cs
- ThreadPool.cs
- ThousandthOfEmRealDoubles.cs
- SQLString.cs
- Section.cs
- ThemeableAttribute.cs
- ContentHostHelper.cs
- CodeRegionDirective.cs
- HtmlGenericControl.cs
- SqlDataSourceCommandEventArgs.cs
- EventManager.cs
- AssertFilter.cs
- EmptyImpersonationContext.cs
- SelectionProviderWrapper.cs
- InputMethodStateTypeInfo.cs
- DesignerActionMethodItem.cs
- SplitContainer.cs
- ByteStack.cs
- InputBinder.cs
- AssociationTypeEmitter.cs
- FontConverter.cs
- WebRequestModulesSection.cs
- OleDbParameter.cs
- XmlObjectSerializerContext.cs
- OutputCache.cs
- ListView.cs
- IdentityManager.cs
- ReadOnlyHierarchicalDataSourceView.cs
- FileDataSourceCache.cs
- ProfileSettingsCollection.cs
- NameValuePermission.cs
- GAC.cs
- COM2PropertyDescriptor.cs
- XmlSchemaExporter.cs
- DbConnectionPoolGroup.cs
- DataServiceContext.cs
- DisplayMemberTemplateSelector.cs
- SafeHandles.cs
- WmfPlaceableFileHeader.cs
- ConfigXmlComment.cs
- SqlParameter.cs
- IdentityModelStringsVersion1.cs
- ThemeDictionaryExtension.cs
- DataGridViewAccessibleObject.cs
- RootBrowserWindow.cs
- SystemDropShadowChrome.cs
- BaseTemplateParser.cs
- WinFormsUtils.cs
- MethodToken.cs
- SqlLiftWhereClauses.cs
- Metadata.cs
- SafeSecurityHelper.cs
- DBCommandBuilder.cs
- PersianCalendar.cs
- MD5.cs
- MiniCustomAttributeInfo.cs
- PasswordBox.cs
- DataGridViewCheckBoxColumn.cs
- SqlCacheDependency.cs
- FontStyleConverter.cs
- SHA1CryptoServiceProvider.cs
- GenericAuthenticationEventArgs.cs
- DBPropSet.cs
- InfoCardRSACryptoProvider.cs
- CodeValidator.cs
- SqlRowUpdatingEvent.cs
- ResourcePart.cs
- InitializerFacet.cs
- LongPath.cs
- ClientBase.cs
- ADRole.cs
- TemplateNameScope.cs
- XhtmlBasicValidatorAdapter.cs
- Vector3DValueSerializer.cs
- ProcessThreadCollection.cs
- SudsCommon.cs
- HttpServerVarsCollection.cs
- XmlSchemaChoice.cs
- StaticResourceExtension.cs
- ClientFactory.cs
- PrimitiveType.cs
- ThreadNeutralSemaphore.cs
- RuntimeResourceSet.cs