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
- LambdaCompiler.ControlFlow.cs
- QilStrConcatenator.cs
- SqlServices.cs
- Label.cs
- RemotingConfigParser.cs
- WindowHideOrCloseTracker.cs
- SortAction.cs
- InfoCardXmlSerializer.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- DynamicControlParameter.cs
- InteropAutomationProvider.cs
- ContainerUtilities.cs
- SoapWriter.cs
- ByteStreamGeometryContext.cs
- DoubleAnimationBase.cs
- UserControlBuildProvider.cs
- QilVisitor.cs
- HtmlInputFile.cs
- MonitorWrapper.cs
- InlineObject.cs
- GridViewDeletedEventArgs.cs
- DataGridView.cs
- ConnectionPoolManager.cs
- ContentElementCollection.cs
- BinHexEncoder.cs
- OleDbErrorCollection.cs
- AmbientLight.cs
- BitmapData.cs
- SequentialUshortCollection.cs
- CommandTreeTypeHelper.cs
- ParenthesizePropertyNameAttribute.cs
- HyperLink.cs
- AssemblyFilter.cs
- TdsParameterSetter.cs
- HandledEventArgs.cs
- RoleService.cs
- CertificateManager.cs
- SizeAnimationUsingKeyFrames.cs
- ChannelSettingsElement.cs
- SettingsPropertyIsReadOnlyException.cs
- TreeViewImageIndexConverter.cs
- _FtpDataStream.cs
- _FixedSizeReader.cs
- ParameterModifier.cs
- FontEditor.cs
- WebReferencesBuildProvider.cs
- FileStream.cs
- Empty.cs
- BamlMapTable.cs
- StringUtil.cs
- CodeCommentStatement.cs
- UnsettableComboBox.cs
- ObjectListField.cs
- SyndicationSerializer.cs
- StateItem.cs
- PointLightBase.cs
- ProcessHostServerConfig.cs
- Help.cs
- RequestCache.cs
- InputLangChangeEvent.cs
- RegexInterpreter.cs
- DataComponentGenerator.cs
- PropertyMapper.cs
- Context.cs
- Stream.cs
- WebEvents.cs
- Slider.cs
- Expander.cs
- VBIdentifierNameEditor.cs
- GlobalEventManager.cs
- IntegerValidator.cs
- ToolStripDropTargetManager.cs
- TableItemStyle.cs
- XamlNamespaceHelper.cs
- FixUp.cs
- JsonUriDataContract.cs
- CellTreeNodeVisitors.cs
- Animatable.cs
- RootDesignerSerializerAttribute.cs
- OdbcDataAdapter.cs
- DispatcherTimer.cs
- Transform.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- XmlDataSourceView.cs
- FamilyTypefaceCollection.cs
- UnsafeNativeMethods.cs
- DataServiceRequest.cs
- InputLanguageSource.cs
- Rect3D.cs
- UDPClient.cs
- Thumb.cs
- RadioButtonRenderer.cs
- ReceiveContent.cs
- SizeAnimationClockResource.cs
- SingleKeyFrameCollection.cs
- HeaderedContentControl.cs
- PriorityChain.cs
- AutoCompleteStringCollection.cs
- TemplateKey.cs
- ReturnValue.cs