private void BackButton_Click(object sender, EventArgs e) { Form runnerMenuForm = new MainForm.MainForm(); Hide(); runnerMenuForm.Show(); }
private void backButton_Click(object sender, EventArgs e) { Form mainForm = new MainForm.MainForm(); Hide(); mainForm.Show(); }
//Override Form Close Button protected override void OnFormClosed(FormClosedEventArgs e) { MainForm.MainForm mainForm = new MainForm.MainForm(); this.Hide(); mainForm.Show(); }