private void heureBtn_Click(object sender, EventArgs e) { cours_Ex cours_Ex = new cours_Ex(); this.Controls.Add(cours_Ex); cours_Ex.Location = new Point(75, 0); cours_Ex.BringToFront(); cours_Ex.Show(); }
private void heureBtn_Click(object sender, EventArgs e) { cours_Ex cours_Ex = new cours_Ex(); mathsForm1.ActiveForm.Controls.Add(cours_Ex); cours_Ex.Location = new Point(50, 50); cours_Ex.BringToFront(); cours_Ex.Show(); //heureExCtrl1.Show(); }