private void buttonAddAnswer_Click(object sender, EventArgs e) { FormAddAnswer form = new FormAddAnswer(dec); form.ShowDialog(); listBoxAnswersI.DataSource = dec.GetListAnswers(); }
private void buttonAddAnswerIII_Click(object sender, EventArgs e) { FormAddAnswer form = new FormAddAnswer(decLabelIII); form.ShowDialog(); labelSum3.Text = SumPoint.sumPoint3.ToString(); listBoxAnswersIII.DataSource = decLabelIII.GetListAnswers(); }