示例#1
0
 private void button2_Click(object sender, EventArgs e)
 {
     Form2 form = new Form2();
     if (form.ShowDialog() == DialogResult.OK) {
         listBox1.Items.Add(form.GetCours());
     }
 }