|
26 | 26 |
|
27 | 27 | An <xref:System.Windows.Forms.InputLanguageChangedEventArgs> identifies the locale and the character set of the new input language.
|
28 | 28 |
|
29 |
| - The <xref:System.Windows.Forms.Form.InputLanguageChanging> event precedes the <xref:System.Windows.Forms.Form.InputLanguageChanged> event. |
30 |
| - |
31 |
| - |
| 29 | + The <xref:System.Windows.Forms.Form.InputLanguageChanging> event precedes the <xref:System.Windows.Forms.Form.InputLanguageChanged> event. |
32 | 30 |
|
33 | 31 | ## Examples
|
34 | 32 | The following example creates a new <xref:System.Windows.Forms.Form> and attaches an event handler to the <xref:System.Windows.Forms.Form.InputLanguageChanged> event. This event changes the `IMEmode` when the input language changes to Japanese.
|
|
76 | 74 | <param name="charSet">The character set associated with the new input language.</param>
|
77 | 75 | <summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.InputLanguageChangedEventArgs" /> class with the specified locale and character set.</summary>
|
78 | 76 | <remarks>To be added.</remarks>
|
| 77 | + <exception cref="T:System.ArgumentException">.NET 5.0 and later: An <see cref="T:System.Windows.Forms.InputLanguage" /> cannot be retrieved for <paramref name="culture" />.</exception> |
79 | 78 | <altmember cref="T:System.Windows.Forms.InputLanguage" />
|
80 | 79 | <altmember cref="T:System.Globalization.CultureInfo" />
|
81 | 80 | </Docs>
|
|
234 | 233 | <format type="text/markdown"><![CDATA[
|
235 | 234 |
|
236 | 235 | ## Remarks
|
237 |
| - This property is the Win32 character set that the user switched to. On ANSI systems, this property can be used to create fonts that can display the correct character set. On Unicode systems, you typically do not need to use this property. Instead, use the <xref:System.Globalization.CultureInfo> class for these functionalities. |
238 |
| - |
239 |
| - |
| 236 | + This property is the Win32 character set that the user switched to. On ANSI systems, this property can be used to create fonts that can display the correct character set. On Unicode systems, you typically do not need to use this property. Instead, use the <xref:System.Globalization.CultureInfo> class for these functionalities. |
240 | 237 |
|
241 | 238 | ## Examples
|
242 | 239 | The following code example demonstrates the use of this member. In the example, an event handler reports on the occurrence of the <xref:System.Windows.Forms.Form.InputLanguageChanged?displayProperty=nameWithType> event. This report helps you to learn when the event occurs and can assist you in debugging. To report on multiple events or on events that occur frequently, consider replacing <xref:System.Windows.Forms.MessageBox.Show%2A?displayProperty=nameWithType> with <xref:System.Console.WriteLine%2A?displayProperty=nameWithType> or appending the message to a multiline <xref:System.Windows.Forms.TextBox>.
|
|
281 | 278 | <format type="text/markdown"><![CDATA[
|
282 | 279 |
|
283 | 280 | ## Remarks
|
284 |
| - The <xref:System.Windows.Forms.InputLanguageChangedEventArgs.Culture%2A> property specifies a <xref:System.Globalization.CultureInfo> and defines a set of user preference information dependent on the language, sublanguage, country/region, and cultural conventions of the user. |
285 |
| - |
286 |
| - |
| 281 | + The <xref:System.Windows.Forms.InputLanguageChangedEventArgs.Culture%2A> property specifies a <xref:System.Globalization.CultureInfo> and defines a set of user preference information dependent on the language, sublanguage, country/region, and cultural conventions of the user. |
287 | 282 |
|
288 | 283 | ## Examples
|
289 | 284 | The following code example demonstrates the use of this member. In the example, an event handler reports on the occurrence of the <xref:System.Windows.Forms.Form.InputLanguageChanged?displayProperty=nameWithType> event. This report helps you to learn when the event occurs and can assist you in debugging. To report on multiple events or on events that occur frequently, consider replacing <xref:System.Windows.Forms.MessageBox.Show%2A?displayProperty=nameWithType> with <xref:System.Console.WriteLine%2A?displayProperty=nameWithType> or appending the message to a multiline <xref:System.Windows.Forms.TextBox>.
|
|
0 commit comments