private void btnAdd_Click(object sender, EventArgs e)
        {
            Form addScore = new frmAddScore();

            addScore.ShowDialog();
            bind.ResetBindings(false);
        }
Пример #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmAddScore  addScoreForm   = new frmAddScore();
            DialogResult selectedButton = addScoreForm.ShowDialog();

            lstScores.Items.Add(addScoreForm.Tag);
        }