Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataControlButton.cs
- AttachInfo.cs
- InputBuffer.cs
- UriTemplateTrieNode.cs
- SimpleFieldTemplateUserControl.cs
- XsltLoader.cs
- ThumbButtonInfoCollection.cs
- WebGetAttribute.cs
- KeyValuePair.cs
- ByteRangeDownloader.cs
- URLEditor.cs
- XmlDataSourceView.cs
- WebPartCatalogCloseVerb.cs
- ColumnClickEvent.cs
- MatrixTransform3D.cs
- RowToFieldTransformer.cs
- Size.cs
- TrackingServices.cs
- SoapAttributes.cs
- DataServiceExpressionVisitor.cs
- AssignDesigner.xaml.cs
- GlyphRunDrawing.cs
- WithStatement.cs
- ConnectionsZoneAutoFormat.cs
- VideoDrawing.cs
- ChildrenQuery.cs
- Resources.Designer.cs
- InternalConfigHost.cs
- complextypematerializer.cs
- MultidimensionalArrayItemReference.cs
- BigInt.cs
- Expressions.cs
- RegularExpressionValidator.cs
- FieldBuilder.cs
- DynamicControlParameter.cs
- MulticastOption.cs
- Rect.cs
- FixedFlowMap.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- UserNameSecurityToken.cs
- updateconfighost.cs
- TextEndOfSegment.cs
- Int64Converter.cs
- WebPartUtil.cs
- DbConnectionInternal.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PreservationFileWriter.cs
- KeyNotFoundException.cs
- translator.cs
- DateTimeConstantAttribute.cs
- DesignerActionUIStateChangeEventArgs.cs
- base64Transforms.cs
- ImageFormatConverter.cs
- MiniLockedBorderGlyph.cs
- SessionStateUtil.cs
- StorageRoot.cs
- MsmqChannelFactory.cs
- AuthenticationService.cs
- WizardSideBarListControlItem.cs
- AssociationTypeEmitter.cs
- StaticExtension.cs
- DataGridViewLinkColumn.cs
- TextSelectionHighlightLayer.cs
- CurrencyWrapper.cs
- StandardTransformFactory.cs
- PropertyPath.cs
- ExpressionBinding.cs
- HtmlForm.cs
- LiteralTextContainerControlBuilder.cs
- NetworkCredential.cs
- ComponentCommands.cs
- IERequestCache.cs
- SettingsPropertyValue.cs
- TreeNodeCollection.cs
- Permission.cs
- ExtensionSurface.cs
- ResourceAssociationTypeEnd.cs
- SafeNativeMethods.cs
- SafeThemeHandle.cs
- Parameter.cs
- XmlAttributeCache.cs
- LogStream.cs
- ObjectDataProvider.cs
- SizeFConverter.cs
- ProcessThreadCollection.cs
- IImplicitResourceProvider.cs
- HttpModuleCollection.cs
- DesignerToolStripControlHost.cs
- RtType.cs
- SpellerError.cs
- LicenseManager.cs
- PrimitiveType.cs
- EditModeSwitchButton.cs
- WmlTextBoxAdapter.cs
- OutputCacheEntry.cs
- CommonGetThemePartSize.cs
- KeyNotFoundException.cs
- OdbcInfoMessageEvent.cs
- SqlConnectionFactory.cs
- WS2007FederationHttpBinding.cs