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
- DataGridViewCellValidatingEventArgs.cs
- ScrollChrome.cs
- HttpListenerTimeoutManager.cs
- ObjectViewEntityCollectionData.cs
- RuntimeCompatibilityAttribute.cs
- FigureParaClient.cs
- SecurityHelper.cs
- ActiveXSite.cs
- invalidudtexception.cs
- TextEditorTyping.cs
- SourceSwitch.cs
- entityreference_tresulttype.cs
- CommandField.cs
- PostBackOptions.cs
- VirtualDirectoryMapping.cs
- SQlBooleanStorage.cs
- XmlSchemaComplexType.cs
- Trace.cs
- TextParagraphCache.cs
- WebPartChrome.cs
- WebBrowserHelper.cs
- DropTarget.cs
- DataFormats.cs
- GridViewHeaderRowPresenter.cs
- AndCondition.cs
- BaseValidator.cs
- WindowsFormsSynchronizationContext.cs
- ComboBoxRenderer.cs
- ScriptingScriptResourceHandlerSection.cs
- XmlResolver.cs
- PrintPreviewDialog.cs
- GradientStop.cs
- CatalogZoneBase.cs
- DrawingVisualDrawingContext.cs
- UIPropertyMetadata.cs
- BitmapDecoder.cs
- CodeTypeReferenceCollection.cs
- QueryOptionExpression.cs
- NameObjectCollectionBase.cs
- XPathParser.cs
- DataBoundControlHelper.cs
- COM2TypeInfoProcessor.cs
- OracleCommandSet.cs
- ToolStripPanelRow.cs
- Vector3DCollectionConverter.cs
- Point4DConverter.cs
- TCPListener.cs
- SortAction.cs
- BinaryObjectInfo.cs
- ErrorStyle.cs
- ReadContentAsBinaryHelper.cs
- LocatorBase.cs
- ComContractElement.cs
- PrtCap_Public.cs
- SystemUdpStatistics.cs
- ConfigurationLocation.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ProcessHost.cs
- DataGridItem.cs
- ChannelReliableSession.cs
- MetadataPropertyAttribute.cs
- BamlReader.cs
- Ops.cs
- UnaryNode.cs
- OdbcConnectionStringbuilder.cs
- DataMemberConverter.cs
- JsonEnumDataContract.cs
- WebPartEditorCancelVerb.cs
- BufferModesCollection.cs
- ReceiveActivityDesigner.cs
- InputQueue.cs
- RtfFormatStack.cs
- SecurityTokenSerializer.cs
- path.cs
- TextParagraphProperties.cs
- DetailsViewPagerRow.cs
- QilTypeChecker.cs
- SpStreamWrapper.cs
- ProgressBar.cs
- URI.cs
- PolicyLevel.cs
- FloaterParagraph.cs
- Propagator.Evaluator.cs
- StateMachineWorkflow.cs
- WebBrowser.cs
- _ListenerAsyncResult.cs
- ClientCultureInfo.cs
- TextContainerChangeEventArgs.cs
- CapabilitiesAssignment.cs
- _NegoStream.cs
- MenuTracker.cs
- PropertyGeneratedEventArgs.cs
- SystemException.cs
- MemberAccessException.cs
- KeySplineConverter.cs
- SqlConnectionStringBuilder.cs
- TableItemStyle.cs
- PageThemeCodeDomTreeGenerator.cs
- SymmetricSecurityProtocolFactory.cs
- __Filters.cs