private void FrmFinance_Load(object sender, EventArgs e) { AjoutFacture p = new AjoutFacture(); PanelAffichage.Controls.Clear(); panelMouve.Height = panel7.Height; panelMouve.Top = panel7.Top; fx.openChildForm(p, PanelAffichage); }
private void label5_Click(object sender, EventArgs e) { AjoutFacture p = new AjoutFacture(); p.idagent.Text = idagent.Text; PanelAffichage.Controls.Clear(); panelMouve.Height = panel7.Height; panelMouve.Top = panel7.Top; fx.openChildForm(p, PanelAffichage); }