Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WindowsListViewScroll.cs
- UserControl.cs
- BaseParaClient.cs
- HwndSubclass.cs
- OleDbException.cs
- NumberFunctions.cs
- ValidationUtility.cs
- OdbcEnvironmentHandle.cs
- DependencyPropertyValueSerializer.cs
- DataSourceHelper.cs
- FtpRequestCacheValidator.cs
- ResourcesChangeInfo.cs
- AdRotator.cs
- ObjectDataSourceMethodEventArgs.cs
- CodeGotoStatement.cs
- ProfessionalColors.cs
- WebPartEditVerb.cs
- Slider.cs
- InternalTypeHelper.cs
- ServiceModelExtensionCollectionElement.cs
- ScriptManagerProxy.cs
- Bits.cs
- Listbox.cs
- altserialization.cs
- URLAttribute.cs
- BezierSegment.cs
- PerfCounterSection.cs
- DocumentPageHost.cs
- GridSplitter.cs
- SubMenuStyleCollection.cs
- ArrayMergeHelper.cs
- SignatureHelper.cs
- Figure.cs
- WorkerRequest.cs
- AutomationIdentifierGuids.cs
- DataGridDetailsPresenter.cs
- CodeObjectCreateExpression.cs
- UIElement.cs
- ItemCollection.cs
- _CacheStreams.cs
- MouseDevice.cs
- DecimalKeyFrameCollection.cs
- MimeMultiPart.cs
- dtdvalidator.cs
- XslVisitor.cs
- TraceSource.cs
- EpmCustomContentWriterNodeData.cs
- ForeignKeyFactory.cs
- WorkflowRuntime.cs
- DeferrableContent.cs
- Sentence.cs
- CellIdBoolean.cs
- CursorInteropHelper.cs
- IntPtr.cs
- UIElementHelper.cs
- AnchoredBlock.cs
- DataRowComparer.cs
- AttachedAnnotationChangedEventArgs.cs
- Number.cs
- SqlProcedureAttribute.cs
- WorkflowViewStateService.cs
- ArgumentNullException.cs
- PersonalizableTypeEntry.cs
- M3DUtil.cs
- SafeCryptoHandles.cs
- MediaEntryAttribute.cs
- MissingMethodException.cs
- DesignOnlyAttribute.cs
- ItemAutomationPeer.cs
- CTreeGenerator.cs
- StringFormat.cs
- DataBindingCollection.cs
- QueryStringConverter.cs
- ItemList.cs
- xmlfixedPageInfo.cs
- ConfigXmlAttribute.cs
- PropertyDescriptorComparer.cs
- RequestContextBase.cs
- RefExpr.cs
- ToolStripItemTextRenderEventArgs.cs
- ListViewTableCell.cs
- MonthCalendar.cs
- ManagementObjectSearcher.cs
- TextTabProperties.cs
- ListViewGroup.cs
- ProvidersHelper.cs
- LogEntrySerializationException.cs
- HtmlInputRadioButton.cs
- DataColumnPropertyDescriptor.cs
- UpDownBase.cs
- shaperfactory.cs
- COSERVERINFO.cs
- Model3DGroup.cs
- NodeInfo.cs
- DesignerOptionService.cs
- AdvancedBindingEditor.cs
- SessionStateItemCollection.cs
- ClientSession.cs
- PageParserFilter.cs
- BindingContext.cs