Skip to content

Connecting multiple winforms to one another

Anju Singh

Asked Feb 8, 2013, 4:31 PM EST1 answer
Share
LinkedInX
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.

  • Dharmendra Singh
    0
    Simply you can create Object of another form and show it like this
    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
    0