I have three form form1, form2, form3. in form one a button opens form3. and in form2 also a button for opening the same form as form3. Is it possible and how? becoz when i was simply chen this code for open form this form this was not working.
there was error "best overload method match for form3.
vivekagrawal
-3
Light Poster
Recommended Answers
Jump to PostYou can click the following code as many times as your computer memory will allow it.
You will have as many forms.private void button1_Click(object sender, EventArgs e) { Form f = new Form(); f.Show(); }
Jump to PostYou dont need any constructor. At least if you open form2 from from1 (or form3 from form1).
All 8 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
vivekagrawal
-3
Light Poster
Mitja Bonca
557
Nearly a Posting Maven
ddanbe
2,724
Professional Procrastinator
Featured Poster
Mitja Bonca
557
Nearly a Posting Maven
vivekagrawal
-3
Light Poster
Mitja Bonca
557
Nearly a Posting Maven
vivekagrawal
-3
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.