//Write this code in button click event of Form1private void button1_Click(object sender, EventArgs e){ Form2 frmObj = new Form2(); frmObj.Show();}
//Write this code in button click event of Form1private void button1_Click(object sender, EventArgs e){ Form2 frmObj = new Form2(); frmObj.ShowDialog();}