Example #1
0
        private void btnNewClubGroup_Click(object sender, EventArgs e)
        {
            AddClubWizard wizard = new AddClubWizard();

            wizard.ShowDialog();
            reloadControls();
        }
Example #2
0
 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();
 }