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
- PartialToken.cs
- FunctionUpdateCommand.cs
- ThicknessConverter.cs
- DiscardableAttribute.cs
- Figure.cs
- DropDownList.cs
- BitmapCodecInfoInternal.cs
- SQLRoleProvider.cs
- StylusPointPropertyInfoDefaults.cs
- AmbientProperties.cs
- BuildProviderAppliesToAttribute.cs
- StoreContentChangedEventArgs.cs
- PreviewPageInfo.cs
- PageBreakRecord.cs
- Validator.cs
- EmptyQuery.cs
- GenerateTemporaryTargetAssembly.cs
- DataKeyCollection.cs
- TraceContext.cs
- TransactionException.cs
- XPathAncestorQuery.cs
- GifBitmapDecoder.cs
- InfoCardSymmetricAlgorithm.cs
- LostFocusEventManager.cs
- EdmComplexPropertyAttribute.cs
- SerializationInfo.cs
- ipaddressinformationcollection.cs
- SqlClientPermission.cs
- HiddenFieldPageStatePersister.cs
- Knowncolors.cs
- FileRecordSequence.cs
- OutOfProcStateClientManager.cs
- UpdatePanelControlTrigger.cs
- CodeTryCatchFinallyStatement.cs
- EntitySqlQueryBuilder.cs
- RawStylusInputCustomData.cs
- WMICapabilities.cs
- SystemSounds.cs
- StrokeRenderer.cs
- ClientOptions.cs
- VisualStateChangedEventArgs.cs
- CodeSubDirectoriesCollection.cs
- TypeToStringValueConverter.cs
- WebPartDescription.cs
- ChannelCacheDefaults.cs
- DelegateHelpers.cs
- RegistryKey.cs
- RuntimeConfigLKG.cs
- ObjectView.cs
- AlternateViewCollection.cs
- QualificationDataItem.cs
- ColorConvertedBitmapExtension.cs
- FreeIndexList.cs
- UIServiceHelper.cs
- FullTextState.cs
- WebPartExportVerb.cs
- DetailsViewRow.cs
- SecurityTokenSerializer.cs
- XmlDataCollection.cs
- PrintDialog.cs
- TableCell.cs
- Int32Converter.cs
- SystemColors.cs
- GregorianCalendarHelper.cs
- EventLogWatcher.cs
- FontCollection.cs
- WebPartHelpVerb.cs
- PartialTrustVisibleAssembly.cs
- DropDownHolder.cs
- TextElement.cs
- FillRuleValidation.cs
- ExceptionUtility.cs
- PasswordRecovery.cs
- TrackBarRenderer.cs
- ModuleConfigurationInfo.cs
- WebPartDisplayModeCancelEventArgs.cs
- RuntimeResourceSet.cs
- DictionaryGlobals.cs
- Bezier.cs
- RotationValidation.cs
- RenderingBiasValidation.cs
- SHA1CryptoServiceProvider.cs
- WriteFileContext.cs
- BuildResultCache.cs
- ImageDrawing.cs
- XmlEntityReference.cs
- CompilerTypeWithParams.cs
- DateBoldEvent.cs
- QuaternionAnimationUsingKeyFrames.cs
- DatagridviewDisplayedBandsData.cs
- PageParser.cs
- CategoryGridEntry.cs
- StringPropertyBuilder.cs
- XmlEncoding.cs
- AttributeSetAction.cs
- SingleSelectRootGridEntry.cs
- IsolatedStoragePermission.cs
- Int32KeyFrameCollection.cs
- ContentControl.cs
- OrderByExpression.cs