Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / InputLangChangeEvent.cs / 1305376 / InputLangChangeEvent.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 InputLanguageChangedEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// /// The input language. /// private readonly InputLanguage inputLanguage; ////// /// The culture of the input language. /// private readonly CultureInfo culture; ////// /// The charSet associated with the new input language. /// private readonly byte charSet; /** * @deprecated. Use the other constructor instead. */ ////// /// /// public InputLanguageChangedEventArgs(CultureInfo culture, byte charSet) { this.inputLanguage = System.Windows.Forms.InputLanguage.FromCulture(culture); this.culture = culture; this.charSet = charSet; } ////// Initializes a new instance of the ///class with the /// specified locale and character set. /// /// /// public InputLanguageChangedEventArgs(InputLanguage inputLanguage, byte charSet) { this.inputLanguage = inputLanguage; this.culture = inputLanguage.Culture; this.charSet = charSet; } ////// Initializes a new instance of the ///class with the specified input language and /// character set. /// /// /// public InputLanguage InputLanguage { get { return inputLanguage; } } ////// Gets the input language. /// ////// /// public CultureInfo Culture { get { return culture; } } ////// Gets the locale of the input language. /// ////// /// public byte CharSet { get { return charSet; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets the character set associated with the new 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 InputLanguageChangedEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// /// The input language. /// private readonly InputLanguage inputLanguage; ////// /// The culture of the input language. /// private readonly CultureInfo culture; ////// /// The charSet associated with the new input language. /// private readonly byte charSet; /** * @deprecated. Use the other constructor instead. */ ////// /// /// public InputLanguageChangedEventArgs(CultureInfo culture, byte charSet) { this.inputLanguage = System.Windows.Forms.InputLanguage.FromCulture(culture); this.culture = culture; this.charSet = charSet; } ////// Initializes a new instance of the ///class with the /// specified locale and character set. /// /// /// public InputLanguageChangedEventArgs(InputLanguage inputLanguage, byte charSet) { this.inputLanguage = inputLanguage; this.culture = inputLanguage.Culture; this.charSet = charSet; } ////// Initializes a new instance of the ///class with the specified input language and /// character set. /// /// /// public InputLanguage InputLanguage { get { return inputLanguage; } } ////// Gets the input language. /// ////// /// public CultureInfo Culture { get { return culture; } } ////// Gets the locale of the input language. /// ////// /// public byte CharSet { get { return charSet; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets the character set associated with the new input language. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ByteArrayHelperWithString.cs
- LoadWorkflowByInstanceKeyCommand.cs
- EntityModelBuildProvider.cs
- precedingsibling.cs
- TextSimpleMarkerProperties.cs
- DataGridViewCell.cs
- DataGridTextBoxColumn.cs
- CodeVariableDeclarationStatement.cs
- _SslState.cs
- CalculatedColumn.cs
- DateTimeValueSerializer.cs
- InkCanvasAutomationPeer.cs
- InternalControlCollection.cs
- rsa.cs
- WindowsFormsSectionHandler.cs
- RepeaterItemCollection.cs
- EntityContainerEntitySetDefiningQuery.cs
- KeyValuePairs.cs
- ScriptingAuthenticationServiceSection.cs
- SqlAggregateChecker.cs
- HMAC.cs
- TextEditorSelection.cs
- RegexStringValidator.cs
- CommandEventArgs.cs
- SpellerError.cs
- CreateUserWizardStep.cs
- ElementNotAvailableException.cs
- TypeDelegator.cs
- ValuePatternIdentifiers.cs
- DefaultAsyncDataDispatcher.cs
- ContractComponent.cs
- MetabaseServerConfig.cs
- BrowserCapabilitiesFactory.cs
- NGCSerializer.cs
- SmiEventSink.cs
- DesignerListAdapter.cs
- BindingListCollectionView.cs
- Size3DValueSerializer.cs
- XPathScanner.cs
- bindurihelper.cs
- SystemColorTracker.cs
- CurrentChangingEventManager.cs
- RemotingAttributes.cs
- CachedBitmap.cs
- AvtEvent.cs
- StringFormat.cs
- RichTextBoxConstants.cs
- TraceUtility.cs
- CardSpacePolicyElement.cs
- DataGridState.cs
- DecimalKeyFrameCollection.cs
- altserialization.cs
- ListItemParagraph.cs
- ToolboxService.cs
- AuthenticationSchemesHelper.cs
- InternalConfigSettingsFactory.cs
- CompilerErrorCollection.cs
- ActiveDesignSurfaceEvent.cs
- SignedXmlDebugLog.cs
- EventMap.cs
- InstanceOwnerException.cs
- ConfigurationFileMap.cs
- ToolStripRenderer.cs
- Serializer.cs
- WindowsFormsEditorServiceHelper.cs
- Parameter.cs
- SymbolMethod.cs
- DetailsViewCommandEventArgs.cs
- HealthMonitoringSection.cs
- SchemaImporterExtensionElement.cs
- TypefaceCollection.cs
- Visual3DCollection.cs
- RefreshEventArgs.cs
- FormsAuthenticationUser.cs
- Mutex.cs
- WindowsRichEdit.cs
- ConfigurationLocationCollection.cs
- UIElement.cs
- XmlUtil.cs
- DocComment.cs
- SessionViewState.cs
- CustomErrorsSectionWrapper.cs
- XmlReader.cs
- WSTrustDec2005.cs
- VisualStyleRenderer.cs
- ClonableStack.cs
- TargetConverter.cs
- CounterSetInstanceCounterDataSet.cs
- GridSplitterAutomationPeer.cs
- EntityProviderFactory.cs
- WebPartTransformer.cs
- OracleSqlParser.cs
- Token.cs
- NotCondition.cs
- WCFModelStrings.Designer.cs
- CheckBoxField.cs
- NonVisualControlAttribute.cs
- SponsorHelper.cs
- SHA1.cs
- ImageField.cs