static void Main() { MineBoard area = new MineBoard(); area.Init(10, 20, 9); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MineForm()); }