Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. //------------------------------------------------------------------------------ ///// Gets a value indicating whether the system default font supports the character /// set required for the requested input language. /// ///// 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./// 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
- TreeViewEvent.cs
- AuthorizationRule.cs
- QuaternionAnimation.cs
- WebConfigurationHostFileChange.cs
- SelectingProviderEventArgs.cs
- ToolStripButton.cs
- CompileLiteralTextParser.cs
- TimelineClockCollection.cs
- TargetConverter.cs
- unsafenativemethodsother.cs
- DBParameter.cs
- UserControl.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- XsdCachingReader.cs
- MobileControlPersister.cs
- BrowserCapabilitiesCompiler.cs
- FolderBrowserDialogDesigner.cs
- MutexSecurity.cs
- NetCodeGroup.cs
- StrongNameUtility.cs
- SQLBytesStorage.cs
- SequentialWorkflowRootDesigner.cs
- XmlException.cs
- arc.cs
- ImageSource.cs
- XmlTypeAttribute.cs
- PaintEvent.cs
- QueryStringParameter.cs
- ArraySortHelper.cs
- InvalidPropValue.cs
- SignatureHelper.cs
- RepeatButton.cs
- UriScheme.cs
- KnownColorTable.cs
- BaseTemplateBuildProvider.cs
- DataSourceCache.cs
- SecurityKeyIdentifier.cs
- VariableBinder.cs
- EntityDataSourceWrapperCollection.cs
- DayRenderEvent.cs
- ListViewAutomationPeer.cs
- BufferedGraphicsContext.cs
- CachedFontFace.cs
- FileController.cs
- XmlSchemaExporter.cs
- IntSecurity.cs
- CommandBinding.cs
- XPathSelfQuery.cs
- GridLength.cs
- ToolStripItemClickedEventArgs.cs
- HotCommands.cs
- ObjectQueryExecutionPlan.cs
- AesCryptoServiceProvider.cs
- KnownIds.cs
- SettingsPropertyWrongTypeException.cs
- VariableBinder.cs
- ClientApiGenerator.cs
- XPathDocumentNavigator.cs
- MenuItem.cs
- PixelFormatConverter.cs
- RawStylusActions.cs
- MediaSystem.cs
- NotifyIcon.cs
- CountAggregationOperator.cs
- XmlSerializerAssemblyAttribute.cs
- ScopelessEnumAttribute.cs
- XamlTemplateSerializer.cs
- RecommendedAsConfigurableAttribute.cs
- ActiveXSite.cs
- MimeParameter.cs
- GregorianCalendar.cs
- WebResourceAttribute.cs
- RecordManager.cs
- CodeEventReferenceExpression.cs
- SQLInt16.cs
- TypeReference.cs
- SystemEvents.cs
- TrustLevel.cs
- FloaterBaseParaClient.cs
- ProtocolsConfigurationHandler.cs
- SimpleHandlerBuildProvider.cs
- LiteralControl.cs
- BindingGroup.cs
- DeleteWorkflowOwnerCommand.cs
- NotifyParentPropertyAttribute.cs
- DataIdProcessor.cs
- XamlTypeMapper.cs
- RowVisual.cs
- DataServiceProviderWrapper.cs
- InnerItemCollectionView.cs
- ProjectionCamera.cs
- TextBoxAutomationPeer.cs
- TypeListConverter.cs
- TextTreeExtractElementUndoUnit.cs
- LayoutEditorPart.cs
- RetrieveVirtualItemEventArgs.cs
- RelatedImageListAttribute.cs
- EncoderBestFitFallback.cs
- CodeAccessPermission.cs
- SQLRoleProvider.cs