private void P_astronaute_Click(object sender, EventArgs e) { Fexploration rechercheExp = new Fexploration(); rechercheExp.MdiParent = this.MdiParent; rechercheExp.StartPosition = FormStartPosition.CenterScreen; //rechercheExp.Size = MdiParent.Size; rechercheExp.Size = new Size(Parent.Width-4, Parent.Height-4); rechercheExp.Show(); Close(); }
private void P_astronaute_Click(object sender, EventArgs e) { Fexploration rechercheExp = new Fexploration(); rechercheExp.MdiParent = this.MdiParent; rechercheExp.StartPosition = FormStartPosition.CenterScreen; //rechercheExp.Size = MdiParent.Size; rechercheExp.Size = new Size(Parent.Width - 4, Parent.Height - 4); rechercheExp.Show(); Close(); }