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
- LeafCellTreeNode.cs
- CodeThrowExceptionStatement.cs
- Image.cs
- MasterPage.cs
- WebPartConnectionsCancelVerb.cs
- Oid.cs
- FontInfo.cs
- CellNormalizer.cs
- SemanticResultKey.cs
- ObjectDisposedException.cs
- FreezableDefaultValueFactory.cs
- ConfigurationSettings.cs
- EncryptedKeyIdentifierClause.cs
- WS2007FederationHttpBindingElement.cs
- ListViewCommandEventArgs.cs
- SqlEnums.cs
- Wizard.cs
- DoubleLinkList.cs
- AppliesToBehaviorDecisionTable.cs
- EmptyElement.cs
- DataGrid.cs
- StatusBarItemAutomationPeer.cs
- GACIdentityPermission.cs
- SystemIPGlobalStatistics.cs
- DateBoldEvent.cs
- HtmlEmptyTagControlBuilder.cs
- CompressEmulationStream.cs
- WebConfigurationManager.cs
- ReflectionHelper.cs
- SqlGenericUtil.cs
- __ConsoleStream.cs
- CollectionDataContractAttribute.cs
- MLangCodePageEncoding.cs
- ToolStripStatusLabel.cs
- SqlClientWrapperSmiStream.cs
- HyperLinkDataBindingHandler.cs
- RectangleGeometry.cs
- BamlLocalizationDictionary.cs
- ConstrainedDataObject.cs
- EdmSchemaError.cs
- ExtendedPropertyCollection.cs
- AuthorizationRuleCollection.cs
- PackagePart.cs
- PackageRelationshipSelector.cs
- ApplicationDirectoryMembershipCondition.cs
- ListControlBoundActionList.cs
- COSERVERINFO.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- HierarchicalDataBoundControlAdapter.cs
- BoundingRectTracker.cs
- XPathItem.cs
- ClientTargetSection.cs
- SatelliteContractVersionAttribute.cs
- PartitionResolver.cs
- WindowsEditBoxRange.cs
- MaskInputRejectedEventArgs.cs
- IndexedDataBuffer.cs
- FocusChangedEventArgs.cs
- DelegatingTypeDescriptionProvider.cs
- DataGridViewRowConverter.cs
- IfAction.cs
- ColumnMapProcessor.cs
- TextViewDesigner.cs
- ConfigXmlElement.cs
- XDeferredAxisSource.cs
- initElementDictionary.cs
- NetDispatcherFaultException.cs
- SspiNegotiationTokenAuthenticatorState.cs
- CompilationUtil.cs
- SourceChangedEventArgs.cs
- _KerberosClient.cs
- NavigationExpr.cs
- WsatAdminException.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- GeometryHitTestParameters.cs
- AesManaged.cs
- ReflectionTypeLoadException.cs
- MessageQueueException.cs
- DLinqAssociationProvider.cs
- BasicHttpSecurityMode.cs
- ToolStripEditorManager.cs
- UserControlDocumentDesigner.cs
- HttpHandler.cs
- WebPartManager.cs
- VirtualDirectoryMappingCollection.cs
- RawStylusSystemGestureInputReport.cs
- Types.cs
- DBDataPermission.cs
- storepermissionattribute.cs
- WindowsListViewGroup.cs
- TdsParserStateObject.cs
- GridViewSortEventArgs.cs
- EntityTransaction.cs
- OSFeature.cs
- DllNotFoundException.cs
- StateManagedCollection.cs
- recordstatescratchpad.cs
- RelatedImageListAttribute.cs
- BooleanFunctions.cs
- Timer.cs