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
- XmlArrayItemAttributes.cs
- BuildProviderAppliesToAttribute.cs
- WhitespaceSignificantCollectionAttribute.cs
- DbExpressionVisitor.cs
- ColorTranslator.cs
- Stream.cs
- GroupJoinQueryOperator.cs
- Rotation3D.cs
- SSmlParser.cs
- RegistryDataKey.cs
- StringInfo.cs
- FastEncoderWindow.cs
- ImportCatalogPart.cs
- RepeaterCommandEventArgs.cs
- HwndStylusInputProvider.cs
- TemplateBindingExtension.cs
- VirtualPath.cs
- RSAOAEPKeyExchangeDeformatter.cs
- TextBox.cs
- DataGridViewCellConverter.cs
- MailWebEventProvider.cs
- TextProperties.cs
- WindowsAuthenticationModule.cs
- Base64Encoder.cs
- AutomationElementCollection.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- SupportsEventValidationAttribute.cs
- SplineQuaternionKeyFrame.cs
- ByteAnimation.cs
- XmlTextEncoder.cs
- GridViewColumnCollection.cs
- NetTcpBindingElement.cs
- StrokeSerializer.cs
- AdRotator.cs
- WebConfigurationHost.cs
- CancellationToken.cs
- UnsafeNativeMethods.cs
- KnownTypesHelper.cs
- XmlSchemaInfo.cs
- HelpProvider.cs
- TableDetailsCollection.cs
- AutomationTextAttribute.cs
- UniqueEventHelper.cs
- ProxyWebPartConnectionCollection.cs
- ActivityExecutor.cs
- UserControlParser.cs
- TextContainerHelper.cs
- WaitForChangedResult.cs
- CalendarTable.cs
- DataControlPagerLinkButton.cs
- WindowsSpinner.cs
- HtmlTernaryTree.cs
- InstanceStoreQueryResult.cs
- SecurityManager.cs
- DbDataReader.cs
- WinFormsSpinner.cs
- EllipseGeometry.cs
- Visitor.cs
- SqlConnectionManager.cs
- StringCollection.cs
- UnicodeEncoding.cs
- VectorCollectionConverter.cs
- WindowHideOrCloseTracker.cs
- ResourceManagerWrapper.cs
- Int64Storage.cs
- xmlglyphRunInfo.cs
- Update.cs
- XmlDataSource.cs
- WebPartConnectionsCancelVerb.cs
- SqlInternalConnectionTds.cs
- SQLInt64Storage.cs
- TextSchema.cs
- WorkflowApplication.cs
- EventDescriptor.cs
- FormsAuthenticationModule.cs
- DrawingContextDrawingContextWalker.cs
- IISUnsafeMethods.cs
- PageTheme.cs
- FontDialog.cs
- InsufficientMemoryException.cs
- AnnotationStore.cs
- ManualResetEvent.cs
- SerializationInfoEnumerator.cs
- RC2.cs
- StylusButton.cs
- MethodRental.cs
- EmptyQuery.cs
- Properties.cs
- propertytag.cs
- ProcessHostFactoryHelper.cs
- CodeNamespaceImportCollection.cs
- SymbolEqualComparer.cs
- SoundPlayerAction.cs
- HotSpotCollection.cs
- SqlEnums.cs
- ModuleConfigurationInfo.cs
- WebHttpElement.cs
- ZipIOExtraFieldPaddingElement.cs
- ChildrenQuery.cs
- Matrix3DStack.cs