private void buttonLeague_Click(object sender, EventArgs e)
 {
     using (FormLeague formLeague = new FormLeague(entityManager.GetLeagueDetails(), entityManager.GetLeagueFixtures(), currentUser.teamIdField)) {
         formLeague.ShowDialog(this);
     }
 }
 private void buttonLeague_Click(object sender, EventArgs e)
 {
     using (FormLeague formLeague = new FormLeague(entityManager.GetLeagueDetails(), entityManager.GetLeagueFixtures(), currentUser.teamIdField)) {
         formLeague.ShowDialog(this);
     }
 }