what is equivalent to my.form.form2.showdialog() in c#
OR tell me any other method to invoke another form by clicking button in main form.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bruce RoeserPosted Jul 1, 2010, 11:09 AM
Simple:
Assuming you have a 2nd form named Form2.cs ...
Form2 frm = new Form2();
frm.ShowDialog();
That's it!
-b
zeeshan sabirPosted Jul 2, 2010, 8:46 AM