Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DataServiceQueryOfT.cs
- DataSourceView.cs
- PageRequestManager.cs
- HtmlImage.cs
- FileDataSourceCache.cs
- DataTableClearEvent.cs
- UrlAuthorizationModule.cs
- TextEditorDragDrop.cs
- SqlIdentifier.cs
- MemberHolder.cs
- BamlResourceContent.cs
- SqlStream.cs
- HtmlInputButton.cs
- WindowsStartMenu.cs
- _CacheStreams.cs
- DataRowChangeEvent.cs
- UnknownBitmapEncoder.cs
- DesignerActionPropertyItem.cs
- ChtmlTextBoxAdapter.cs
- VariantWrapper.cs
- TextStore.cs
- SemanticTag.cs
- UdpSocket.cs
- WriteableBitmap.cs
- ImportOptions.cs
- PermissionSet.cs
- ValidationHelper.cs
- DataBoundControl.cs
- Util.cs
- BitmapEffectGroup.cs
- HexParser.cs
- BuildProvider.cs
- CharacterBuffer.cs
- XmlSerializationWriter.cs
- MergeExecutor.cs
- WebRequestModuleElementCollection.cs
- RelationshipEntry.cs
- Graphics.cs
- OLEDB_Enum.cs
- StrongNameUtility.cs
- RSAProtectedConfigurationProvider.cs
- ClockGroup.cs
- NumericExpr.cs
- DescriptionAttribute.cs
- SystemColors.cs
- ListViewDeleteEventArgs.cs
- Exception.cs
- MembershipValidatePasswordEventArgs.cs
- ProtectedProviderSettings.cs
- SiteMap.cs
- FileSystemInfo.cs
- WindowsNonControl.cs
- DrawingAttributes.cs
- CheckBoxList.cs
- TextRunProperties.cs
- Avt.cs
- FontUnitConverter.cs
- QilScopedVisitor.cs
- DecimalFormatter.cs
- MiniAssembly.cs
- DataColumnMappingCollection.cs
- SQLDecimal.cs
- StaticFileHandler.cs
- WorkerRequest.cs
- PersistChildrenAttribute.cs
- IsolatedStorage.cs
- CodeNamespaceCollection.cs
- ConditionalDesigner.cs
- MD5.cs
- ThreadLocal.cs
- ToolStripComboBox.cs
- CodeMemberMethod.cs
- Pen.cs
- Soap12ServerProtocol.cs
- DesignerOptionService.cs
- ShaderEffect.cs
- IntSecurity.cs
- RulePatternOps.cs
- SqlBulkCopyColumnMapping.cs
- CatalogPart.cs
- GeometryModel3D.cs
- PersonalizationState.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- AlphabeticalEnumConverter.cs
- ImageIndexConverter.cs
- Hash.cs
- SqlMetaData.cs
- ReceiveActivityValidator.cs
- SaveFileDialog.cs
- DataGridViewHeaderCell.cs
- StorageConditionPropertyMapping.cs
- Cursor.cs
- ServiceModelInstallComponent.cs
- UserUseLicenseDictionaryLoader.cs
- DiscoveryInnerClientManaged11.cs
- Helper.cs
- DataGridViewRowsAddedEventArgs.cs
- ImageConverter.cs
- DbProviderSpecificTypePropertyAttribute.cs
- WebServiceData.cs