Code:
/ FX-1434 / FX-1434 / 1.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
- LogicalTreeHelper.cs
- EmissiveMaterial.cs
- StylusPointPropertyInfo.cs
- HtmlControlPersistable.cs
- XamlToRtfWriter.cs
- HandledMouseEvent.cs
- PageParserFilter.cs
- SetterBase.cs
- OpenTypeCommon.cs
- NullEntityWrapper.cs
- Propagator.Evaluator.cs
- RuntimeHandles.cs
- XPathException.cs
- ConfigurationSectionGroupCollection.cs
- PolyLineSegment.cs
- RankException.cs
- FullTextState.cs
- StringWriter.cs
- FunctionCommandText.cs
- CompleteWizardStep.cs
- SystemParameters.cs
- StylusPointPropertyInfo.cs
- FileLevelControlBuilderAttribute.cs
- ReflectionTypeLoadException.cs
- UITypeEditor.cs
- Vector3DIndependentAnimationStorage.cs
- ArgumentException.cs
- ToolStripDropDownButton.cs
- XmlNavigatorStack.cs
- ObjectItemLoadingSessionData.cs
- MonikerProxyAttribute.cs
- CompositeFontInfo.cs
- SmtpNegotiateAuthenticationModule.cs
- listitem.cs
- ImpersonationContext.cs
- Journal.cs
- MergeEnumerator.cs
- RelationshipConstraintValidator.cs
- recordstatescratchpad.cs
- Helpers.cs
- ProfessionalColorTable.cs
- RoleManagerModule.cs
- MessageBox.cs
- ContravarianceAdapter.cs
- basecomparevalidator.cs
- TextDecorationCollectionConverter.cs
- manifestimages.cs
- UnsafeNativeMethods.cs
- OleDbException.cs
- SystemKeyConverter.cs
- DataGridViewColumnCollection.cs
- TextElementEnumerator.cs
- ListViewTableRow.cs
- UnauthorizedAccessException.cs
- PngBitmapDecoder.cs
- smtpconnection.cs
- HostingPreferredMapPath.cs
- WriteStateInfoBase.cs
- XmlTextReaderImplHelpers.cs
- NameValueCache.cs
- PartialClassGenerationTask.cs
- DataException.cs
- URLAttribute.cs
- HwndSubclass.cs
- Pipe.cs
- QilDataSource.cs
- BuildResultCache.cs
- ClientTargetSection.cs
- NetworkInformationPermission.cs
- Utils.cs
- XPathParser.cs
- WebHeaderCollection.cs
- FigureHelper.cs
- X509WindowsSecurityToken.cs
- FastEncoderWindow.cs
- HasCopySemanticsAttribute.cs
- DataServiceQueryOfT.cs
- DoubleAnimationUsingPath.cs
- BoundsDrawingContextWalker.cs
- SqlConnectionManager.cs
- OdbcParameterCollection.cs
- DialogResultConverter.cs
- Floater.cs
- ExpressionWriter.cs
- MessagePropertyFilter.cs
- MenuCommandsChangedEventArgs.cs
- SqlGenerator.cs
- IdnElement.cs
- DbDataRecord.cs
- EventWaitHandle.cs
- ActivityCodeDomSerializer.cs
- CommonDialog.cs
- RawTextInputReport.cs
- DeflateStreamAsyncResult.cs
- IOThreadTimer.cs
- FontStretch.cs
- HwndProxyElementProvider.cs
- Decoder.cs
- Cursor.cs
- ToolStripGripRenderEventArgs.cs