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
- ComponentCollection.cs
- COM2TypeInfoProcessor.cs
- CompilerTypeWithParams.cs
- Message.cs
- newinstructionaction.cs
- MemberRestriction.cs
- LambdaCompiler.Generated.cs
- QueryContinueDragEvent.cs
- XmlSignatureProperties.cs
- SplashScreen.cs
- DataControlButton.cs
- TcpChannelListener.cs
- EdmEntityTypeAttribute.cs
- DateTimeValueSerializerContext.cs
- ToolStripContentPanel.cs
- SqlLiftIndependentRowExpressions.cs
- StrokeCollection2.cs
- ErasingStroke.cs
- TimelineGroup.cs
- CodeAccessSecurityEngine.cs
- BindingsCollection.cs
- WebPartDisplayMode.cs
- SslStream.cs
- ActivityWithResultConverter.cs
- SqlConnectionFactory.cs
- RSACryptoServiceProvider.cs
- CompositeFontParser.cs
- QuaternionIndependentAnimationStorage.cs
- CommentEmitter.cs
- SHA1Managed.cs
- XpsThumbnail.cs
- TrackingParticipant.cs
- SqlDependencyListener.cs
- SafeNativeMethodsOther.cs
- FileCodeGroup.cs
- UserInitiatedNavigationPermission.cs
- MoveSizeWinEventHandler.cs
- LayoutInformation.cs
- RegexFCD.cs
- LayoutEditorPart.cs
- XmlHelper.cs
- X509CertificateClaimSet.cs
- DetailsView.cs
- TypeResolvingOptionsAttribute.cs
- PersonalizationDictionary.cs
- WorkflowMarkupSerializationProvider.cs
- ResourceExpression.cs
- Translator.cs
- ExpressionDumper.cs
- MobileUserControl.cs
- InvariantComparer.cs
- SerializableAttribute.cs
- Timeline.cs
- CqlLexerHelpers.cs
- NotificationContext.cs
- IndexingContentUnit.cs
- securitycriticaldataClass.cs
- ToolStripPanelCell.cs
- SchemaInfo.cs
- SmtpMail.cs
- WindowCollection.cs
- FlowLayoutPanelDesigner.cs
- XhtmlTextWriter.cs
- Matrix.cs
- PreviewPrintController.cs
- FontCollection.cs
- FileInfo.cs
- AssemblyGen.cs
- CardSpacePolicyElement.cs
- GeometryModel3D.cs
- RequestQueryProcessor.cs
- WhitespaceRule.cs
- TextControlDesigner.cs
- BeginStoryboard.cs
- AbstractSvcMapFileLoader.cs
- X509ChainElement.cs
- LoadItemsEventArgs.cs
- GeneratedCodeAttribute.cs
- DefaultWorkflowSchedulerService.cs
- GifBitmapDecoder.cs
- FormatException.cs
- HttpRawResponse.cs
- DataGridRelationshipRow.cs
- OdbcCommandBuilder.cs
- XmlTextAttribute.cs
- Rectangle.cs
- TextTreeUndo.cs
- Domain.cs
- NativeMethods.cs
- Brushes.cs
- XPathDocumentIterator.cs
- ThreadExceptionEvent.cs
- AppModelKnownContentFactory.cs
- AnimatedTypeHelpers.cs
- AssemblyLoader.cs
- SafeProcessHandle.cs
- TrackingMemoryStreamFactory.cs
- InstanceHandle.cs
- PageStatePersister.cs
- HelloOperationAsyncResult.cs