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
- UseLicense.cs
- DrawItemEvent.cs
- HostingEnvironmentException.cs
- Operators.cs
- HttpSocketManager.cs
- HtmlProps.cs
- ModifyActivitiesPropertyDescriptor.cs
- ToolStripStatusLabel.cs
- XmlRawWriterWrapper.cs
- PtsHelper.cs
- AnimationTimeline.cs
- XmlDocumentType.cs
- EncoderReplacementFallback.cs
- DataGridViewLayoutData.cs
- XmlCodeExporter.cs
- ClickablePoint.cs
- PartialArray.cs
- SymbolTable.cs
- ComponentDispatcherThread.cs
- ReadContentAsBinaryHelper.cs
- X509RawDataKeyIdentifierClause.cs
- DataTableMapping.cs
- AssociatedControlConverter.cs
- StringFormat.cs
- LinqDataSourceSelectEventArgs.cs
- LayoutDump.cs
- GridViewUpdatedEventArgs.cs
- DocumentPageTextView.cs
- ClassHandlersStore.cs
- TypeNameConverter.cs
- SafeMILHandleMemoryPressure.cs
- HtmlImageAdapter.cs
- StylusPlugInCollection.cs
- OciEnlistContext.cs
- DispatcherHooks.cs
- TextSimpleMarkerProperties.cs
- _NegoStream.cs
- AdapterUtil.cs
- UnmanagedMarshal.cs
- ActionMismatchAddressingException.cs
- DataGridViewColumnTypePicker.cs
- SiteMapNodeItemEventArgs.cs
- HttpMethodAttribute.cs
- _SSPIWrapper.cs
- ResourceType.cs
- CacheChildrenQuery.cs
- BamlLocalizationDictionary.cs
- SqlClientWrapperSmiStream.cs
- _OSSOCK.cs
- ZipIOCentralDirectoryBlock.cs
- SmtpNegotiateAuthenticationModule.cs
- RegexNode.cs
- CrossAppDomainChannel.cs
- EmptyCollection.cs
- ThemeDictionaryExtension.cs
- SimpleType.cs
- SqlUnionizer.cs
- CompiledIdentityConstraint.cs
- RuntimeConfigLKG.cs
- ConfigurationElementProperty.cs
- IconConverter.cs
- PermissionSetEnumerator.cs
- GridView.cs
- CallContext.cs
- ToolStripStatusLabel.cs
- SerialStream.cs
- DbModificationClause.cs
- BitmapEffectInput.cs
- SourceCollection.cs
- IntSecurity.cs
- basemetadatamappingvisitor.cs
- MgmtConfigurationRecord.cs
- RectangleConverter.cs
- MenuItem.cs
- HttpCacheParams.cs
- AsmxEndpointPickerExtension.cs
- RawStylusActions.cs
- RadioButtonStandardAdapter.cs
- DataGridViewAccessibleObject.cs
- ConnectionStringsExpressionBuilder.cs
- UriSectionReader.cs
- IndexedGlyphRun.cs
- ParamArrayAttribute.cs
- FormClosingEvent.cs
- Point4D.cs
- TypeDependencyAttribute.cs
- RegexStringValidator.cs
- Package.cs
- CommandArguments.cs
- ServiceChannel.cs
- SystemIPGlobalProperties.cs
- WindowVisualStateTracker.cs
- ThreadExceptionEvent.cs
- FormatConvertedBitmap.cs
- SqlUtils.cs
- AsyncResult.cs
- DocumentProperties.cs
- ManifestBasedResourceGroveler.cs
- ToolStripItemClickedEventArgs.cs
- WinFormsComponentEditor.cs