Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- SafeNativeMethods.cs
- GPStream.cs
- ViewLoader.cs
- SimpleType.cs
- MachineKeySection.cs
- Resources.Designer.cs
- BooleanToVisibilityConverter.cs
- UICuesEvent.cs
- DataKey.cs
- StyleBamlRecordReader.cs
- SafePEFileHandle.cs
- HwndPanningFeedback.cs
- Encoding.cs
- DataGridRowAutomationPeer.cs
- GlyphElement.cs
- DisplayMemberTemplateSelector.cs
- AsyncDataRequest.cs
- PersonalizationProviderCollection.cs
- ChannelSinkStacks.cs
- XmlBaseWriter.cs
- TextUtf8RawTextWriter.cs
- ComponentResourceKey.cs
- WSSecureConversationFeb2005.cs
- SatelliteContractVersionAttribute.cs
- OleDbError.cs
- DocumentPageHost.cs
- XmlConvert.cs
- StyleCollection.cs
- WmfPlaceableFileHeader.cs
- RuntimeCompatibilityAttribute.cs
- _Rfc2616CacheValidators.cs
- DataControlLinkButton.cs
- LogPolicy.cs
- WebPartZoneBase.cs
- AutoCompleteStringCollection.cs
- EllipticalNodeOperations.cs
- TextTreeExtractElementUndoUnit.cs
- __Filters.cs
- PasswordTextNavigator.cs
- SoapIncludeAttribute.cs
- XamlClipboardData.cs
- ProcessModuleCollection.cs
- ServiceDeploymentInfo.cs
- CfgSemanticTag.cs
- XmlIgnoreAttribute.cs
- CurrentTimeZone.cs
- GeometryModel3D.cs
- TextReturnReader.cs
- LambdaCompiler.Lambda.cs
- LightweightEntityWrapper.cs
- ConfigXmlCDataSection.cs
- XmlIlGenerator.cs
- TreeViewDesigner.cs
- Base64Stream.cs
- AutomationPropertyChangedEventArgs.cs
- RawStylusInput.cs
- CheckBox.cs
- DupHandleConnectionReader.cs
- ObjectResult.cs
- FtpWebRequest.cs
- Renderer.cs
- BindingExpressionBase.cs
- indexingfiltermarshaler.cs
- DateTimeValueSerializerContext.cs
- ConfigDefinitionUpdates.cs
- InfoCardService.cs
- ToolStripLocationCancelEventArgs.cs
- ListViewCancelEventArgs.cs
- RegexCaptureCollection.cs
- SoapCodeExporter.cs
- ControlAdapter.cs
- ConstructorExpr.cs
- BindingMemberInfo.cs
- EnumValAlphaComparer.cs
- KeyValuePair.cs
- OleDbParameter.cs
- newinstructionaction.cs
- FacetValues.cs
- FormsAuthentication.cs
- PageParser.cs
- SecurityTokenSerializer.cs
- DynamicValidatorEventArgs.cs
- TextAction.cs
- ObjectRef.cs
- SizeValueSerializer.cs
- EntityDataSourceStatementEditor.cs
- NoResizeHandleGlyph.cs
- EventRecordWrittenEventArgs.cs
- Encoding.cs
- MutexSecurity.cs
- DefaultParameterValueAttribute.cs
- ZipIOCentralDirectoryBlock.cs
- CallbackHandler.cs
- CharacterShapingProperties.cs
- BooleanAnimationBase.cs
- DomainLiteralReader.cs
- HitTestWithPointDrawingContextWalker.cs
- ICspAsymmetricAlgorithm.cs
- XpsFont.cs
- PermissionSetTriple.cs