private void Login() { var formLogin = new FormLogin(); formLogin.ShowDialog(); }
private void loginToolStripMenuItem_Click(object sender, EventArgs e) { var frm = new FormLogin(); frm.Show(); }