Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / InputLangChangeEvent.cs / 1305376 / 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
- XmlRootAttribute.cs
- WizardPanel.cs
- DiagnosticStrings.cs
- BoundingRectTracker.cs
- DependencyPropertyChangedEventArgs.cs
- SamlAuthorityBinding.cs
- SvcMapFileSerializer.cs
- CodeTypeDeclaration.cs
- Completion.cs
- DataGridView.cs
- EngineSiteSapi.cs
- EndOfStreamException.cs
- SqlBuilder.cs
- ObjectDataSourceStatusEventArgs.cs
- TrustLevelCollection.cs
- DropDownHolder.cs
- LinearKeyFrames.cs
- CodeAttachEventStatement.cs
- Regex.cs
- Oci.cs
- ValueProviderWrapper.cs
- ScrollableControlDesigner.cs
- TrustManagerMoreInformation.cs
- ProcessModuleCollection.cs
- Visitors.cs
- DataGridColumnFloatingHeader.cs
- TransformDescriptor.cs
- MessageBuilder.cs
- SmtpNegotiateAuthenticationModule.cs
- DbModificationClause.cs
- OpenCollectionAsyncResult.cs
- XmlExpressionDumper.cs
- safex509handles.cs
- OpenTypeCommon.cs
- XmlCharCheckingWriter.cs
- Math.cs
- CodeAttributeArgument.cs
- StructuredProperty.cs
- PropertyMap.cs
- RtfControlWordInfo.cs
- ChangeBlockUndoRecord.cs
- SiteMapPath.cs
- MarshalDirectiveException.cs
- HtmlControlPersistable.cs
- EntityContainer.cs
- SystemColors.cs
- AssemblyAttributesGoHere.cs
- OleDbInfoMessageEvent.cs
- CompositeControl.cs
- BuildProviderCollection.cs
- ImageFormat.cs
- ConfigurationSettings.cs
- PageWrapper.cs
- storepermissionattribute.cs
- BasicAsyncResult.cs
- DigitShape.cs
- BaseUriHelper.cs
- ForeignConstraint.cs
- PassportAuthenticationModule.cs
- TemplateControlParser.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- DrawListViewItemEventArgs.cs
- LoginName.cs
- EncryptedXml.cs
- SQLCharsStorage.cs
- ConsumerConnectionPointCollection.cs
- DummyDataSource.cs
- RectValueSerializer.cs
- EncoderBestFitFallback.cs
- IdnMapping.cs
- FreezableCollection.cs
- HtmlImage.cs
- DataListItemCollection.cs
- FileSystemEventArgs.cs
- Mapping.cs
- TextServicesManager.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- ProfilePropertyNameValidator.cs
- RotationValidation.cs
- EventEntry.cs
- BitStack.cs
- AuthorizationRuleCollection.cs
- SafeRightsManagementEnvironmentHandle.cs
- PointLightBase.cs
- X509RecipientCertificateClientElement.cs
- TypeBrowser.xaml.cs
- BuildResultCache.cs
- XPathQilFactory.cs
- ProjectionPathBuilder.cs
- CheckBoxList.cs
- RelationshipManager.cs
- HideDisabledControlAdapter.cs
- ToolConsole.cs
- DesignerActionPropertyItem.cs
- FileDataSourceCache.cs
- RC2.cs
- LineUtil.cs
- PassportAuthenticationEventArgs.cs
- ToolboxItemWrapper.cs
- ObjectStateManager.cs