public PanelView(int id_emp, int id_soc) { InitializeComponent(); this.id_employe = id_emp; this.id_societe = id_soc; controler = new EmpControler(id_soc); // new }
private void LoginEmpView_Load(object sender, EventArgs e) { this.MaximumSize = new Size(467, 249); this.MaximizeBox = false; this.ControlBox = false; controler = new EmpControler(this.id); }
public modifyEmp(int id_soc, int id_emp) { InitializeComponent(); this.id_soc = id_soc; this.id_emp = id_emp; controler = new EmpControler(id_soc); }