private void grenfinBtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            Grenfin grenfin = new Grenfin();

            grenfin.Show();
        }
Exemple #2
0
 private void pictureBox2_Click(object sender, EventArgs e)
 {
     if (labelUser.Text == "Admin")
     {
         this.Close();
         Dashboard dashboard = new Dashboard();
         dashboard.Show();
     }
     else if (labelUser.Text == "Grenfin Team Leader")
     {
         this.Hide();
         Grenfin grenfin = new Grenfin();
         grenfin.Show();
     }
     else if (labelUser.Text == "Sailfish Team Leader")
     {
         this.Hide();
         Sailfish sailfish = new Sailfish();
         sailfish.Show();
     }
     else if (labelUser.Text == "Dolphin Team Leader")
     {
         this.Hide();
         Dolphin dolphin = new Dolphin();
         dolphin.Show();
     }
 }
Exemple #3
0
 private void pictureBox2_Click(object sender, EventArgs e)
 {
     if (labelUser.Text == "Admin")
     {
         this.Hide();
         Grenfin grenfin = new Grenfin();
         grenfin.Show();
     }
     else if (labelUser.Text == "Grenfin Team Leader")
     {
         this.Hide();
         Grenfin grenfin = new Grenfin();
         grenfin.Show();
     }
 }