/// <summary> /// Initializes a new instance of the <see cref="InputLanguageChangedEventArgs"/> class with the specified input language and /// character set. /// </summary> public InputLanguageChangedEventArgs(InputLanguage inputLanguage, byte charSet) { InputLanguage = inputLanguage.OrThrowIfNull(); Culture = inputLanguage.Culture; CharSet = charSet; }
/// <summary> /// Initializes a new instance of the <see cref='InputLanguageChangingEventArgs'/> class with the /// specified input language, character set, and acceptance of a language change. /// </summary> public InputLanguageChangingEventArgs(InputLanguage inputLanguage, bool sysCharSet) { InputLanguage = inputLanguage.OrThrowIfNull(); Culture = inputLanguage.Culture; SysCharSet = sysCharSet; }