Beispiel #1
0
        private void btnAddHomeGoalscorer_Click(object sender, EventArgs e)
        {
            AddGoalscorer homegoalscorer = new AddGoalscorer();
            DialogResult  dialogResult   = homegoalscorer.ShowDialog();

            if (dialogResult == DialogResult.OK)
            {
                lbHomeGoalScorer.Items.Add(homegoalscorer);
            }
        }
Beispiel #2
0
 private void btnAddAwayGoalscorer_Click(object sender, EventArgs e)
 {
     AddGoalscorer awaygoalscorer = new AddGoalscorer();
     DialogResult  dialogResult   = awaygoalscorer.ShowDialog();
 }