Code:
/ DotNET / DotNET / 8.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
- CatalogZoneBase.cs
- HealthMonitoringSection.cs
- CustomAttributeSerializer.cs
- ContractsBCL.cs
- PropertyEntry.cs
- SubpageParaClient.cs
- DataGridViewImageCell.cs
- BitArray.cs
- SqlDependencyUtils.cs
- StartUpEventArgs.cs
- DocumentViewerAutomationPeer.cs
- ListViewSortEventArgs.cs
- InvokePattern.cs
- PropertyGeneratedEventArgs.cs
- ApplicationSettingsBase.cs
- EpmTargetTree.cs
- CqlIdentifiers.cs
- CorrelationService.cs
- Point3DIndependentAnimationStorage.cs
- ObjectDataProvider.cs
- HttpCookie.cs
- StylusEditingBehavior.cs
- TrustSection.cs
- CharacterMetrics.cs
- InputReportEventArgs.cs
- ContentHostHelper.cs
- FunctionQuery.cs
- ClientRoleProvider.cs
- SQLMembershipProvider.cs
- EmptyQuery.cs
- WebPartEditorCancelVerb.cs
- MethodToken.cs
- PolyQuadraticBezierSegment.cs
- UnknownBitmapEncoder.cs
- StyleBamlRecordReader.cs
- ControlPropertyNameConverter.cs
- JournalEntryListConverter.cs
- EnumUnknown.cs
- XmlElementCollection.cs
- FontClient.cs
- CryptoStream.cs
- _SSPIWrapper.cs
- DbProviderFactory.cs
- DragDeltaEventArgs.cs
- CheckBoxRenderer.cs
- Choices.cs
- IPPacketInformation.cs
- ProfileParameter.cs
- SortDescription.cs
- COM2TypeInfoProcessor.cs
- LinkConverter.cs
- MetadataPropertyAttribute.cs
- IDReferencePropertyAttribute.cs
- WindowsListViewGroupHelper.cs
- PrintSystemException.cs
- UserMapPath.cs
- NamedPipeWorkerProcess.cs
- PointCollection.cs
- ButtonColumn.cs
- InlinedAggregationOperatorEnumerator.cs
- ComplexType.cs
- LabelDesigner.cs
- ComplusEndpointConfigContainer.cs
- DataSvcMapFileSerializer.cs
- PackagingUtilities.cs
- JsonSerializer.cs
- InvalidWMPVersionException.cs
- arclist.cs
- xmlsaver.cs
- HttpProfileGroupBase.cs
- oledbmetadatacollectionnames.cs
- RegexCapture.cs
- InsufficientMemoryException.cs
- DataRow.cs
- CachingHintValidation.cs
- SiteOfOriginContainer.cs
- RbTree.cs
- CharacterHit.cs
- XmlDictionary.cs
- CellTreeSimplifier.cs
- ManifestResourceInfo.cs
- Camera.cs
- RepeatInfo.cs
- RectValueSerializer.cs
- TransportContext.cs
- EventsTab.cs
- XmlAttribute.cs
- EdmFunction.cs
- PropertyPath.cs
- ComponentEditorForm.cs
- WebFormDesignerActionService.cs
- SecureConversationServiceElement.cs
- Attributes.cs
- UInt16Converter.cs
- HtmlInputButton.cs
- TimelineClockCollection.cs
- CodeSubDirectory.cs
- DecoderFallback.cs
- ObjectDisposedException.cs
- ToolStripDropDownDesigner.cs