예제 #1
0
        private void btAdd_Click(object sender, EventArgs e)
        {
            var resp = new Respondent();

            listBox.Items.Add(resp.Name);
            Respondents.Add(resp);
        }
 public fWorkingArea(Respondent res)
 {
     InitializeComponent();
     respondent       = res;
     tbName.Text      = respondent.Name;
     nudAge.Value     = respondent.Age;
     tbAddedInfo.Text = respondent.AddedInfo;
 }