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
- FontInfo.cs
- CSharpCodeProvider.cs
- SqlClientFactory.cs
- Rfc4050KeyFormatter.cs
- ToolboxItemFilterAttribute.cs
- QilReplaceVisitor.cs
- CalendarDay.cs
- IImplicitResourceProvider.cs
- DataGridViewTopRowAccessibleObject.cs
- ReadWriteObjectLock.cs
- ExtendedPropertyCollection.cs
- _UriSyntax.cs
- BufferedWebEventProvider.cs
- MissingManifestResourceException.cs
- DataGridCommandEventArgs.cs
- DbTypeMap.cs
- BitmapSourceSafeMILHandle.cs
- SafeMemoryMappedFileHandle.cs
- DataGridViewCellValueEventArgs.cs
- SafeMemoryMappedFileHandle.cs
- TimerElapsedEvenArgs.cs
- UnauthorizedWebPart.cs
- Privilege.cs
- SemanticResultValue.cs
- Vector3D.cs
- OSFeature.cs
- Table.cs
- CustomCredentialPolicy.cs
- SqlProcedureAttribute.cs
- RequestCacheManager.cs
- ViewStateModeByIdAttribute.cs
- SiteMapProvider.cs
- Formatter.cs
- WebResourceAttribute.cs
- ConcurrentBag.cs
- FontEditor.cs
- OneOf.cs
- XmlEntity.cs
- brushes.cs
- _TLSstream.cs
- EdgeModeValidation.cs
- ASCIIEncoding.cs
- _HeaderInfoTable.cs
- XmlSchemaObjectCollection.cs
- XmlStrings.cs
- CodeIndexerExpression.cs
- WebConvert.cs
- DropShadowBitmapEffect.cs
- util.cs
- CounterSet.cs
- BehaviorDragDropEventArgs.cs
- DbProviderFactories.cs
- DataSourceCacheDurationConverter.cs
- RegistryPermission.cs
- SHA512.cs
- Operator.cs
- ProtocolProfile.cs
- PrinterUnitConvert.cs
- HandlerBase.cs
- OdbcConnectionHandle.cs
- DataGridViewToolTip.cs
- ExtensionWindowResizeGrip.cs
- DiscriminatorMap.cs
- GZipDecoder.cs
- ProcessExitedException.cs
- StringAttributeCollection.cs
- CodeTypeReference.cs
- PassportIdentity.cs
- RootProfilePropertySettingsCollection.cs
- SQLInt64Storage.cs
- DataPagerFieldCollection.cs
- unsafenativemethodsother.cs
- sqlnorm.cs
- AppliesToBehaviorDecisionTable.cs
- Font.cs
- TableRowGroupCollection.cs
- RemotingHelper.cs
- DataControlCommands.cs
- LineServicesCallbacks.cs
- Matrix3DStack.cs
- FileFormatException.cs
- Baml2006ReaderContext.cs
- TcpConnectionPoolSettings.cs
- MasterPage.cs
- ObjectStateEntryDbDataRecord.cs
- MimePart.cs
- DataTableCollection.cs
- MailWebEventProvider.cs
- SchemaLookupTable.cs
- NamespaceDecl.cs
- SqlDataRecord.cs
- ClientBuildManager.cs
- ZipIOCentralDirectoryFileHeader.cs
- UnhandledExceptionEventArgs.cs
- AnnotationObservableCollection.cs
- DependencyProperty.cs
- VsPropertyGrid.cs
- ItemPager.cs
- InputLangChangeRequestEvent.cs
- OdbcEnvironment.cs