private void pb_back_Click(object sender, EventArgs e) { am = new AlgorithmMenu(); am.FormClosed += Am_FormClosed; am.Show(); this.Close(); }
private void Ad_FormClosed(object sender, FormClosedEventArgs e) { am = null; }
private void btn_start_Click(object sender, EventArgs e) { am = new AlgorithmMenu(); am.FormClosed += Ad_FormClosed; am.Show(); }