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
- Listen.cs
- InstanceDataCollectionCollection.cs
- MimeTypePropertyAttribute.cs
- MobileListItem.cs
- EditingContext.cs
- DataObjectCopyingEventArgs.cs
- ConfigurationStrings.cs
- CompilerInfo.cs
- SamlAuthenticationStatement.cs
- TraceLevelStore.cs
- ListSortDescriptionCollection.cs
- ButtonAutomationPeer.cs
- BuilderPropertyEntry.cs
- UpdatePanel.cs
- ADMembershipUser.cs
- MobileListItem.cs
- LogLogRecordHeader.cs
- PriorityQueue.cs
- coordinatorscratchpad.cs
- Array.cs
- AtlasWeb.Designer.cs
- EventMappingSettings.cs
- OleDbCommand.cs
- TemplateInstanceAttribute.cs
- ExpandSegmentCollection.cs
- BamlWriter.cs
- WorkflowStateRollbackService.cs
- FreeFormDragDropManager.cs
- XMLUtil.cs
- Types.cs
- PrincipalPermission.cs
- NaturalLanguageHyphenator.cs
- MasterPage.cs
- ContentTextAutomationPeer.cs
- DynamicPropertyReader.cs
- DefaultSection.cs
- HttpHandlerActionCollection.cs
- BitmapEffectRenderDataResource.cs
- MD5CryptoServiceProvider.cs
- DataObjectCopyingEventArgs.cs
- MultipartContentParser.cs
- TraceContext.cs
- ToolStripItemDesigner.cs
- DataGridViewComboBoxEditingControl.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- MaskedTextProvider.cs
- QueryContinueDragEventArgs.cs
- ResXBuildProvider.cs
- FixedTextBuilder.cs
- EtwProvider.cs
- DateTime.cs
- ChangeConflicts.cs
- Utility.cs
- RectAnimationClockResource.cs
- OdbcTransaction.cs
- SerializationBinder.cs
- Selector.cs
- WindowManager.cs
- SecondaryIndexDefinition.cs
- Panel.cs
- SqlTrackingQuery.cs
- StandardToolWindows.cs
- InputReferenceExpression.cs
- UniqueContractNameValidationBehavior.cs
- FileFormatException.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ValidatorCompatibilityHelper.cs
- HttpCapabilitiesBase.cs
- NonDualMessageSecurityOverHttpElement.cs
- PassportAuthenticationEventArgs.cs
- RotateTransform.cs
- BatchWriter.cs
- PasswordPropertyTextAttribute.cs
- RequiredFieldValidator.cs
- PathSegmentCollection.cs
- BooleanSwitch.cs
- ThicknessKeyFrameCollection.cs
- ByteKeyFrameCollection.cs
- ExecutionContext.cs
- CustomTrackingRecord.cs
- AmbiguousMatchException.cs
- TableColumn.cs
- ResourceIDHelper.cs
- DirectoryInfo.cs
- QilInvokeEarlyBound.cs
- ThicknessConverter.cs
- BamlTreeNode.cs
- SmiGettersStream.cs
- WebBrowserPermission.cs
- WinFormsComponentEditor.cs
- TypeSystemProvider.cs
- RandomNumberGenerator.cs
- DigitShape.cs
- DefinitionUpdate.cs
- WorkflowRuntime.cs
- Pen.cs
- HttpHandlerAction.cs
- AbandonedMutexException.cs
- DesignerDataRelationship.cs
- IgnoreDataMemberAttribute.cs