예제 #1
0
        private void buttonContinue_Click(object sender, EventArgs e)
        {
            this.Close();
            UserStartWindow userStartWindow = new UserStartWindow(user);

            userStartWindow.Show();
        }
예제 #2
0
 public void Exit()
 {
     if (user.Role == "Admin")
     {
         AdminStartWindow adminStart = new AdminStartWindow(user);
         adminStart.Show();
     }
     else
     {
         UserStartWindow userStart = new UserStartWindow(user);
         userStart.Show();
     }
     this.Close();
 }