Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- Point3DConverter.cs
- SafeViewOfFileHandle.cs
- TreeNode.cs
- XmlDictionary.cs
- AnimationClock.cs
- Variable.cs
- SoapFormatExtensions.cs
- PropagatorResult.cs
- WindowsStartMenu.cs
- ProxyWebPart.cs
- DesignerProperties.cs
- TagPrefixInfo.cs
- EdmSchemaError.cs
- ContravarianceAdapter.cs
- ListManagerBindingsCollection.cs
- ExpressionVisitor.cs
- AcceleratedTokenAuthenticator.cs
- Context.cs
- SqlDataSourceCustomCommandPanel.cs
- GraphicsPath.cs
- CommandID.cs
- DesignerValidatorAdapter.cs
- ExpressionWriter.cs
- CachedFontFamily.cs
- SmiMetaData.cs
- SettingsPropertyWrongTypeException.cs
- EUCJPEncoding.cs
- ButtonBaseAdapter.cs
- EntityParameter.cs
- SizeF.cs
- BaseDataList.cs
- EdgeProfileValidation.cs
- DrawToolTipEventArgs.cs
- DbUpdateCommandTree.cs
- SizeFConverter.cs
- TextRunCacheImp.cs
- RuntimeCompatibilityAttribute.cs
- SymbolPair.cs
- SqlTriggerAttribute.cs
- IxmlLineInfo.cs
- XamlWriter.cs
- DataGridRowAutomationPeer.cs
- Icon.cs
- DataViewSettingCollection.cs
- InputElement.cs
- HeaderElement.cs
- HttpApplicationFactory.cs
- NavigationHelper.cs
- TableLayoutSettingsTypeConverter.cs
- xdrvalidator.cs
- ArrangedElementCollection.cs
- Peer.cs
- XmlSerializationReader.cs
- WCFServiceClientProxyGenerator.cs
- DocumentViewer.cs
- ScriptReference.cs
- PersistenceProvider.cs
- ObjectQuery_EntitySqlExtensions.cs
- DetailsViewInsertedEventArgs.cs
- WindowsFormsSectionHandler.cs
- ComboBox.cs
- Encoder.cs
- NumericUpDownAccelerationCollection.cs
- ApplicationFileParser.cs
- X509ClientCertificateCredentialsElement.cs
- TextLine.cs
- ServerTooBusyException.cs
- XsltCompileContext.cs
- COM2EnumConverter.cs
- DataError.cs
- ToolStripDropDownClosedEventArgs.cs
- DetailsViewDeletedEventArgs.cs
- Transform.cs
- xsdvalidator.cs
- EventLog.cs
- PropertyOrder.cs
- SystemIPInterfaceProperties.cs
- ItemList.cs
- IImplicitResourceProvider.cs
- PerfProviderCollection.cs
- InkPresenterAutomationPeer.cs
- QueryTask.cs
- DataListItemCollection.cs
- SchemaTableColumn.cs
- MethodCallConverter.cs
- MediaPlayer.cs
- Vector.cs
- CalendarAutoFormat.cs
- UserControlDesigner.cs
- IList.cs
- BuildManagerHost.cs
- Debugger.cs
- TablePatternIdentifiers.cs
- Annotation.cs
- ServerValidateEventArgs.cs
- ChangeInterceptorAttribute.cs
- UnknownWrapper.cs
- FilterException.cs
- StreamWriter.cs
- MimeAnyImporter.cs