Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     Data = new ExamsData();
     Data.Exam = comboBox1.Text;
     Data.Scores = numericUpDown1.Text;
 }
Exemple #2
0
 private ListViewItem GetListViewItemFromExamData(ExamsData examData)
 {
     ListViewItem lvi = new ListViewItem(examData.Exam);
     lvi.SubItems.Add(examData.Scores);
     lvi.Tag = examData;
     return lvi;
 }