c #windows application
hi friends,i am developing a windows application in c#,in that i have a button,if i click that button another form should appear......how these things gets done in c#
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.
kannanPosted Dec 26, 2009, 6:57 AM
private void button1_click(sender e, EventArgs arg)
{
Form1 myform=new Form1();
myform.show();
this.hide(); // If you want to hide the parent form.
//new Form1().show(); //In one line
}
If my post helps you, please check my answer as accept.
Hiren SoniPosted Dec 26, 2009, 6:56 AM