I am making a Windows Forms application. I have a form. I want to open a new form at run time from the original form on a button click. And then close this
To open from with button click please add the following code in the button event handler
var m = new Form1(); m.Show();
Here Form1 is the name of the form which you want to open.
Also to close the current form, you may use
this.close();