private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            Assessment_List assList = new Assessment_List();

            assList.Show();
        }
Example #2
0
 private void pictureBox2_Click(object sender, EventArgs e)
 {
     if (labelUser.Text == "Admin")
     {
         this.Hide();
         Assessment_List assList = new Assessment_List();
         assList.Show();
     }
     else if (labelUser.Text == "Sailfish Team Leader")
     {
         this.Hide();
         Sailfish_Assessments sailfishAss = new Sailfish_Assessments();
         sailfishAss.Show();
     }
     else if (labelUser.Text == "Grenfin Team Leader")
     {
         this.Hide();
         Grenfin_Assessments grenfinAss = new Grenfin_Assessments();
         grenfinAss.Show();
     }
     else if (labelUser.Text == "Dolphin Team Leader")
     {
         this.Hide();
         Dolphin_Assessments dolphinAss = new Dolphin_Assessments();
         dolphinAss.Show();
     }
 }