コード例 #1
0
        private void coachesBtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            Sailfish_Coaches sailfishCoach = new Sailfish_Coaches();

            sailfishCoach.Show();
        }
コード例 #2
0
 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();
     }
 }