In C sharp win forms, not using MDI, m creating multiple forms i wish to hide the previous form while loading a new form on a button's click i write the following code to achieve the purpose but the previous form still remains visible, kindly help!! here's the code...
private void btnEmployee_Click(object sender, EventArgs e)
{
Form f3 = new EmployeeLogIn();
f3.Show();
Form id = new Login();
id.Hide();
}