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
- ConfigXmlElement.cs
- SmtpFailedRecipientException.cs
- DtrList.cs
- RemoteWebConfigurationHost.cs
- updatecommandorderer.cs
- ComponentChangedEvent.cs
- SoapFault.cs
- SpellCheck.cs
- StaticTextPointer.cs
- OptimalTextSource.cs
- TemplateAction.cs
- ViewStateException.cs
- Operator.cs
- ToolTip.cs
- ProviderConnectionPointCollection.cs
- StubHelpers.cs
- JsonServiceDocumentSerializer.cs
- Enumerable.cs
- MultipleViewPattern.cs
- ActivationProxy.cs
- ComPlusContractBehavior.cs
- ConfigurationException.cs
- InkPresenterAutomationPeer.cs
- Padding.cs
- SendOperation.cs
- BufferedGenericXmlSecurityToken.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ZipIOBlockManager.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- PermissionSet.cs
- DataGridViewImageCell.cs
- ConfigurationException.cs
- ShapeTypeface.cs
- PrintPreviewControl.cs
- Translator.cs
- SystemParameters.cs
- CatalogPartCollection.cs
- DocumentGridContextMenu.cs
- Drawing.cs
- Delay.cs
- X509SecurityTokenProvider.cs
- DoubleLink.cs
- StreamBodyWriter.cs
- ManagedIStream.cs
- CodeDomConfigurationHandler.cs
- TextInfo.cs
- WebPartConnectionsDisconnectVerb.cs
- NumberAction.cs
- DecimalSumAggregationOperator.cs
- AddingNewEventArgs.cs
- COM2IDispatchConverter.cs
- HttpClientCertificate.cs
- ReadOnlyCollectionBase.cs
- ParentQuery.cs
- TdsRecordBufferSetter.cs
- TaskForm.cs
- MutexSecurity.cs
- HitTestDrawingContextWalker.cs
- MessageDecoder.cs
- ASCIIEncoding.cs
- TextDecorationCollection.cs
- RuntimeEnvironment.cs
- TextParagraphProperties.cs
- nulltextcontainer.cs
- CollectionChangedEventManager.cs
- ListItemCollection.cs
- ObjectMaterializedEventArgs.cs
- FrameworkContentElement.cs
- ImportDesigner.xaml.cs
- ThrowHelper.cs
- OrderByBuilder.cs
- UseLicense.cs
- XmlEncodedRawTextWriter.cs
- DrawingImage.cs
- BufferModesCollection.cs
- GuidelineSet.cs
- NameValueSectionHandler.cs
- CompiledQueryCacheEntry.cs
- TransformConverter.cs
- SqlVersion.cs
- InstalledFontCollection.cs
- TextEmbeddedObject.cs
- XmlAnyElementAttribute.cs
- _PooledStream.cs
- TypeReference.cs
- XmlILTrace.cs
- MetadataItem.cs
- SizeIndependentAnimationStorage.cs
- QueryNode.cs
- StatusBar.cs
- MatrixCamera.cs
- ActiveXContainer.cs
- CompressedStack.cs
- ContentElement.cs
- SecurityContextKeyIdentifierClause.cs
- Function.cs
- RotateTransform.cs
- FormatSettings.cs
- Literal.cs
- RelationshipEntry.cs