コード例 #1
0
 public static void Main()
 {
     using (Step6 frm = new Step6()) {
         frm.Show();
         frm.InitializeGraphics();
         Application.Run(frm);                 //triggers OnPaint event, which is main loop
     }
     Application.Exit();
 }
コード例 #2
0
 public static void Main()
 {
     using (Step6 frm = new Step6()) {
         frm.Show();
         frm.InitializeGraphics();
         Application.Run(frm); //triggers OnPaint event, which is main loop
     }
     Application.Exit();
 }