Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / InputLangChangeRequestEvent.cs / 1305376 / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StrokeCollectionConverter.cs
- MenuScrollingVisibilityConverter.cs
- CaseStatementSlot.cs
- StringCollectionMarkupSerializer.cs
- WebPartZone.cs
- WindowsRichEdit.cs
- KeyInfo.cs
- InvalidateEvent.cs
- PresentationAppDomainManager.cs
- ResXResourceWriter.cs
- AllMembershipCondition.cs
- InterleavedZipPartStream.cs
- WMIGenerator.cs
- metadatamappinghashervisitor.cs
- GroupItem.cs
- SafeEventHandle.cs
- EntityContainer.cs
- XmlSortKeyAccumulator.cs
- Types.cs
- PropertyItemInternal.cs
- FacetChecker.cs
- GeneratedCodeAttribute.cs
- XmlCodeExporter.cs
- SymLanguageVendor.cs
- MatrixAnimationUsingPath.cs
- StateDesigner.cs
- RawAppCommandInputReport.cs
- BlurEffect.cs
- _Connection.cs
- GridViewHeaderRowPresenter.cs
- StreamGeometryContext.cs
- PropertySourceInfo.cs
- ResourcesBuildProvider.cs
- UnsettableComboBox.cs
- MemoryStream.cs
- UriParserTemplates.cs
- SplitterDesigner.cs
- BasePattern.cs
- ISFClipboardData.cs
- CompositeFontFamily.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- MemberAccessException.cs
- StringFunctions.cs
- DescriptionAttribute.cs
- AnimationException.cs
- DockProviderWrapper.cs
- ReadOnlyDictionary.cs
- Model3D.cs
- Simplifier.cs
- GraphicsContext.cs
- HybridDictionary.cs
- CollectionCodeDomSerializer.cs
- XmlCodeExporter.cs
- DataGridHeaderBorder.cs
- AnnotationComponentChooser.cs
- ForeignKeyFactory.cs
- HitTestDrawingContextWalker.cs
- ModelItem.cs
- LinqDataSourceView.cs
- Scanner.cs
- XmlMemberMapping.cs
- ArrayConverter.cs
- RenderData.cs
- EndOfStreamException.cs
- TextContainerHelper.cs
- IEnumerable.cs
- VScrollProperties.cs
- WebPartDisplayMode.cs
- SharedPersonalizationStateInfo.cs
- HtmlElementEventArgs.cs
- ForceCopyBuildProvider.cs
- ColumnMapProcessor.cs
- ExceptionRoutedEventArgs.cs
- SymLanguageType.cs
- PageCatalogPart.cs
- WorkflowTransactionOptions.cs
- CustomAttribute.cs
- FixedTextSelectionProcessor.cs
- AlternationConverter.cs
- OptimisticConcurrencyException.cs
- ThreadInterruptedException.cs
- StyleSheetDesigner.cs
- RegexTree.cs
- FixedLineResult.cs
- MarshalDirectiveException.cs
- InsufficientMemoryException.cs
- IListConverters.cs
- DrawingContextDrawingContextWalker.cs
- DeferrableContent.cs
- TreeNodeStyle.cs
- DateTimeFormatInfo.cs
- SpeechUI.cs
- BinaryObjectReader.cs
- XmlILModule.cs
- VisualTreeUtils.cs
- AnimationStorage.cs
- OverlappedAsyncResult.cs
- RecognizedWordUnit.cs
- XamlValidatingReader.cs
- SelectionUIService.cs