appel form c#
comment appeler des froms a partir d'un boutton
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.
samia mezziPosted Dec 13, 2010, 5:39 AM
Sam HobbsPosted Nov 30, 2010, 3:36 AM
Suthish NairPosted Nov 29, 2010, 11:42 AM
Doha MsgPosted Nov 29, 2010, 5:14 AM
Answer: in the button click event, write a code similar to
MyForm frm = new MyForm();
frm.Show(); // or frm.ShowDialog();
Where MyForm is the Class defining your form. If you use .Net 4.0 you can instantiate the form like this : var frm = new MyForm();