Code:
/ FX-1434 / FX-1434 / 1.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
- BinaryMethodMessage.cs
- DocumentOrderQuery.cs
- ILGenerator.cs
- CommandBindingCollection.cs
- BindStream.cs
- CatalogPart.cs
- CompareInfo.cs
- PowerEase.cs
- PointAnimationUsingPath.cs
- Visitors.cs
- ConditionalWeakTable.cs
- CollectionChange.cs
- PreservationFileWriter.cs
- ProcessHostFactoryHelper.cs
- ThicknessKeyFrameCollection.cs
- InputEventArgs.cs
- TabControl.cs
- OrderedEnumerableRowCollection.cs
- ContextBase.cs
- SmiGettersStream.cs
- TreeNode.cs
- NotifyCollectionChangedEventArgs.cs
- VectorKeyFrameCollection.cs
- MailAddressCollection.cs
- HttpPostedFile.cs
- XPathLexer.cs
- PasswordBox.cs
- TextReader.cs
- ToolStripItemTextRenderEventArgs.cs
- FileUtil.cs
- ListViewGroup.cs
- ObjectDataSourceStatusEventArgs.cs
- StrongNameIdentityPermission.cs
- TypeSemantics.cs
- PtsContext.cs
- TableLayoutStyleCollection.cs
- EmptyImpersonationContext.cs
- EventSetter.cs
- ServiceOperationListItemList.cs
- Tool.cs
- PointAnimationUsingKeyFrames.cs
- DataGridRow.cs
- PixelShader.cs
- APCustomTypeDescriptor.cs
- SafeRightsManagementSessionHandle.cs
- CallContext.cs
- ToolStripOverflowButton.cs
- OpenFileDialog.cs
- MarkupCompiler.cs
- _NegoState.cs
- SafeSecurityHandles.cs
- StringValueSerializer.cs
- CodeNamespaceImport.cs
- OuterGlowBitmapEffect.cs
- SecurityPolicySection.cs
- ActivityExecutorOperation.cs
- HttpListenerResponse.cs
- IEnumerable.cs
- Quaternion.cs
- Profiler.cs
- SpeechUI.cs
- FrameDimension.cs
- SelectionHighlightInfo.cs
- EntityContainerEmitter.cs
- MethodBuilder.cs
- AdvancedBindingPropertyDescriptor.cs
- SectionVisual.cs
- AttributeInfo.cs
- coordinatorfactory.cs
- SectionUpdates.cs
- SmtpNegotiateAuthenticationModule.cs
- RootBuilder.cs
- ListBox.cs
- Timer.cs
- Connector.cs
- SHA384.cs
- WmlValidationSummaryAdapter.cs
- DocumentPage.cs
- DbModificationClause.cs
- FaultDesigner.cs
- MailAddress.cs
- ButtonBase.cs
- IPGlobalProperties.cs
- ScopeCollection.cs
- FormsAuthenticationEventArgs.cs
- QueryContinueDragEventArgs.cs
- Button.cs
- JournalEntryListConverter.cs
- EditableTreeList.cs
- ImmutableObjectAttribute.cs
- Descriptor.cs
- EllipticalNodeOperations.cs
- OutputScope.cs
- HttpValueCollection.cs
- ByteAnimation.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- TypeSystem.cs
- DebugView.cs
- ValidationError.cs
- EntityConnectionStringBuilderItem.cs