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
- ProviderUtil.cs
- DBSchemaRow.cs
- ColumnMapProcessor.cs
- IOException.cs
- SafeEventLogWriteHandle.cs
- DigitShape.cs
- InfocardExtendedInformationCollection.cs
- MaskedTextBoxDesigner.cs
- DataObjectPastingEventArgs.cs
- PackUriHelper.cs
- Point3DKeyFrameCollection.cs
- SafeProcessHandle.cs
- login.cs
- NameValuePair.cs
- SatelliteContractVersionAttribute.cs
- SQLMembershipProvider.cs
- PKCS1MaskGenerationMethod.cs
- ProcessHostFactoryHelper.cs
- ServiceDescription.cs
- CorrelationQueryBehavior.cs
- updatecommandorderer.cs
- EasingFunctionBase.cs
- ContextStack.cs
- Helper.cs
- ListItemsPage.cs
- HitTestWithGeometryDrawingContextWalker.cs
- CleanUpVirtualizedItemEventArgs.cs
- FileAuthorizationModule.cs
- DesignTimeDataBinding.cs
- OleDbParameterCollection.cs
- GPRECTF.cs
- XmlSchemaParticle.cs
- Popup.cs
- DataReaderContainer.cs
- StrokeNodeEnumerator.cs
- XsdBuilder.cs
- ViewValidator.cs
- DefaultSection.cs
- OSEnvironmentHelper.cs
- DeferredReference.cs
- Visual.cs
- TextBoxBase.cs
- CanonicalXml.cs
- MultilineStringConverter.cs
- BulletChrome.cs
- PathFigureCollection.cs
- XmlSchemaSimpleContentRestriction.cs
- EdmSchemaAttribute.cs
- Sql8ConformanceChecker.cs
- ScriptControl.cs
- TdsParser.cs
- SchemaCollectionPreprocessor.cs
- SqlDataRecord.cs
- XPathQilFactory.cs
- OleDbDataReader.cs
- HttpModuleCollection.cs
- MetabaseSettings.cs
- WebControlAdapter.cs
- SweepDirectionValidation.cs
- SafeRightsManagementQueryHandle.cs
- TableRow.cs
- AssemblyBuilderData.cs
- IndexObject.cs
- EntityTransaction.cs
- EdmFunction.cs
- FixedSOMLineCollection.cs
- Brushes.cs
- InvalidOperationException.cs
- SplitContainerDesigner.cs
- DataSourceNameHandler.cs
- WebReferencesBuildProvider.cs
- TextBoxLine.cs
- ControlPersister.cs
- FontSource.cs
- SettingsPropertyCollection.cs
- XamlStyleSerializer.cs
- OleDbStruct.cs
- QuaternionRotation3D.cs
- AsymmetricAlgorithm.cs
- PackagingUtilities.cs
- JsonReaderDelegator.cs
- QilNode.cs
- ScriptingProfileServiceSection.cs
- Monitor.cs
- EntityViewContainer.cs
- RSACryptoServiceProvider.cs
- SeverityFilter.cs
- SpStreamWrapper.cs
- DispatchWrapper.cs
- mediaclock.cs
- RadioButtonBaseAdapter.cs
- ClusterSafeNativeMethods.cs
- QuerySafeNavigator.cs
- ControlFilterExpression.cs
- MoveSizeWinEventHandler.cs
- PropertyChangeTracker.cs
- COM2Enum.cs
- GenericsNotImplementedException.cs
- XmlChoiceIdentifierAttribute.cs
- InternalConfigEventArgs.cs