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
- DependencyObject.cs
- ControlCollection.cs
- PerformanceCounterLib.cs
- DataGridViewCellValueEventArgs.cs
- Compilation.cs
- HttpVersion.cs
- ClockController.cs
- InputMethodStateChangeEventArgs.cs
- SecurityPermission.cs
- TimelineGroup.cs
- SmtpReplyReaderFactory.cs
- XPathScanner.cs
- TableAdapterManagerNameHandler.cs
- FileAuthorizationModule.cs
- columnmapkeybuilder.cs
- ProxyGenerationError.cs
- PeerCollaborationPermission.cs
- ControlFilterExpression.cs
- ProviderConnectionPoint.cs
- GregorianCalendarHelper.cs
- TraceHandlerErrorFormatter.cs
- InlineCollection.cs
- ViewManager.cs
- SerializationObjectManager.cs
- CellParagraph.cs
- OleDbError.cs
- ListBase.cs
- UnsafeMethods.cs
- DataSourceHelper.cs
- Proxy.cs
- LoadWorkflowByInstanceKeyCommand.cs
- ConnectionManagementElementCollection.cs
- GridErrorDlg.cs
- TaskFormBase.cs
- ExtendedPropertyCollection.cs
- Command.cs
- safePerfProviderHandle.cs
- TableParaClient.cs
- SqlServices.cs
- Comparer.cs
- CodeExpressionStatement.cs
- BCLDebug.cs
- BufferModeSettings.cs
- ObjectStateEntry.cs
- PolicyException.cs
- SendActivity.cs
- GeometryDrawing.cs
- ElementNotEnabledException.cs
- Freezable.cs
- QilBinary.cs
- COM2ExtendedUITypeEditor.cs
- CodeCastExpression.cs
- Gdiplus.cs
- DoubleLinkList.cs
- SafeFileMappingHandle.cs
- ComEventsMethod.cs
- ToolStripDropDownItem.cs
- XmlQueryContext.cs
- StringConverter.cs
- SqlError.cs
- DocumentSchemaValidator.cs
- LinearQuaternionKeyFrame.cs
- CounterSetInstance.cs
- GlyphCache.cs
- WebConfigurationManager.cs
- ElementInit.cs
- DiagnosticSection.cs
- TraceInternal.cs
- nulltextnavigator.cs
- CompleteWizardStep.cs
- PropertyToken.cs
- TypeInfo.cs
- ConfigurationValues.cs
- SQLDoubleStorage.cs
- SqlCacheDependencyDatabase.cs
- ConnectorRouter.cs
- LineVisual.cs
- TimeSpanMinutesConverter.cs
- MembershipValidatePasswordEventArgs.cs
- TableCellCollection.cs
- DrawingBrush.cs
- AnimationException.cs
- DesignerDataStoredProcedure.cs
- FormattedTextSymbols.cs
- basevalidator.cs
- Simplifier.cs
- Dynamic.cs
- DefaultParameterValueAttribute.cs
- SchemaTableColumn.cs
- RectAnimationUsingKeyFrames.cs
- DropAnimation.xaml.cs
- User.cs
- Command.cs
- ExpandCollapseProviderWrapper.cs
- DodSequenceMerge.cs
- PerformanceCounterPermission.cs
- __ComObject.cs
- Update.cs
- AssemblyAssociatedContentFileAttribute.cs
- OpenTypeLayout.cs