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