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
- WindowsProgressbar.cs
- Matrix.cs
- UserValidatedEventArgs.cs
- SingleSelectRootGridEntry.cs
- CollectionView.cs
- ButtonChrome.cs
- HelloMessage11.cs
- EventRouteFactory.cs
- MissingMemberException.cs
- ScrollBar.cs
- TextSchema.cs
- SqlDataSourceCache.cs
- TransformerTypeCollection.cs
- SendKeys.cs
- XmlSchemaObject.cs
- RtfToXamlLexer.cs
- SoundPlayer.cs
- CommandExpr.cs
- DataAdapter.cs
- ToolStripContentPanel.cs
- FixedTextView.cs
- CodeDomDecompiler.cs
- ListenerHandler.cs
- ContentElementAutomationPeer.cs
- Font.cs
- URL.cs
- DrawToolTipEventArgs.cs
- DataControlPagerLinkButton.cs
- GridViewPageEventArgs.cs
- MsmqInputSessionChannel.cs
- KeyPressEvent.cs
- JsonEnumDataContract.cs
- _LocalDataStore.cs
- AbsoluteQuery.cs
- InteropTrackingRecord.cs
- Margins.cs
- StreamAsIStream.cs
- ServiceHostingEnvironmentSection.cs
- OleServicesContext.cs
- ClientTargetSection.cs
- SafeCertificateStore.cs
- FixedSOMSemanticBox.cs
- InProcStateClientManager.cs
- SchemaDeclBase.cs
- StylusPlugInCollection.cs
- BlurBitmapEffect.cs
- StrokeCollection2.cs
- ContactManager.cs
- InvalidWMPVersionException.cs
- SafeNativeMethods.cs
- AutomationPropertyInfo.cs
- PropertyIDSet.cs
- RoleManagerSection.cs
- COSERVERINFO.cs
- Variable.cs
- ReadonlyMessageFilter.cs
- BlockUIContainer.cs
- MessageQueueAccessControlEntry.cs
- Point3DCollectionValueSerializer.cs
- ToolStripArrowRenderEventArgs.cs
- CroppedBitmap.cs
- CodeAccessPermission.cs
- CompositeCollection.cs
- KnownTypeAttribute.cs
- WebHttpBinding.cs
- MetadataPropertyCollection.cs
- XPathNavigator.cs
- GenericAuthenticationEventArgs.cs
- TogglePattern.cs
- HyperLinkColumn.cs
- LineInfo.cs
- CodeVariableDeclarationStatement.cs
- ExtensionMethods.cs
- InkPresenterAutomationPeer.cs
- TriggerBase.cs
- JsonDataContract.cs
- LocalizationCodeDomSerializer.cs
- CertificateManager.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- TypeElementCollection.cs
- DrawingAttributesDefaultValueFactory.cs
- DistinctQueryOperator.cs
- ExternalFile.cs
- XamlToRtfWriter.cs
- SerializationInfo.cs
- XmlNamespaceManager.cs
- ItemCheckEvent.cs
- DbDataReader.cs
- ChangePassword.cs
- CanonicalizationDriver.cs
- CqlBlock.cs
- PermissionListSet.cs
- LiteralLink.cs
- SqlCacheDependencyDatabaseCollection.cs
- ClientOptions.cs
- GlyphInfoList.cs
- linebase.cs
- ResourcePermissionBaseEntry.cs
- WinFormsUtils.cs
- _OSSOCK.cs