Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- StrictAndMessageFilter.cs
- StringBuilder.cs
- BmpBitmapDecoder.cs
- querybuilder.cs
- Substitution.cs
- TreeNodeStyle.cs
- FilePrompt.cs
- SqlMethodTransformer.cs
- AsymmetricSignatureFormatter.cs
- IndexerNameAttribute.cs
- StreamUpdate.cs
- ResourceReader.cs
- PropertyMetadata.cs
- BulletedList.cs
- MessageQueueEnumerator.cs
- DBBindings.cs
- DataComponentNameHandler.cs
- QueryGeneratorBase.cs
- MdbDataFileEditor.cs
- DesignerGenericWebPart.cs
- GridProviderWrapper.cs
- HttpProfileBase.cs
- IssuanceLicense.cs
- CodeConditionStatement.cs
- BuilderInfo.cs
- XmlSchemaImporter.cs
- NativeMethods.cs
- XmlNodeList.cs
- HttpPostProtocolImporter.cs
- DropShadowEffect.cs
- RowsCopiedEventArgs.cs
- Wizard.cs
- ConfigurationElementProperty.cs
- JavascriptCallbackMessageInspector.cs
- EntityUtil.cs
- InkCanvasSelectionAdorner.cs
- bindurihelper.cs
- SortableBindingList.cs
- SwitchAttribute.cs
- Transform3DGroup.cs
- RegistryKey.cs
- BuiltInExpr.cs
- DialogResultConverter.cs
- UnaryNode.cs
- GridEntryCollection.cs
- EditingContext.cs
- handlecollector.cs
- StorageModelBuildProvider.cs
- PasswordBoxAutomationPeer.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- NestedContainer.cs
- Int32CAMarshaler.cs
- PersonalizationStateInfo.cs
- AccessedThroughPropertyAttribute.cs
- GeneratedCodeAttribute.cs
- Vector3DAnimation.cs
- XmlNamedNodeMap.cs
- HtmlTextViewAdapter.cs
- SelectedDatesCollection.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- UniformGrid.cs
- DataSourceHelper.cs
- UndoUnit.cs
- XmlIlGenerator.cs
- XmlWhitespace.cs
- SafeLibraryHandle.cs
- DbConnectionPool.cs
- _CacheStreams.cs
- Int32AnimationBase.cs
- HttpRawResponse.cs
- StylusButtonCollection.cs
- InvalidEnumArgumentException.cs
- MetadataUtilsSmi.cs
- AliasExpr.cs
- followingsibling.cs
- TextTreeTextBlock.cs
- DataList.cs
- HyperLinkColumn.cs
- AsymmetricSignatureDeformatter.cs
- ObjectCloneHelper.cs
- ArraySet.cs
- PageContent.cs
- BitArray.cs
- UInt64Storage.cs
- DataColumnCollection.cs
- DtrList.cs
- NativeMethods.cs
- VerificationAttribute.cs
- DocumentStream.cs
- HtmlInputImage.cs
- ExternalCalls.cs
- ByteConverter.cs
- TdsParameterSetter.cs
- ScriptControlManager.cs
- ApplicationGesture.cs
- RawStylusInputCustomData.cs
- Win32SafeHandles.cs
- GridViewItemAutomationPeer.cs
- ChtmlLinkAdapter.cs
- Nullable.cs