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

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