Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / InputLangChangeEvent.cs / 1 / InputLangChangeEvent.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 InputLanguageChangedEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// /// The input language. /// private readonly InputLanguage inputLanguage; ////// /// The culture of the input language. /// private readonly CultureInfo culture; ////// /// The charSet associated with the new input language. /// private readonly byte charSet; /** * @deprecated. Use the other constructor instead. */ ////// /// /// public InputLanguageChangedEventArgs(CultureInfo culture, byte charSet) { this.inputLanguage = System.Windows.Forms.InputLanguage.FromCulture(culture); this.culture = culture; this.charSet = charSet; } ////// Initializes a new instance of the ///class with the /// specified locale and character set. /// /// /// public InputLanguageChangedEventArgs(InputLanguage inputLanguage, byte charSet) { this.inputLanguage = inputLanguage; this.culture = inputLanguage.Culture; this.charSet = charSet; } ////// Initializes a new instance of the ///class with the specified input language and /// character set. /// /// /// public InputLanguage InputLanguage { get { return inputLanguage; } } ////// Gets the input language. /// ////// /// public CultureInfo Culture { get { return culture; } } ////// Gets the locale of the input language. /// ////// /// public byte CharSet { get { return charSet; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets the character set associated with the new 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 InputLanguageChangedEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// /// The input language. /// private readonly InputLanguage inputLanguage; ////// /// The culture of the input language. /// private readonly CultureInfo culture; ////// /// The charSet associated with the new input language. /// private readonly byte charSet; /** * @deprecated. Use the other constructor instead. */ ////// /// /// public InputLanguageChangedEventArgs(CultureInfo culture, byte charSet) { this.inputLanguage = System.Windows.Forms.InputLanguage.FromCulture(culture); this.culture = culture; this.charSet = charSet; } ////// Initializes a new instance of the ///class with the /// specified locale and character set. /// /// /// public InputLanguageChangedEventArgs(InputLanguage inputLanguage, byte charSet) { this.inputLanguage = inputLanguage; this.culture = inputLanguage.Culture; this.charSet = charSet; } ////// Initializes a new instance of the ///class with the specified input language and /// character set. /// /// /// public InputLanguage InputLanguage { get { return inputLanguage; } } ////// Gets the input language. /// ////// /// public CultureInfo Culture { get { return culture; } } ////// Gets the locale of the input language. /// ////// /// public byte CharSet { get { return charSet; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets the character set associated with the new input language. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NonBatchDirectoryCompiler.cs
- ValidatorUtils.cs
- precedingsibling.cs
- ResetableIterator.cs
- EdgeModeValidation.cs
- PersonalizationAdministration.cs
- RegistryKey.cs
- CodeCommentStatement.cs
- SimpleApplicationHost.cs
- COM2ExtendedTypeConverter.cs
- GridViewAutomationPeer.cs
- Camera.cs
- DataGridViewRowCancelEventArgs.cs
- webbrowsersite.cs
- ColumnResizeAdorner.cs
- TempEnvironment.cs
- EarlyBoundInfo.cs
- PropertyItem.cs
- ExpressionPrefixAttribute.cs
- ProxyWebPartManager.cs
- XmlCharacterData.cs
- BinaryOperationBinder.cs
- OdbcConnectionOpen.cs
- User.cs
- ClientEventManager.cs
- SQLStringStorage.cs
- Size3DValueSerializer.cs
- ClientTarget.cs
- PartialCachingControl.cs
- EventMappingSettings.cs
- ServicePointManagerElement.cs
- SubpageParaClient.cs
- Graph.cs
- EncryptedXml.cs
- MasterPageCodeDomTreeGenerator.cs
- ICollection.cs
- MimeParameter.cs
- ResourceCategoryAttribute.cs
- Win32NamedPipes.cs
- TCEAdapterGenerator.cs
- WhiteSpaceTrimStringConverter.cs
- TreeViewImageKeyConverter.cs
- SurrogateEncoder.cs
- LogWriteRestartAreaState.cs
- FormClosedEvent.cs
- X509RawDataKeyIdentifierClause.cs
- ProcessHostServerConfig.cs
- GetCertificateRequest.cs
- NamedPipeHostedTransportConfiguration.cs
- WorkflowQueuingService.cs
- GridView.cs
- SchemaElement.cs
- FormattedTextSymbols.cs
- ArraySet.cs
- loginstatus.cs
- AnimationClockResource.cs
- OleTxTransaction.cs
- EventWaitHandle.cs
- BufferedStream.cs
- SoapElementAttribute.cs
- TransformGroup.cs
- WebPartVerbsEventArgs.cs
- MemberAssignment.cs
- SchemaLookupTable.cs
- RequestSecurityToken.cs
- DataGrid.cs
- PreviewKeyDownEventArgs.cs
- XmlTypeAttribute.cs
- TableStyle.cs
- SerializationStore.cs
- TaskFormBase.cs
- BoolExpr.cs
- BindableTemplateBuilder.cs
- EnglishPluralizationService.cs
- HMACSHA256.cs
- EmulateRecognizeCompletedEventArgs.cs
- NonSerializedAttribute.cs
- CompilerError.cs
- AnnotationComponentManager.cs
- XmlSchemaAttribute.cs
- DesignerActionUI.cs
- CombinedGeometry.cs
- regiisutil.cs
- SerializationFieldInfo.cs
- IpcClientChannel.cs
- UInt32Storage.cs
- ConnectionManagementSection.cs
- BulletedList.cs
- UrlMappingCollection.cs
- ViewGenerator.cs
- RegexCompiler.cs
- WindowsFormsSectionHandler.cs
- ExpressionParser.cs
- ConnectivityStatus.cs
- DbReferenceCollection.cs
- CodeNamespaceImport.cs
- CompositeFontInfo.cs
- TextLine.cs
- SyndicationLink.cs
- AttributeQuery.cs