Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WebException.cs
- CheckableControlBaseAdapter.cs
- HelpKeywordAttribute.cs
- SocketAddress.cs
- PassportIdentity.cs
- DesignerSerializationVisibilityAttribute.cs
- ConstantSlot.cs
- BufferAllocator.cs
- TextMarkerSource.cs
- TextRangeEdit.cs
- ColumnReorderedEventArgs.cs
- DesignerHost.cs
- DesignerSerializationOptionsAttribute.cs
- ValueTypeFixupInfo.cs
- regiisutil.cs
- ChannelServices.cs
- XmlBinaryWriterSession.cs
- StyleSheet.cs
- TypefaceMap.cs
- EditableLabelControl.cs
- SiteMapProvider.cs
- TextServicesContext.cs
- WebMessageEncodingBindingElement.cs
- FileLoadException.cs
- VectorAnimationBase.cs
- EnumMember.cs
- RunInstallerAttribute.cs
- SequentialUshortCollection.cs
- StylusEditingBehavior.cs
- SHA384Managed.cs
- WebPartManagerInternals.cs
- AccessedThroughPropertyAttribute.cs
- EdmTypeAttribute.cs
- EntityDataSourceViewSchema.cs
- GeometryConverter.cs
- RawStylusInputReport.cs
- GeneralTransform3DTo2DTo3D.cs
- PropertyItemInternal.cs
- CodeAssignStatement.cs
- WebBrowserContainer.cs
- PointAnimationUsingPath.cs
- SplashScreenNativeMethods.cs
- DataGridViewHeaderCell.cs
- HashHelper.cs
- EntityPropertyMappingAttribute.cs
- OdbcException.cs
- TextSpan.cs
- InputLanguageManager.cs
- RotateTransform.cs
- CapabilitiesPattern.cs
- RawStylusInput.cs
- LinearKeyFrames.cs
- DbDataReader.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- RtfControlWordInfo.cs
- IISUnsafeMethods.cs
- SerialStream.cs
- AutomationPattern.cs
- ColumnTypeConverter.cs
- GregorianCalendarHelper.cs
- DateTimeHelper.cs
- WebPartEditVerb.cs
- ToolStripScrollButton.cs
- HandleExceptionArgs.cs
- ThicknessAnimationUsingKeyFrames.cs
- ChangePassword.cs
- CacheSection.cs
- FrameworkElementAutomationPeer.cs
- ListItemCollection.cs
- PrimaryKeyTypeConverter.cs
- TemplateXamlParser.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- _CookieModule.cs
- CellParaClient.cs
- Image.cs
- VisualStyleElement.cs
- EntityDataSourceReferenceGroup.cs
- ServiceControllerDesigner.cs
- CommandDesigner.cs
- CollectionsUtil.cs
- MULTI_QI.cs
- MatrixKeyFrameCollection.cs
- ThemeDirectoryCompiler.cs
- UnsafeNativeMethods.cs
- datacache.cs
- ManagementQuery.cs
- BuildProviderCollection.cs
- MetadataItem_Static.cs
- UnsafeNativeMethodsMilCoreApi.cs
- QuadraticBezierSegment.cs
- PersianCalendar.cs
- TextControlDesigner.cs
- InlineObject.cs
- ClientScriptManagerWrapper.cs
- TableLayoutSettings.cs
- DataColumnMapping.cs
- PrintDialog.cs
- SqlReorderer.cs
- NetworkInformationPermission.cs
- HttpCacheVaryByContentEncodings.cs