private void creditsForm_FormClosing(object sender, FormClosingEventArgs e) { var firstPage = new FirstPage(); firstPage.Show(); Hide(); }
private void exitBtn_Click(object sender, EventArgs e) { var firstPage = new FirstPage(); firstPage.Show(); Hide(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var startingPage = new FirstPage(); Application.Run(startingPage); }