private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { Form3 form = new Form3(); form.SetCours(listBox1.SelectedItem.ToString()); form.Text = listBox1.SelectedItem.ToString(); form.MdiParent = this.MdiParent; form.Show(); }
private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { Form3 form = new Form3(); form.SetCours(listBox1.SelectedItem.ToString()); form.Text = listBox1.SelectedItem.ToString(); form.MdiParent = this.MdiParent; form.Show(); }