Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- GridViewUpdateEventArgs.cs
- SqlDataSourceStatusEventArgs.cs
- DataSetUtil.cs
- ComPlusThreadInitializer.cs
- TextReader.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ChangeToolStripParentVerb.cs
- ManagedCodeMarkers.cs
- RuntimeResourceSet.cs
- SmtpNegotiateAuthenticationModule.cs
- WMIGenerator.cs
- InitializingNewItemEventArgs.cs
- WindowsFormsLinkLabel.cs
- HostingEnvironmentException.cs
- _SslStream.cs
- FileLoadException.cs
- InertiaTranslationBehavior.cs
- AttributedMetaModel.cs
- HtmlInputPassword.cs
- RecognizerInfo.cs
- WizardStepBase.cs
- HwndAppCommandInputProvider.cs
- LinqDataSource.cs
- StructuralType.cs
- WpfXamlType.cs
- EntityContainer.cs
- TypeDelegator.cs
- DocumentXPathNavigator.cs
- CodeArgumentReferenceExpression.cs
- GenericEnumerator.cs
- DispatcherObject.cs
- RegexRunnerFactory.cs
- XpsViewerException.cs
- CapabilitiesAssignment.cs
- AuthorizationBehavior.cs
- OperationInvokerBehavior.cs
- XmlQueryStaticData.cs
- FormatStringEditor.cs
- DataPointer.cs
- TransactionFormatter.cs
- TypeDefinition.cs
- DynamicMethod.cs
- ZoneButton.cs
- HttpBrowserCapabilitiesWrapper.cs
- DataSetMappper.cs
- Site.cs
- OleDbDataAdapter.cs
- ConfigurationLocationCollection.cs
- SiteMapNodeItem.cs
- StrokeCollection2.cs
- LinqTreeNodeEvaluator.cs
- SecurityProtocolCorrelationState.cs
- KeyFrames.cs
- ECDiffieHellmanCngPublicKey.cs
- CqlParserHelpers.cs
- MetadataArtifactLoaderComposite.cs
- ExpressionVisitor.cs
- RoleGroupCollectionEditor.cs
- GridViewPageEventArgs.cs
- ExceptionNotification.cs
- DocumentViewerBaseAutomationPeer.cs
- HwndTarget.cs
- ObjectDisposedException.cs
- AssertSection.cs
- XmlSchemaIdentityConstraint.cs
- GridProviderWrapper.cs
- CompareValidator.cs
- ErrorLog.cs
- Label.cs
- DbProviderManifest.cs
- DesignTimeParseData.cs
- BinaryReader.cs
- IHttpResponseInternal.cs
- DesignBindingPropertyDescriptor.cs
- ExceptionHandler.cs
- TableLayoutCellPaintEventArgs.cs
- ManagementException.cs
- AnalyzedTree.cs
- XPathEmptyIterator.cs
- Preprocessor.cs
- AttributeAction.cs
- SimpleHandlerBuildProvider.cs
- RetrieveVirtualItemEventArgs.cs
- DesignerResources.cs
- ConditionalBranch.cs
- ElementHostPropertyMap.cs
- SqlExpressionNullability.cs
- HelpFileFileNameEditor.cs
- ListView.cs
- Column.cs
- MappingModelBuildProvider.cs
- DynamicRenderer.cs
- SettingsPropertyValueCollection.cs
- GetPageCompletedEventArgs.cs
- RealizationDrawingContextWalker.cs
- PerfCounters.cs
- AssemblyAssociatedContentFileAttribute.cs
- DataSysAttribute.cs
- Margins.cs
- StrongNameUtility.cs