Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- configsystem.cs
- Label.cs
- CodeTypeReferenceCollection.cs
- ToolStripSeparator.cs
- WebPartConnectionsConfigureVerb.cs
- XmlLoader.cs
- WpfXamlLoader.cs
- TableSectionStyle.cs
- ContextStaticAttribute.cs
- AsyncPostBackErrorEventArgs.cs
- InputQueue.cs
- ProcessHostConfigUtils.cs
- DiscoveryClientBindingElement.cs
- ObjectAnimationUsingKeyFrames.cs
- ArrayElementGridEntry.cs
- XPathDocumentNavigator.cs
- CallContext.cs
- SoundPlayer.cs
- ToolStripDropDownClosingEventArgs.cs
- UrlPath.cs
- indexingfiltermarshaler.cs
- Underline.cs
- sqlmetadatafactory.cs
- ValueOfAction.cs
- ADMembershipProvider.cs
- WindowsStartMenu.cs
- BaseDataBoundControl.cs
- ScaleTransform.cs
- MultilineStringConverter.cs
- CodeConstructor.cs
- DeploymentExceptionMapper.cs
- XmlSerializerAssemblyAttribute.cs
- XmlMapping.cs
- InternalConfigRoot.cs
- RequestNavigateEventArgs.cs
- IndexedString.cs
- DBNull.cs
- FileUpload.cs
- ClientCultureInfo.cs
- XmlUtil.cs
- dsa.cs
- SettingsBindableAttribute.cs
- RegexNode.cs
- MSHTMLHost.cs
- ValueSerializerAttribute.cs
- EntityClientCacheEntry.cs
- SafeRightsManagementPubHandle.cs
- GenericIdentity.cs
- EnumValidator.cs
- GroupBox.cs
- PropertyChangeTracker.cs
- CharacterMetrics.cs
- LassoSelectionBehavior.cs
- DispatcherTimer.cs
- SocketInformation.cs
- ObjectViewQueryResultData.cs
- ArgIterator.cs
- SelectingProviderEventArgs.cs
- GeometryModel3D.cs
- wmiprovider.cs
- SerializationInfoEnumerator.cs
- DeviceContext.cs
- StylusButtonCollection.cs
- FixedDSBuilder.cs
- DataTableClearEvent.cs
- AnnotationMap.cs
- OracleConnectionFactory.cs
- SQLDateTimeStorage.cs
- VariableQuery.cs
- LogicalExpr.cs
- DeflateStream.cs
- FormViewRow.cs
- ListSourceHelper.cs
- CollectionBase.cs
- ListViewCommandEventArgs.cs
- HashCodeCombiner.cs
- DataColumnMappingCollection.cs
- BaseParaClient.cs
- WebRequestModuleElementCollection.cs
- HMACRIPEMD160.cs
- SecurityTokenRequirement.cs
- ToolStripDropDownClosedEventArgs.cs
- SHA1Managed.cs
- SchemaTypeEmitter.cs
- newinstructionaction.cs
- DataRelationPropertyDescriptor.cs
- FixedTextContainer.cs
- SafeCryptoHandles.cs
- WebBrowserEvent.cs
- ProfilePropertySettings.cs
- ContentPathSegment.cs
- ClientSettings.cs
- DataView.cs
- HwndMouseInputProvider.cs
- AutomationProperties.cs
- DataRelation.cs
- SingleAnimationUsingKeyFrames.cs
- DataGridViewAccessibleObject.cs
- DataRecordInternal.cs
- FtpCachePolicyElement.cs