Example #1
0
 private void exitToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Hide();
     var login = new Login();
     login.Show();
 }
Example #2
0
 public static void Exit()
 {
     CurrentUser = null;
     var login = new Login();
     login.Show();
 }