private void btnSTAGAIRE_Click(object sender, EventArgs e) { FermerFormulaire(); sg = new Stagaire(); sg.MdiParent = this; sg.Size = this.Size; sg.Dock = DockStyle.Fill; sg.Show(); }
private void metroTile1_Click(object sender, EventArgs e) { Stagaire sg = new Stagaire(); sg.MdiParent = this.MdiParent; this.Close(); sg.Size = sg.MdiParent.Size; sg.Dock = DockStyle.Fill; sg.Show(); }