private void btnLogin_Click(object sender, EventArgs e) { frmLogin _frmLogin = new frmLogin(this); _frmLogin.ShowDialog(); }