Code:
/ 4.0 / 4.0 / 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. /// ///// 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
- MenuAutomationPeer.cs
- ComponentDispatcherThread.cs
- RadioButton.cs
- Command.cs
- WebPartPersonalization.cs
- StringSource.cs
- PropertyDescriptorComparer.cs
- ColumnTypeConverter.cs
- PackWebRequest.cs
- DocComment.cs
- PaperSize.cs
- SortedList.cs
- MarkupWriter.cs
- ToolStripContentPanelRenderEventArgs.cs
- PenCursorManager.cs
- GroupBox.cs
- DynamicActionMessageFilter.cs
- CompilerScope.cs
- _StreamFramer.cs
- Receive.cs
- DataColumnSelectionConverter.cs
- MatcherBuilder.cs
- DefaultValueAttribute.cs
- VectorAnimation.cs
- PackageProperties.cs
- DocumentViewerBase.cs
- IPipelineRuntime.cs
- Currency.cs
- MetafileHeaderWmf.cs
- DoubleAverageAggregationOperator.cs
- cookieexception.cs
- UserControlAutomationPeer.cs
- TargetException.cs
- ExpressionVisitor.cs
- IApplicationTrustManager.cs
- DockAndAnchorLayout.cs
- OperandQuery.cs
- MDIWindowDialog.cs
- StackOverflowException.cs
- Formatter.cs
- DataControlPagerLinkButton.cs
- BaseDataListDesigner.cs
- Console.cs
- GroupStyle.cs
- CheckoutException.cs
- DBAsyncResult.cs
- DateTimeConstantAttribute.cs
- SymbolPair.cs
- TimeSpanFormat.cs
- ClientScriptManager.cs
- PropertyChangeTracker.cs
- _SSPISessionCache.cs
- xmlglyphRunInfo.cs
- MemoryFailPoint.cs
- ResourceProviderFactory.cs
- DocComment.cs
- ExtentCqlBlock.cs
- ShapingEngine.cs
- SchemaInfo.cs
- SourceFileBuildProvider.cs
- PerformanceCounterPermissionEntryCollection.cs
- SQLDouble.cs
- TraceEventCache.cs
- AsyncInvokeContext.cs
- ListView.cs
- SizeChangedInfo.cs
- WeakReference.cs
- DictionarySurrogate.cs
- TaskFactory.cs
- WindowsGrip.cs
- MemberMaps.cs
- CursorConverter.cs
- DecimalConstantAttribute.cs
- CursorInteropHelper.cs
- CompoundFileIOPermission.cs
- WebPartExportVerb.cs
- JoinTreeSlot.cs
- Error.cs
- ProfilePropertyNameValidator.cs
- CaseInsensitiveComparer.cs
- XmlArrayItemAttribute.cs
- XmlCountingReader.cs
- ScriptRegistrationManager.cs
- DbConnectionStringCommon.cs
- StringResourceManager.cs
- SubMenuStyleCollection.cs
- TextTreeUndo.cs
- BulletChrome.cs
- RelatedCurrencyManager.cs
- RuntimeIdentifierPropertyAttribute.cs
- RtfToken.cs
- ExpandedWrapper.cs
- FastEncoderWindow.cs
- RijndaelManagedTransform.cs
- MetadataArtifactLoaderFile.cs
- AssociationTypeEmitter.cs
- ContentPosition.cs
- TextDecorationCollectionConverter.cs
- MatrixCamera.cs
- MetadataWorkspace.cs