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
- SocketPermission.cs
- ToolboxService.cs
- MetadataItemEmitter.cs
- WebCategoryAttribute.cs
- PropertyDescriptorGridEntry.cs
- BindingEntityInfo.cs
- BitmapEffectOutputConnector.cs
- CalendarDay.cs
- MapPathBasedVirtualPathProvider.cs
- DataBindingExpressionBuilder.cs
- XmlMapping.cs
- SizeAnimationUsingKeyFrames.cs
- LocalBuilder.cs
- DateBoldEvent.cs
- SqlMethodCallConverter.cs
- KeyValueConfigurationCollection.cs
- SynchronizationFilter.cs
- ConfigXmlCDataSection.cs
- RefreshPropertiesAttribute.cs
- TypeSemantics.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- TimeSpanValidator.cs
- ConfigXmlSignificantWhitespace.cs
- SQLBoolean.cs
- HtmlGenericControl.cs
- TCPClient.cs
- RemoteX509AsymmetricSecurityKey.cs
- SchemaMapping.cs
- FlowDocumentView.cs
- ProjectionPlanCompiler.cs
- IsolatedStorageFilePermission.cs
- GcHandle.cs
- XmlUtil.cs
- AggregateException.cs
- TableProviderWrapper.cs
- OletxDependentTransaction.cs
- CollectionAdapters.cs
- FixedSOMTable.cs
- MenuItemCollection.cs
- PageContentAsyncResult.cs
- IgnoreSectionHandler.cs
- ContainerParaClient.cs
- SignatureHelper.cs
- ComponentChangedEvent.cs
- TreeWalker.cs
- ByteAnimation.cs
- CompilationLock.cs
- XmlSchemaParticle.cs
- ToolBar.cs
- EditModeSwitchButton.cs
- EntityCommand.cs
- MimeMultiPart.cs
- CustomAttributeSerializer.cs
- Typeface.cs
- ListViewItem.cs
- ColorConverter.cs
- MailAddressCollection.cs
- AppDomainInfo.cs
- WinFormsUtils.cs
- SqlBinder.cs
- MemberPath.cs
- HwndHost.cs
- CqlErrorHelper.cs
- UncommonField.cs
- WebInvokeAttribute.cs
- DataObjectEventArgs.cs
- TypeListConverter.cs
- MenuRendererStandards.cs
- CodeCommentStatementCollection.cs
- UdpDiscoveryEndpoint.cs
- UInt32Converter.cs
- unsafenativemethodsother.cs
- HyperlinkAutomationPeer.cs
- ApplicationCommands.cs
- SoapHeader.cs
- ResourceReferenceExpressionConverter.cs
- ItemsChangedEventArgs.cs
- StylusSystemGestureEventArgs.cs
- TraceListener.cs
- ValidationContext.cs
- QilTernary.cs
- RSAOAEPKeyExchangeDeformatter.cs
- NativeMethods.cs
- HttpCacheVary.cs
- TextComposition.cs
- ScriptResourceHandler.cs
- ParseElementCollection.cs
- RegexStringValidator.cs
- ListViewItemMouseHoverEvent.cs
- IFlowDocumentViewer.cs
- UIElementCollection.cs
- Math.cs
- CodeArrayIndexerExpression.cs
- CompressedStack.cs
- Queue.cs
- ToolStripRenderer.cs
- SqlCacheDependency.cs
- AtomicFile.cs
- PKCS1MaskGenerationMethod.cs
- ParallelDesigner.xaml.cs