Skip to content

Commit a0dd3d7

Browse files
gewarrenmairaw
authored andcommitted
Fix numbering and indentation (#6173)
* Fix numbering and indentation * Add two more spaces to indents
1 parent 8f384e5 commit a0dd3d7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/framework/winforms/how-to-respond-to-font-scheme-changes-in-a-windows-forms-application.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ In the Windows operating systems, a user can change the system-wide font setting
3434

3535
5. Finally, implement a handler for the <xref:System.Windows.Forms.Form.FormClosing> event that detaches the <xref:Microsoft.Win32.SystemEvents.UserPreferenceChanged> event handler.
3636

37-
> [!IMPORTANT]
38-
> Failure to include this code will cause your application to leak memory.
37+
> [!IMPORTANT]
38+
> Failure to include this code will cause your application to leak memory.
3939
40-
[!code-csharp[WinFormsAutoScaling#5](../../../samples/snippets/csharp/VS_Snippets_Winforms/WinFormsAutoScaling/CS/Form1.cs#5)]
41-
[!code-vb[WinFormsAutoScaling#5](../../../samples/snippets/visualbasic/VS_Snippets_Winforms/WinFormsAutoScaling/VB/Form1.vb#5)]
40+
[!code-csharp[WinFormsAutoScaling#5](../../../samples/snippets/csharp/VS_Snippets_Winforms/WinFormsAutoScaling/CS/Form1.cs#5)]
41+
[!code-vb[WinFormsAutoScaling#5](../../../samples/snippets/visualbasic/VS_Snippets_Winforms/WinFormsAutoScaling/VB/Form1.vb#5)]
4242

43-
1. Compile and run the code.
43+
6. Compile and run the code.
4444

4545
### To manually change the font scheme in Windows XP
4646

@@ -50,7 +50,7 @@ In the Windows operating systems, a user can change the system-wide font setting
5050

5151
3. From the **Font Size** drop-down list box, select a new font size.
5252

53-
You will notice that the form now reacts to run time changes in the desktop font scheme. When the user changes between **Normal**, **Large Fonts**, and **Extra Large Fonts**, the form changes font and scales correctly.
53+
You'll notice that the form now reacts to run-time changes in the desktop font scheme. When the user changes between **Normal**, **Large Fonts**, and **Extra Large Fonts**, the form changes font and scales correctly.
5454

5555
## Example
5656
[!code-csharp[WinFormsAutoScaling#1](../../../samples/snippets/csharp/VS_Snippets_Winforms/WinFormsAutoScaling/CS/Form1.cs#1)]

0 commit comments

Comments
 (0)