示例#1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Design.isDarkTheme = false;
     Design.SetTheme();
     Application.Run(new ProgressBarForm());
 }
示例#2
0
 private void darkThemeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Design.isDarkTheme = true;
     Design.SetTheme();
 }