Example #1
0
        private void DolphinBtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            Dolphin dolphinF = new Dolphin();

            dolphinF.Show();
        }
Example #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();
     }
 }
 private void pictureBox2_Click(object sender, EventArgs e)
 {
     if (labelUser.Text == "Admin")
     {
         this.Hide();
         Dolphin dolphin = new Dolphin();
         dolphin.Show();
     }
     else if (labelUser.Text == "Dolphin Team Leader")
     {
         this.Hide();
         Dolphin dolphin = new Dolphin();
         dolphin.Show();
     }
 }