Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PreviewKeyDownEventArgs.cs
- FontUnit.cs
- FunctionImportMapping.cs
- TextHidden.cs
- FilteredSchemaElementLookUpTable.cs
- WmfPlaceableFileHeader.cs
- TemplateBamlTreeBuilder.cs
- WebServiceReceiveDesigner.cs
- WindowsStatic.cs
- TemplateControlCodeDomTreeGenerator.cs
- ObjRef.cs
- ObjectConverter.cs
- ActiveXSite.cs
- WrappedReader.cs
- oledbmetadatacollectionnames.cs
- ComPlusSynchronizationContext.cs
- WaitForChangedResult.cs
- AnnotationAdorner.cs
- PointLight.cs
- MenuItem.cs
- SafeFileHandle.cs
- WebResourceAttribute.cs
- SchemaTableColumn.cs
- CheckBoxField.cs
- DrawListViewColumnHeaderEventArgs.cs
- BooleanFacetDescriptionElement.cs
- RuntimeConfig.cs
- PageFunction.cs
- RemotingException.cs
- StyleBamlTreeBuilder.cs
- RangeValidator.cs
- _ProxyRegBlob.cs
- CommonRemoteMemoryBlock.cs
- EntityDataSourceWrapperCollection.cs
- EntityDataSourceMemberPath.cs
- IListConverters.cs
- LoadWorkflowAsyncResult.cs
- OciEnlistContext.cs
- AutomationPeer.cs
- PostBackOptions.cs
- RestClientProxyHandler.cs
- UrlRoutingHandler.cs
- ClientFormsIdentity.cs
- AnnotationResourceCollection.cs
- WeakRefEnumerator.cs
- MultilineStringConverter.cs
- IPHostEntry.cs
- AppDomainManager.cs
- HttpCachePolicy.cs
- ProcessHostConfigUtils.cs
- SchemaImporter.cs
- Byte.cs
- EncryptedData.cs
- AddInAttribute.cs
- TableRowGroup.cs
- ShaperBuffers.cs
- AndCondition.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- NonBatchDirectoryCompiler.cs
- SR.Designer.cs
- TdsParserSessionPool.cs
- RuleRefElement.cs
- BulletedListEventArgs.cs
- MetadataPropertyvalue.cs
- GetPageCompletedEventArgs.cs
- XmlDataContract.cs
- SessionStateContainer.cs
- ContentHostHelper.cs
- Empty.cs
- Journaling.cs
- XmlElement.cs
- HashCoreRequest.cs
- WebUtil.cs
- ApplicationHost.cs
- StateMachineAction.cs
- DataGridTableCollection.cs
- CopyCodeAction.cs
- WindowInteropHelper.cs
- ButtonRenderer.cs
- SignatureConfirmationElement.cs
- HtmlTextViewAdapter.cs
- ThemeInfoAttribute.cs
- TokenBasedSet.cs
- SingleAnimationUsingKeyFrames.cs
- CompilerInfo.cs
- LoginView.cs
- HttpHandlersSection.cs
- ToolStripControlHost.cs
- ImmutableClientRuntime.cs
- FieldToken.cs
- SqlDataSourceCustomCommandPanel.cs
- ConfigurationPermission.cs
- cryptoapiTransform.cs
- WindowsListViewGroup.cs
- Identifier.cs
- ThreadStartException.cs
- ElementHostPropertyMap.cs
- ProcessHostConfigUtils.cs
- DBDataPermissionAttribute.cs
- SoundPlayerAction.cs