Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / InputLangChangeRequestEvent.cs / 1 / InputLangChangeRequestEvent.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 InputLanguageChangingEventArgs : CancelEventArgs { ////// Provides data for the ////// event. /// /// /// The requested input language. /// private readonly InputLanguage inputLanguage; ////// /// The locale of the requested input langugage. /// private readonly CultureInfo culture; ////// /// Set to true if the system default font supports the character /// set required for the requested input language. /// private readonly bool sysCharSet; /** * @deprecated Should use the new constructor instead. */ ////// /// /// public InputLanguageChangingEventArgs(CultureInfo culture, bool sysCharSet) { this.inputLanguage = System.Windows.Forms.InputLanguage.FromCulture(culture); this.culture = culture; this.sysCharSet = sysCharSet; } ////// Initializes a new instance of the ///class with the /// specified locale, character set, and acceptance. /// /// /// public InputLanguageChangingEventArgs(InputLanguage inputLanguage, bool sysCharSet) { if (inputLanguage == null) throw new ArgumentNullException("inputLanguage"); this.inputLanguage = inputLanguage; this.culture = inputLanguage.Culture; this.sysCharSet = sysCharSet; } ////// Initializes a new instance of the ///class with the /// specified input language, character set, and acceptance of /// a language change. /// /// /// public InputLanguage InputLanguage { get { return inputLanguage; } } ////// Gets the requested input language. /// ////// /// public CultureInfo Culture { get { return culture; } } ////// Gets the locale of the requested input language. /// ////// /// public bool SysCharSet { get { return sysCharSet; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Gets a value indicating whether the system default font supports the character /// set required for the requested input language. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridToolTip.cs
- PropertyToken.cs
- InArgument.cs
- BasePattern.cs
- validationstate.cs
- Page.cs
- SelectionProcessor.cs
- PerspectiveCamera.cs
- AddValidationError.cs
- securitycriticaldata.cs
- MiniMapControl.xaml.cs
- UIElementCollection.cs
- ListItemParagraph.cs
- UnsafePeerToPeerMethods.cs
- SmtpReplyReader.cs
- DashStyle.cs
- ViewGenerator.cs
- Vector3D.cs
- CustomAttributeBuilder.cs
- KeyProperty.cs
- IndexedString.cs
- XmlDataDocument.cs
- ExtendedPropertyDescriptor.cs
- SoapException.cs
- SrgsSubset.cs
- OutputCacheProfileCollection.cs
- MachineSettingsSection.cs
- FrameworkRichTextComposition.cs
- CollectionType.cs
- GregorianCalendar.cs
- DataObjectCopyingEventArgs.cs
- CompiledXpathExpr.cs
- ToolboxComponentsCreatedEventArgs.cs
- _UriSyntax.cs
- CollectionBase.cs
- AdornerHitTestResult.cs
- HuffModule.cs
- EastAsianLunisolarCalendar.cs
- PassportAuthentication.cs
- CornerRadius.cs
- ReadOnlyCollectionBase.cs
- ResourcePool.cs
- SqlClientWrapperSmiStream.cs
- XNodeNavigator.cs
- ILGenerator.cs
- control.ime.cs
- DataSourceCache.cs
- ClientRuntimeConfig.cs
- StyleBamlTreeBuilder.cs
- MailDefinition.cs
- ConfigurationStrings.cs
- HtmlObjectListAdapter.cs
- ExpressionReplacer.cs
- DataControlField.cs
- CFGGrammar.cs
- MultipleFilterMatchesException.cs
- IteratorDescriptor.cs
- GlyphRun.cs
- BindingContext.cs
- ListViewUpdatedEventArgs.cs
- DbConnectionOptions.cs
- GuidelineSet.cs
- AuthenticationServiceManager.cs
- FormViewRow.cs
- WrapperSecurityCommunicationObject.cs
- OdbcConnectionFactory.cs
- SinglePageViewer.cs
- RSACryptoServiceProvider.cs
- Comparer.cs
- LowerCaseStringConverter.cs
- MenuStrip.cs
- CatalogZoneBase.cs
- FixUp.cs
- XXXInfos.cs
- TypeGeneratedEventArgs.cs
- SafeBuffer.cs
- InlineCategoriesDocument.cs
- FloaterBaseParagraph.cs
- RadioButton.cs
- DashStyle.cs
- HierarchicalDataBoundControl.cs
- PropertySegmentSerializer.cs
- TreeNodeStyleCollection.cs
- Funcletizer.cs
- IPCCacheManager.cs
- _emptywebproxy.cs
- HandlerBase.cs
- IIS7WorkerRequest.cs
- DocumentPageView.cs
- SafeMILHandle.cs
- HebrewNumber.cs
- SectionRecord.cs
- Rule.cs
- SystemGatewayIPAddressInformation.cs
- ListView.cs
- XmlByteStreamWriter.cs
- HandleRef.cs
- OdbcParameterCollection.cs
- AssemblyCollection.cs
- SessionSwitchEventArgs.cs