To show a new Form on click of a button in C#
c#, winforms
Solution
Try this:
private void Button1_Click(Object sender, EventArgs e )
{
var myForm = new Form1();
myForm.Show();
}
Problem
I am new to C# can anybody tell me on How to show a new Form on click of a button.