Example #1
0
        private void BtnAddCompetition_Click(object sender, RoutedEventArgs e)
        {
            // schedule a new competition
            AddCompetition addCompetition = new AddCompetition();

            addCompetition.hosting_club_id = club_id;
            addCompetition.ShowDialog();
            RefreshDashboard();
        }
        private void BtnAddCompetition_Click(object sender, RoutedEventArgs e)
        {
            // allows us to call the addCompetition Screen
            AddCompetition addCompetition = new AddCompetition();

            addCompetition.hosting_club_id = club_id;
            addCompetition.club_id         = club_id;
            addCompetition.ShowDialog();
            RefreshCompetitionList();
        }