Answers for "open a new form with a button and close the last one"

2

open a new form with a button and close the last one

this.Hide();
    var form2 = new Form2();
    form2.Closed += (s, args) => this.Close(); 
    form2.Show();
Posted by: Guest on May-12-2020

Code answers related to "open a new form with a button and close the last one"

Browse Popular Code Answers by Language