Пример #1
0
        private void coachesBtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            CoachesForm coachesList = new CoachesForm();

            coachesList.Show();
        }
 private void pictureBox2_Click(object sender, EventArgs e)
 {
     if (labelUser.Text == "Admin")
     {
         this.Hide();
         CoachesForm coachF = new CoachesForm();
         coachF.Show();
     }
     else if (labelUser.Text == "Sailfish Team Leader")
     {
         this.Hide();
         Sailfish_Coaches sailfishCoach = new Sailfish_Coaches();
         sailfishCoach.Show();
     }
 }