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
private void btnchangerate_Click(object sender, EventArgs e)
{
this.Hide(); //current form will hide
Form1 fm = new Form1(); //another form will open
fm.Show();
}
on click btn current form will hide and new form will open