Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created Aug 17, 2021
Embed
What would you like to do?
class Program
{
[STAThread]
static void Main()
{
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
+Application.SetDefaultFont(new Font(new FontFamily("Microsoft Sans Serif"), 8f));
Application.Run(new Form1());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment