I am new to C# can anybody tell me on How to show a new Form on click of a button.
Try this:
private void Button1_Click(Object sender, EventArgs e ) { var myForm = new Form1(); myForm.Show(); }
2.1m questions
2.1m answers
60 comments
57.0k users