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
- ConfigXmlText.cs
- XpsS0ValidatingLoader.cs
- DataViewListener.cs
- PrintPreviewGraphics.cs
- XmlHierarchicalEnumerable.cs
- InternalBufferManager.cs
- SymmetricSecurityProtocol.cs
- Size3DConverter.cs
- ComponentChangedEvent.cs
- ChameleonKey.cs
- OrderingInfo.cs
- PropertyGridView.cs
- WebConfigurationHost.cs
- BasicCellRelation.cs
- Pair.cs
- EdmSchemaAttribute.cs
- DynamicQueryableWrapper.cs
- UdpConstants.cs
- ArithmeticLiteral.cs
- BamlRecordWriter.cs
- PaintEvent.cs
- TextTabProperties.cs
- RoutedEventConverter.cs
- TypeReference.cs
- ProxyElement.cs
- XsdDuration.cs
- NodeFunctions.cs
- TextContainerChangedEventArgs.cs
- DataServiceResponse.cs
- SqlTriggerAttribute.cs
- AggregatePushdown.cs
- RegionInfo.cs
- NodeFunctions.cs
- EventLogLink.cs
- CodeConditionStatement.cs
- SafeArchiveContext.cs
- CreateParams.cs
- MethodToken.cs
- WindowsTokenRoleProvider.cs
- HttpStreamXmlDictionaryWriter.cs
- SqlStatistics.cs
- OrderByQueryOptionExpression.cs
- HttpException.cs
- UserNameSecurityToken.cs
- _UncName.cs
- RoleManagerModule.cs
- TemplateControlBuildProvider.cs
- DllNotFoundException.cs
- TreeViewItem.cs
- NavigationFailedEventArgs.cs
- Attributes.cs
- DockingAttribute.cs
- ScrollContentPresenter.cs
- SecurityTokenAttachmentMode.cs
- XmlAttributeProperties.cs
- QilSortKey.cs
- base64Transforms.cs
- ConcurrentBag.cs
- AppDomainUnloadedException.cs
- MexHttpBindingElement.cs
- ParallelTimeline.cs
- ValidatorCollection.cs
- CommandManager.cs
- Button.cs
- WebPartVerbCollection.cs
- DeviceContext.cs
- PreviewPageInfo.cs
- Quaternion.cs
- FaultFormatter.cs
- precedingsibling.cs
- Viewport2DVisual3D.cs
- NullableLongMinMaxAggregationOperator.cs
- RawAppCommandInputReport.cs
- Helpers.cs
- DesignerCapabilities.cs
- _CacheStreams.cs
- RightsManagementInformation.cs
- CommentEmitter.cs
- TabPanel.cs
- Pointer.cs
- DocumentViewerAutomationPeer.cs
- recordstate.cs
- KerberosSecurityTokenAuthenticator.cs
- SqlCommandSet.cs
- Guid.cs
- ArrayElementGridEntry.cs
- TrackingStringDictionary.cs
- DefaultSection.cs
- SqlProviderManifest.cs
- DllNotFoundException.cs
- ParentQuery.cs
- EncryptedPackageFilter.cs
- ExplicitDiscriminatorMap.cs
- ImageListStreamer.cs
- ObjectResult.cs
- ReadOnlyObservableCollection.cs
- IImplicitResourceProvider.cs
- loginstatus.cs
- CodeFieldReferenceExpression.cs
- FloatSumAggregationOperator.cs