private void loginToolStripMenuItem_Click_1(object sender, EventArgs e) { if (!LoginForm.isShowing) { LoginForm f = new LoginForm(); f.ShowLogin(); } }
private void MainForm_Load(object sender, EventArgs e) { LoginForm f = new LoginForm(); f.ShowLogin(); }