Connecting multiple winforms to one another
How to connect one page of window form to another winform
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Dharmendra Singh169 pointsPosted Feb 8, 2013, 8:12 PM EST
if I have two from viz- Form1 an Form2 and want to switch Form1 to Form2
on button Click event write code
Form2 ob=new Form2();// Creating Form2 object..
ob.Show();// To show or switching Form2..
this.Hide();// This is for hiding current form i.e. Form1