Exemple #1
0
        private void buttonCancel_Click(object sender, EventArgs e)
        {
            this.Hide();
            UsersManagerWindow usersManager = new UsersManagerWindow(user);

            usersManager.Show();
        }
 public void Exit()
 {
     if (user != null)
     {
         this.Close();
         UsersManagerWindow users = new UsersManagerWindow(user);
         users.Show();
     }
     else
     {
         FormLogin loginForm = new FormLogin();
         this.Close();
         loginForm.Show();
     }
 }