static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
static void Main(string[] args) { Form1 mainForm = new Form1(); mainForm.Show(); using (Game1 game = new Game1(mainForm)) { game.Run(); } }