private void btnPrevious_Click(object sender, EventArgs e) { speaker.Dispose(); Step2B stp2b = new Step2B(); this.Hide(); stp2b.FormClosed += (s, args) => this.Close(); stp2b.ShowDialog(); }
private void btnNext_Click(object sender, EventArgs e) { speaker.Dispose(); Settings.step2a = DateTime.Now; Step2B stp2b = new Step2B(); this.Hide(); stp2b.FormClosed += (s, args) => this.Close(); stp2b.ShowDialog(); }