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
- Model3D.cs
- ContentPresenter.cs
- CalendarKeyboardHelper.cs
- StreamReader.cs
- Expressions.cs
- Vector3DAnimationUsingKeyFrames.cs
- ReturnValue.cs
- nulltextnavigator.cs
- XmlSchemaObjectTable.cs
- SubpageParaClient.cs
- FlowLayout.cs
- InvalidDocumentContentsException.cs
- TrackingDataItemValue.cs
- TemplateNameScope.cs
- DependencyPropertyAttribute.cs
- HelpFileFileNameEditor.cs
- RelatedCurrencyManager.cs
- CodeNamespaceCollection.cs
- WindowsGraphics.cs
- TimeManager.cs
- EventProvider.cs
- QilInvokeEarlyBound.cs
- StateMachineHelpers.cs
- cookiecontainer.cs
- ItemCheckedEvent.cs
- AsyncOperationManager.cs
- AmbientValueAttribute.cs
- ProviderUtil.cs
- IndexedString.cs
- ObjectKeyFrameCollection.cs
- Types.cs
- WebPartRestoreVerb.cs
- DistributedTransactionPermission.cs
- SQLBinary.cs
- StoreItemCollection.Loader.cs
- IDataContractSurrogate.cs
- GuidTagList.cs
- ColumnTypeConverter.cs
- CreateUserWizardStep.cs
- AnimationLayer.cs
- TextInfo.cs
- SQLInt32Storage.cs
- RepeaterCommandEventArgs.cs
- AdornerHitTestResult.cs
- OracleBoolean.cs
- QilIterator.cs
- WorkflowValidationFailedException.cs
- UnionExpr.cs
- MessageBox.cs
- TaskSchedulerException.cs
- PropertyBuilder.cs
- AspNetHostingPermission.cs
- BooleanToVisibilityConverter.cs
- ClassHandlersStore.cs
- GCHandleCookieTable.cs
- PointHitTestParameters.cs
- XpsTokenContext.cs
- Debug.cs
- XmlStrings.cs
- Soap12ProtocolReflector.cs
- TrustLevel.cs
- RightsManagementPermission.cs
- AssociationSetEnd.cs
- DesignerSerializationVisibilityAttribute.cs
- DataGridViewLinkCell.cs
- ArrayElementGridEntry.cs
- XmlHierarchyData.cs
- EditorZoneBase.cs
- SmtpCommands.cs
- EventEntry.cs
- AsyncPostBackTrigger.cs
- TemplateControlBuildProvider.cs
- ImpersonationContext.cs
- DllNotFoundException.cs
- LocatorBase.cs
- ToolStripAdornerWindowService.cs
- BrowserDefinitionCollection.cs
- SafeCoTaskMem.cs
- MemberListBinding.cs
- RolePrincipal.cs
- TranslateTransform3D.cs
- SoapSchemaExporter.cs
- ZoneLinkButton.cs
- LayoutSettings.cs
- DnsPermission.cs
- BoolExpression.cs
- AsynchronousChannel.cs
- ClientSettingsSection.cs
- MouseWheelEventArgs.cs
- WebZone.cs
- BuildProviderUtils.cs
- ReaderOutput.cs
- Thumb.cs
- NamespaceDisplayAutomationPeer.cs
- WindowsEditBoxRange.cs
- ShapeTypeface.cs
- Stream.cs
- LinkTarget.cs
- TypeConverterValueSerializer.cs
- _FtpDataStream.cs