public static void Main() { Engine engine = new Engine(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1(engine)); }
public Form1(Engine engine) { this.engine = engine; this.InitializeComponent(); this.StartButton.Select(); }