コード例 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            AssignTraining assignTraining = new AssignTraining(users);

            assignTraining.Show();
        }
コード例 #2
0
ファイル: MainMenu.cs プロジェクト: LLJY/ITSSB-QR-Session4
 private void assign_update_Click(object sender, EventArgs e)
 {
     if (LoggedIn.userTypeIdFK == 1)
     {
         this.Hide();
         var form = new AssignTraining(LoggedIn);
         form.Closed += (s, args) => this.Close();
         form.Show();
     }
     else
     {
         this.Hide();
         var form = new UpdateExpert(LoggedIn);
         form.Closed += (s, args) => this.Close();
         form.Show();
     }
 }