Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MethodBody.cs
- RequiredFieldValidator.cs
- RuntimeHandles.cs
- DesigntimeLicenseContextSerializer.cs
- Vector3DConverter.cs
- InvalidWMPVersionException.cs
- GetReadStreamResult.cs
- SemaphoreSecurity.cs
- WebServiceParameterData.cs
- WebPartVerbCollection.cs
- Grant.cs
- XmlNamespaceDeclarationsAttribute.cs
- ObjectStateEntry.cs
- NoResizeHandleGlyph.cs
- DataGridViewCellStyleChangedEventArgs.cs
- PaperSource.cs
- ToolStripDropDownClosedEventArgs.cs
- SqlCacheDependencyDatabaseCollection.cs
- MenuItem.cs
- SamlConditions.cs
- FixedDSBuilder.cs
- PackagePartCollection.cs
- LayoutEditorPart.cs
- DataGridTextBoxColumn.cs
- ClientApiGenerator.cs
- TableLayoutStyle.cs
- __Filters.cs
- WindowCollection.cs
- Journal.cs
- ResourceLoader.cs
- SimpleMailWebEventProvider.cs
- TreeViewEvent.cs
- UpdateCompiler.cs
- UpDownBase.cs
- Int64Converter.cs
- AutomationProperties.cs
- HttpValueCollection.cs
- Matrix.cs
- TextBounds.cs
- EncoderBestFitFallback.cs
- ConnectionsZone.cs
- ContentControl.cs
- ServiceHandle.cs
- DbProviderConfigurationHandler.cs
- StringUtil.cs
- AsyncResult.cs
- NamespaceCollection.cs
- ObjectItemLoadingSessionData.cs
- WebBrowsableAttribute.cs
- Translator.cs
- ColumnWidthChangedEvent.cs
- Script.cs
- ValidationUtility.cs
- Vector3DAnimationBase.cs
- XmlBoundElement.cs
- UrlPath.cs
- ContourSegment.cs
- DataGridViewRowStateChangedEventArgs.cs
- FixedTextBuilder.cs
- TableItemPatternIdentifiers.cs
- RequiredAttributeAttribute.cs
- Vector3DAnimationBase.cs
- SequenceDesignerAccessibleObject.cs
- IssuedTokenParametersElement.cs
- TrackingServices.cs
- WindowShowOrOpenTracker.cs
- XmlExceptionHelper.cs
- GlyphCache.cs
- WindowsUpDown.cs
- TableRow.cs
- WeakRefEnumerator.cs
- MouseButton.cs
- ReplacementText.cs
- BaseCodeDomTreeGenerator.cs
- FeatureAttribute.cs
- Transaction.cs
- CompositeCollection.cs
- LocatorPart.cs
- DataGridViewCellLinkedList.cs
- TraceUtility.cs
- ToolBar.cs
- MemoryResponseElement.cs
- EntityDataSourceDesignerHelper.cs
- DataServiceStreamResponse.cs
- ColorContextHelper.cs
- MenuRendererStandards.cs
- DynamicFilter.cs
- TextRange.cs
- XmlILConstructAnalyzer.cs
- IIS7WorkerRequest.cs
- NumericUpDownAccelerationCollection.cs
- ParenthesizePropertyNameAttribute.cs
- Module.cs
- MDIClient.cs
- CredentialSelector.cs
- Codec.cs
- XPathPatternBuilder.cs
- PeerService.cs
- TextContainerChangedEventArgs.cs
- DefaultAsyncDataDispatcher.cs