Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / InputLangChangeEvent.cs / 1 / 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
- OciEnlistContext.cs
- ImageAnimator.cs
- CTreeGenerator.cs
- XmlWellformedWriterHelpers.cs
- SerializationUtility.cs
- BasicKeyConstraint.cs
- DataTransferEventArgs.cs
- ScriptComponentDescriptor.cs
- FrameworkElementFactory.cs
- webbrowsersite.cs
- StylusPointProperties.cs
- ObjectKeyFrameCollection.cs
- VectorCollection.cs
- WinFormsComponentEditor.cs
- Model3DCollection.cs
- ChangeInterceptorAttribute.cs
- MetadataUtilsSmi.cs
- TransferMode.cs
- InstanceDescriptor.cs
- HttpHandlerActionCollection.cs
- IISUnsafeMethods.cs
- PageThemeBuildProvider.cs
- FlowDocumentView.cs
- XamlClipboardData.cs
- Int32EqualityComparer.cs
- DeflateEmulationStream.cs
- EncryptedPackage.cs
- DataObjectSettingDataEventArgs.cs
- Triplet.cs
- GlyphingCache.cs
- SQLChars.cs
- ConstructorBuilder.cs
- TabControl.cs
- ReferenceTypeElement.cs
- XmlSchemaComplexContentRestriction.cs
- ClusterUtils.cs
- ByteAnimationUsingKeyFrames.cs
- EnvelopedSignatureTransform.cs
- OptimalTextSource.cs
- DependencyObjectCodeDomSerializer.cs
- WindowCollection.cs
- Command.cs
- DbDeleteCommandTree.cs
- Quaternion.cs
- GifBitmapEncoder.cs
- SessionIDManager.cs
- SizeAnimationClockResource.cs
- CombinedHttpChannel.cs
- DataGridHeaderBorder.cs
- LocalValueEnumerator.cs
- ViewKeyConstraint.cs
- TypefaceMap.cs
- EvidenceBase.cs
- DbSetClause.cs
- sqlpipe.cs
- AppDomainManager.cs
- ColorContextHelper.cs
- PerformanceCounterPermission.cs
- ContextProperty.cs
- SqlTrackingService.cs
- GeometryDrawing.cs
- ArrayTypeMismatchException.cs
- XamlSerializationHelper.cs
- TopClause.cs
- LocalValueEnumerator.cs
- SequentialWorkflowRootDesigner.cs
- ReachSerializableProperties.cs
- ContextStaticAttribute.cs
- DefaultAsyncDataDispatcher.cs
- NamespaceCollection.cs
- VirtualPath.cs
- SurrogateDataContract.cs
- MaterialCollection.cs
- WebZone.cs
- SafeFileMappingHandle.cs
- HyperLink.cs
- TreeView.cs
- TreeNodeMouseHoverEvent.cs
- RoamingStoreFileUtility.cs
- DigitShape.cs
- ConfigXmlWhitespace.cs
- EntityProxyFactory.cs
- IdleTimeoutMonitor.cs
- ProtocolsConfigurationHandler.cs
- WmlControlAdapter.cs
- CommonProperties.cs
- RotateTransform.cs
- TypedTableBaseExtensions.cs
- ButtonFieldBase.cs
- CompleteWizardStep.cs
- TableLayoutPanelCellPosition.cs
- XslNumber.cs
- DescendentsWalkerBase.cs
- XmlSchema.cs
- SoapObjectReader.cs
- OdbcDataReader.cs
- SapiRecoInterop.cs
- HtmlTableRow.cs
- ThreadNeutralSemaphore.cs
- SecurityDocument.cs