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
- HeaderLabel.cs
- JsonClassDataContract.cs
- UserValidatedEventArgs.cs
- PickBranch.cs
- precedingquery.cs
- DragDropHelper.cs
- ToolboxComponentsCreatedEventArgs.cs
- PieceDirectory.cs
- TrustSection.cs
- Publisher.cs
- SqlClientPermission.cs
- PrintController.cs
- EntitySet.cs
- DbParameterCollection.cs
- DataColumnChangeEvent.cs
- TextSearch.cs
- PolygonHotSpot.cs
- OdbcDataAdapter.cs
- DocumentViewerBase.cs
- FontUnitConverter.cs
- ToolStripGripRenderEventArgs.cs
- WindowsImpersonationContext.cs
- TextElementAutomationPeer.cs
- ProjectedWrapper.cs
- MSHTMLHost.cs
- EventLogEntryCollection.cs
- ObjectToIdCache.cs
- SrgsDocumentParser.cs
- RewritingValidator.cs
- SuppressMessageAttribute.cs
- DebugView.cs
- XmlUtil.cs
- VScrollProperties.cs
- ClonableStack.cs
- SslStreamSecurityUpgradeProvider.cs
- XmlSchemaParticle.cs
- TraceProvider.cs
- BitmapFrameDecode.cs
- SequentialWorkflowHeaderFooter.cs
- OrderedDictionary.cs
- RectangleHotSpot.cs
- BitmapEffectInput.cs
- Error.cs
- cookieexception.cs
- SafeNativeMethodsCLR.cs
- RelatedPropertyManager.cs
- DurationConverter.cs
- DataServiceRequestException.cs
- SessionSwitchEventArgs.cs
- DefaultTypeArgumentAttribute.cs
- BulletedList.cs
- RepeaterItemEventArgs.cs
- StructuredTypeEmitter.cs
- EnumBuilder.cs
- LifetimeServices.cs
- MetabaseReader.cs
- ETagAttribute.cs
- InstanceKeyNotReadyException.cs
- DefinitionBase.cs
- SymLanguageType.cs
- InArgument.cs
- ClientSettingsProvider.cs
- TemplatePropertyEntry.cs
- Transform3DGroup.cs
- PrtTicket_Base.cs
- TimerElapsedEvenArgs.cs
- DrawListViewItemEventArgs.cs
- DBSqlParserTable.cs
- FormatterServices.cs
- ResourceSetExpression.cs
- ObjectListCommandsPage.cs
- PropertyChangeTracker.cs
- Menu.cs
- DataGridTextBox.cs
- ClientEndpointLoader.cs
- ColorPalette.cs
- xdrvalidator.cs
- Encoder.cs
- IndependentlyAnimatedPropertyMetadata.cs
- Function.cs
- SByte.cs
- PageBorderless.cs
- AppDomainAttributes.cs
- PropertyBuilder.cs
- ParameterEditorUserControl.cs
- ConfigurationLocation.cs
- UnwrappedTypesXmlSerializerManager.cs
- RelOps.cs
- DataObjectPastingEventArgs.cs
- DataGridViewSelectedCellCollection.cs
- ContainerUtilities.cs
- IgnoreFlushAndCloseStream.cs
- FactoryId.cs
- DuplicateWaitObjectException.cs
- UIElementPropertyUndoUnit.cs
- InkCanvasInnerCanvas.cs
- SamlAuthorizationDecisionClaimResource.cs
- XmlNode.cs
- _FixedSizeReader.cs
- XmlIterators.cs