30 January 2014

Redirect from one form to another form and close present form

Form2 obj1 = new Form2();
obj1.Show();
this.Hide();

(or)

this.Hide();
Form2 obj1 = new Form2();
obj1.Show();

No comments:

Post a Comment