Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- RenderDataDrawingContext.cs
- ShapingEngine.cs
- ClientFormsIdentity.cs
- XmlTextAttribute.cs
- Rijndael.cs
- ComponentChangingEvent.cs
- MultipleViewProviderWrapper.cs
- EntityDescriptor.cs
- ClassicBorderDecorator.cs
- DbDeleteCommandTree.cs
- PaginationProgressEventArgs.cs
- DataObjectMethodAttribute.cs
- ExtensibleClassFactory.cs
- BufferedOutputStream.cs
- SystemInformation.cs
- TemplateComponentConnector.cs
- WebPartDescription.cs
- CookieProtection.cs
- CheckBoxStandardAdapter.cs
- IconEditor.cs
- ObjectDataSource.cs
- MediaScriptCommandRoutedEventArgs.cs
- FastPropertyAccessor.cs
- SystemResourceKey.cs
- ConnectionStringSettingsCollection.cs
- FlowDocumentPage.cs
- EntityDataSourceQueryBuilder.cs
- GlobalizationSection.cs
- SqlCacheDependencyDatabase.cs
- Site.cs
- TemplatedMailWebEventProvider.cs
- ExpressionBuilder.cs
- storepermission.cs
- CaseDesigner.xaml.cs
- WindowsTitleBar.cs
- Triangle.cs
- RegexStringValidator.cs
- HashMembershipCondition.cs
- MethodCallConverter.cs
- SelectionProcessor.cs
- PrintDocument.cs
- VersionedStreamOwner.cs
- AppDomainFactory.cs
- DesignerPerfEventProvider.cs
- EllipseGeometry.cs
- MostlySingletonList.cs
- DbTransaction.cs
- ClientRoleProvider.cs
- ValueTypeFixupInfo.cs
- HttpCacheVaryByContentEncodings.cs
- InvalidDataContractException.cs
- WindowsScrollBar.cs
- OleDbParameter.cs
- ScriptHandlerFactory.cs
- Point3DAnimationBase.cs
- GeneralTransform2DTo3D.cs
- MimePart.cs
- SecurityDescriptor.cs
- ApplicationGesture.cs
- SqlTriggerContext.cs
- MSAAWinEventWrap.cs
- TdsValueSetter.cs
- GetPageNumberCompletedEventArgs.cs
- CanonicalFontFamilyReference.cs
- LabelExpression.cs
- DialogResultConverter.cs
- Int32Collection.cs
- PasswordBoxAutomationPeer.cs
- GridViewDeletedEventArgs.cs
- ExpressionBindingCollection.cs
- StructuralComparisons.cs
- OutputCacheSection.cs
- ToolBar.cs
- TranslateTransform3D.cs
- CuspData.cs
- DBDataPermission.cs
- ProxyFragment.cs
- _AcceptOverlappedAsyncResult.cs
- ResourceAttributes.cs
- Rectangle.cs
- OleDbWrapper.cs
- ExceptionUtil.cs
- SynchronizationLockException.cs
- WebPartRestoreVerb.cs
- ColumnReorderedEventArgs.cs
- FormViewPageEventArgs.cs
- Tablet.cs
- ButtonField.cs
- HybridObjectCache.cs
- GradientSpreadMethodValidation.cs
- ComNativeDescriptor.cs
- MembershipUser.cs
- ADMembershipUser.cs
- ScrollItemPatternIdentifiers.cs
- xml.cs
- WorkBatch.cs
- WebPageTraceListener.cs
- SecurityResources.cs
- OdbcConnection.cs
- XmlStreamNodeWriter.cs