Set compatible text rendering to false, in order to improve text rendering in the WinForms samples.

This commit is contained in:
the_fiddler 2008-11-27 16:37:48 +00:00
parent 6e5056e7aa
commit 52577946e3

View file

@ -246,7 +246,7 @@ namespace Examples
//fileIO.Demand(); //fileIO.Demand();
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(true); Application.SetCompatibleTextRenderingDefault(false);
using (Form exampleLauncher = new ExampleLauncher()) using (Form exampleLauncher = new ExampleLauncher())
{ {
Application.Run(exampleLauncher); Application.Run(exampleLauncher);