private void button1_Click(object sender, EventArgs e) { this.Hide(); Coach_Attendance_List coachAttenList = new Coach_Attendance_List(); coachAttenList.Show(); }
private void pictureBox2_Click(object sender, EventArgs e) { if (labelUser.Text == "Admin") { this.Hide(); Coach_Attendance_List coachAttenList = new Coach_Attendance_List(); coachAttenList.Show(); } else if (labelUser.Text == "Sailfish Team Leader") { this.Hide(); Sailfish_CoachAtten sailfishCoachAtten = new Sailfish_CoachAtten(); sailfishCoachAtten.Show(); } }