示例#1
0
 private void button1_Click(object sender, EventArgs e)
 {
     //d = new Designer();
     listBox1.Items.Clear();
     //label1.Text = Designer.Answer();
     listBox1.Items.Add(d.Answer());
     //listBox1.Items.Add(12);
     //List<object> testlist = new List<object>();
     //testlist.Add(1212122112);
     listBox1.Items.Add("I can remember these names:");
     foreach (object obj in d.ShowCusName())
     {
         listBox1.Items.Add(obj);
     }
 }
示例#2
0
 private void button1_Click(object sender, EventArgs e)
 {
     label1.Text = Designer.Answer();
 }