Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SymbolEqualComparer.cs
- MessageEventSubscriptionService.cs
- UpdateManifestForBrowserApplication.cs
- EdmPropertyAttribute.cs
- _TLSstream.cs
- Compiler.cs
- PathSegmentCollection.cs
- CleanUpVirtualizedItemEventArgs.cs
- StringReader.cs
- ToolStripOverflowButton.cs
- ConnectionStringSettings.cs
- HighContrastHelper.cs
- AdornerPresentationContext.cs
- DomainConstraint.cs
- Pen.cs
- ProgressBarBrushConverter.cs
- ConstructorBuilder.cs
- DataProtection.cs
- PingOptions.cs
- DynamicValidatorEventArgs.cs
- CompilerLocalReference.cs
- MonitorWrapper.cs
- TableItemStyle.cs
- PanelStyle.cs
- InertiaRotationBehavior.cs
- webeventbuffer.cs
- PointAnimationUsingKeyFrames.cs
- mediaeventargs.cs
- SqlTopReducer.cs
- WebPartCollection.cs
- MouseButton.cs
- ToolStripContainerDesigner.cs
- TextHidden.cs
- StylusPointPropertyInfoDefaults.cs
- RangeBaseAutomationPeer.cs
- LassoHelper.cs
- FileLogRecordStream.cs
- NeutralResourcesLanguageAttribute.cs
- CreateUserErrorEventArgs.cs
- ConsoleKeyInfo.cs
- _SecureChannel.cs
- ChtmlTextWriter.cs
- SortQueryOperator.cs
- BufferBuilder.cs
- DebuggerService.cs
- Part.cs
- ProviderSettings.cs
- EntityCollectionChangedParams.cs
- PropertyMetadata.cs
- DependencyObjectValidator.cs
- ComponentDispatcher.cs
- PersonalizationState.cs
- DataRowView.cs
- ThreadStaticAttribute.cs
- IntegerValidatorAttribute.cs
- DataGridViewColumnTypeEditor.cs
- _SslState.cs
- BindingCompleteEventArgs.cs
- SQLMoney.cs
- WebCodeGenerator.cs
- SqlTrackingQuery.cs
- RenderData.cs
- ContentPresenter.cs
- KeyValuePair.cs
- LinkButton.cs
- clipboard.cs
- EndCreateSecurityTokenRequest.cs
- Window.cs
- MergeExecutor.cs
- BmpBitmapDecoder.cs
- ListCollectionView.cs
- LinearGradientBrush.cs
- ExtendedPropertyDescriptor.cs
- UrlPath.cs
- EdmComplexPropertyAttribute.cs
- GradientBrush.cs
- FunctionNode.cs
- HttpPostedFile.cs
- ApplicationCommands.cs
- MessageEnumerator.cs
- ObjectListItemCollection.cs
- ToolBarButtonClickEvent.cs
- OracleRowUpdatedEventArgs.cs
- DesignerActionUIStateChangeEventArgs.cs
- EqualityComparer.cs
- VectorConverter.cs
- ServiceProviders.cs
- HashCodeCombiner.cs
- ParserExtension.cs
- SmiEventSink.cs
- Pointer.cs
- ContentDefinition.cs
- XmlSchemaAnnotation.cs
- XMLSyntaxException.cs
- GridViewPageEventArgs.cs
- XPathDocumentNavigator.cs
- TextOptions.cs
- IIS7WorkerRequest.cs
- ConsumerConnectionPoint.cs
- ServerValidateEventArgs.cs