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
- XmlSchemaSequence.cs
- FamilyTypefaceCollection.cs
- StructuredTypeEmitter.cs
- MessageAction.cs
- HttpListenerPrefixCollection.cs
- StrokeNodeOperations2.cs
- XmlSchemaAny.cs
- Metafile.cs
- SqlClientMetaDataCollectionNames.cs
- XmlSchemaValidationException.cs
- SafeBuffer.cs
- XamlSerializer.cs
- CFGGrammar.cs
- listitem.cs
- ActiveXContainer.cs
- TableHeaderCell.cs
- _DisconnectOverlappedAsyncResult.cs
- HtmlInputFile.cs
- EditableLabelControl.cs
- PartialToken.cs
- CharEnumerator.cs
- TableColumn.cs
- TransactionInterop.cs
- SecurityTokenReferenceStyle.cs
- SQLSingle.cs
- WebBrowserBase.cs
- BamlBinaryWriter.cs
- Point3DCollection.cs
- Blend.cs
- MessageQueuePermissionEntry.cs
- ReversePositionQuery.cs
- FixedSOMSemanticBox.cs
- SqlSupersetValidator.cs
- XmlSignatureProperties.cs
- AuthStoreRoleProvider.cs
- StickyNoteHelper.cs
- BrowserCapabilitiesFactory.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- ReturnType.cs
- Rotation3DAnimation.cs
- CngKeyCreationParameters.cs
- HttpStaticObjectsCollectionWrapper.cs
- RemotingClientProxy.cs
- ModuleConfigurationInfo.cs
- SafeWaitHandle.cs
- Ref.cs
- PageThemeParser.cs
- BindingList.cs
- ServerValidateEventArgs.cs
- JsonDeserializer.cs
- Timeline.cs
- WebServiceErrorEvent.cs
- ResetableIterator.cs
- LinqDataSourceStatusEventArgs.cs
- ConfigurationLocation.cs
- CDSCollectionETWBCLProvider.cs
- ObjectAnimationBase.cs
- OptimalBreakSession.cs
- SafeNativeMethods.cs
- NullEntityWrapper.cs
- XmlDocumentFragment.cs
- ElementInit.cs
- LostFocusEventManager.cs
- ImageIndexConverter.cs
- ObjectStateFormatter.cs
- TypeLibConverter.cs
- TextSpan.cs
- _Win32.cs
- MembershipUser.cs
- sapiproxy.cs
- DrawingState.cs
- CellParagraph.cs
- HttpModuleAction.cs
- WsatServiceAddress.cs
- GeneralTransform2DTo3DTo2D.cs
- SafeCryptoHandles.cs
- AxHost.cs
- KeysConverter.cs
- MouseGesture.cs
- ErrorFormatter.cs
- Privilege.cs
- ManifestBasedResourceGroveler.cs
- FixedFindEngine.cs
- SafeViewOfFileHandle.cs
- AutomationElement.cs
- UserPersonalizationStateInfo.cs
- RuntimeConfig.cs
- SqlGatherConsumedAliases.cs
- oledbconnectionstring.cs
- SqlConnectionPoolProviderInfo.cs
- ProcessModelInfo.cs
- FormsAuthenticationUserCollection.cs
- TabControlEvent.cs
- ColorKeyFrameCollection.cs
- XmlAggregates.cs
- PolicyValidationException.cs
- WMIInterop.cs
- RefType.cs
- ValidatorCompatibilityHelper.cs
- DataGridSortCommandEventArgs.cs