private void label1_Click(object sender, EventArgs e) { AjoutPersonne p = new AjoutPersonne(); fx.openChildForm(p, PanelAffichage); panelMouve.Height = panel2.Height; panelMouve.Top = panel2.Top; }
private void FrmEnregistrement_Load(object sender, EventArgs e) { AjoutPersonne p = new AjoutPersonne(); PanelAffichage.Controls.Clear(); fx.openChildForm(p, PanelAffichage); panelMouve.Height = panel2.Height; panelMouve.Top = panel2.Top; }