private void btnNewClubGroup_Click(object sender, EventArgs e) { AddClubWizard wizard = new AddClubWizard(); wizard.ShowDialog(); reloadControls(); }
private void btnNewClub_Click(object sender, EventArgs e) { if (currentCompetition.GetType() != typeof(GroupCompetition)) { AddClubWizard wizard = new AddClubWizard(); wizard.ShowDialog(); } else { AddGroupWizard wizard = new AddGroupWizard(currentCompetition); wizard.ShowDialog(); } reload_Controls(); }