private void btnOpenCompetition_Click(object sender, RoutedEventArgs e)
        {
            // change competition status from "S" to "O"
            // only allowed if I am competition secretary and today = competition date
            // Competition competition = new Competition();
            // competition.ShowDialog();
            RunCompetition runcompetition = new RunCompetition();

            runcompetition.ShowDialog();
        }
Beispiel #2
0
        private void BtnOpenCompetition_Click(object sender, RoutedEventArgs e)
        {
            RunCompetition runcompetition = new RunCompetition();

            runcompetition.tbxCompetitionName.Text = tbxCompetitionName.Text;
            runcompetition.tbxCompetitionDate.Text = tbxCompetitionDate.Text;
            runcompetition.competition_id          = competition_id;
            runcompetition.ShowDialog();
            //competition.ShowDialog();
        }