private void btnupdate_Click(object sender, EventArgs e) { addstaff = new AddStaff(new List <object>() { }); mdi.main(encapulation.Parent1, addstaff); }
private void btnadd_Click(object sender, EventArgs e) { addstaff = new AddStaff(); mdi.main(encapulation.Parent1, addstaff); }