Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MethodExpr.cs
- OdbcConnectionOpen.cs
- TextFormattingConverter.cs
- ProtocolsConfigurationEntry.cs
- BamlTreeMap.cs
- MenuScrollingVisibilityConverter.cs
- HeaderedContentControl.cs
- ComplexBindingPropertiesAttribute.cs
- ShapingWorkspace.cs
- SynchronousChannelMergeEnumerator.cs
- Registry.cs
- ComNativeDescriptor.cs
- CommonObjectSecurity.cs
- EdgeProfileValidation.cs
- ModelItemCollectionImpl.cs
- InheritanceAttribute.cs
- ExpressionsCollectionEditor.cs
- InvokePattern.cs
- PerformanceCounterManager.cs
- CodeTypeParameter.cs
- WsdlBuildProvider.cs
- BindingMemberInfo.cs
- RuntimeHelpers.cs
- Suspend.cs
- NativeMethods.cs
- DBDataPermission.cs
- CancellationToken.cs
- EndpointConfigContainer.cs
- LookupBindingPropertiesAttribute.cs
- UICuesEvent.cs
- LinkedList.cs
- BypassElement.cs
- XmlDictionaryWriter.cs
- TranslateTransform.cs
- TextBoxBase.cs
- TextLineBreak.cs
- PolyLineSegment.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- SchemaNames.cs
- View.cs
- Triangle.cs
- _PooledStream.cs
- SafeCryptoHandles.cs
- SqlDataSourceCache.cs
- MD5.cs
- KeyValueConfigurationCollection.cs
- Registry.cs
- ObjectFullSpanRewriter.cs
- Point4D.cs
- DisplayMemberTemplateSelector.cs
- NotifyParentPropertyAttribute.cs
- WrappedIUnknown.cs
- OletxCommittableTransaction.cs
- TouchesCapturedWithinProperty.cs
- BooleanStorage.cs
- SafeProcessHandle.cs
- _AutoWebProxyScriptEngine.cs
- TabPage.cs
- MdImport.cs
- TableItemPattern.cs
- DomainUpDown.cs
- HttpStaticObjectsCollectionWrapper.cs
- TypeUnloadedException.cs
- BindingEditor.xaml.cs
- ThicknessConverter.cs
- TextTrailingWordEllipsis.cs
- SqlDataAdapter.cs
- ScalarOps.cs
- ClientRuntimeConfig.cs
- SafeEventLogWriteHandle.cs
- ComponentDispatcher.cs
- Ipv6Element.cs
- Site.cs
- PriorityItem.cs
- Utils.cs
- HtmlAnchor.cs
- AnimatedTypeHelpers.cs
- SoapFormatterSinks.cs
- SqlDataSourceStatusEventArgs.cs
- CompressionTransform.cs
- AsymmetricAlgorithm.cs
- CheckBoxBaseAdapter.cs
- SafeProcessHandle.cs
- _SSPIWrapper.cs
- QilParameter.cs
- ListBindingConverter.cs
- WebPartEditorCancelVerb.cs
- PersonalizablePropertyEntry.cs
- Int32AnimationUsingKeyFrames.cs
- SqlProfileProvider.cs
- ZipArchive.cs
- ChtmlSelectionListAdapter.cs
- ManagedCodeMarkers.cs
- XmlSerializerVersionAttribute.cs
- XsltArgumentList.cs
- WebPageTraceListener.cs
- ProviderIncompatibleException.cs
- GridViewRowPresenterBase.cs
- RootProfilePropertySettingsCollection.cs
- XmlCodeExporter.cs