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
- DelegatedStream.cs
- WindowsListViewGroup.cs
- TransactedReceiveScope.cs
- ObjectNotFoundException.cs
- MediaElementAutomationPeer.cs
- PrimitiveXmlSerializers.cs
- EllipseGeometry.cs
- DataGridViewCellParsingEventArgs.cs
- LinearGradientBrush.cs
- DataTable.cs
- HMACSHA256.cs
- ManualWorkflowSchedulerService.cs
- ItemChangedEventArgs.cs
- RuleProcessor.cs
- DataGridPageChangedEventArgs.cs
- X509RawDataKeyIdentifierClause.cs
- EntityDataSourceEntityTypeFilterItem.cs
- MessageDroppedTraceRecord.cs
- Int64Animation.cs
- CmsUtils.cs
- IdentifierService.cs
- LayoutInformation.cs
- GlobalizationAssembly.cs
- DbProviderConfigurationHandler.cs
- UniqueConstraint.cs
- Rule.cs
- WmlFormAdapter.cs
- ConfigurationValues.cs
- CachedBitmap.cs
- GridViewRowPresenterBase.cs
- TextOptionsInternal.cs
- SizeValueSerializer.cs
- GifBitmapDecoder.cs
- EmptyQuery.cs
- PenCursorManager.cs
- HtmlButton.cs
- MultiPropertyDescriptorGridEntry.cs
- BaseValidator.cs
- BooleanToVisibilityConverter.cs
- FilteredDataSetHelper.cs
- MessageQueueKey.cs
- NamespaceInfo.cs
- HttpProtocolImporter.cs
- FunctionParameter.cs
- BatchParser.cs
- ProviderConnectionPoint.cs
- DataSourceExpressionCollection.cs
- AsyncResult.cs
- DesignConnection.cs
- DbProviderSpecificTypePropertyAttribute.cs
- DataGridTable.cs
- ClientSideQueueItem.cs
- GenericXmlSecurityTokenAuthenticator.cs
- PageParser.cs
- XmlStreamStore.cs
- CryptoProvider.cs
- HandlerFactoryCache.cs
- XmlEntity.cs
- PartialCachingControl.cs
- TextEditorCharacters.cs
- ComponentResourceManager.cs
- BidirectionalDictionary.cs
- SingleTagSectionHandler.cs
- XmlText.cs
- QuaternionConverter.cs
- HandlerBase.cs
- CqlLexerHelpers.cs
- HtmlButton.cs
- ProbeDuplex11AsyncResult.cs
- BitmapSourceSafeMILHandle.cs
- InkCanvasFeedbackAdorner.cs
- BmpBitmapEncoder.cs
- FontStretchConverter.cs
- ChildrenQuery.cs
- CachedPathData.cs
- DirectoryGroupQuery.cs
- ComponentChangingEvent.cs
- DesignerActionUIStateChangeEventArgs.cs
- XPathException.cs
- DataDocumentXPathNavigator.cs
- OptimizedTemplateContentHelper.cs
- FontWeights.cs
- NumberSubstitution.cs
- Identity.cs
- IconConverter.cs
- PointLight.cs
- InternalControlCollection.cs
- ToolStrip.cs
- DataException.cs
- ListViewEditEventArgs.cs
- MenuAutomationPeer.cs
- RepeaterCommandEventArgs.cs
- ExtentKey.cs
- LiteralControl.cs
- ConditionCollection.cs
- TreeSet.cs
- Merger.cs
- TextParentUndoUnit.cs
- LocalizableResourceBuilder.cs
- ExtensionSimplifierMarkupObject.cs