public DepartmentManagerPP(MySqlConnection c, DeptManager dm, MainStoreManagerApp pf) { InitializeComponent(); connection = c; manager = dm; parentForm = pf; RefreshFields(); }
public DepartmentPP(MySqlConnection c, List<DeptManager> l, Department d, DeptManager cm, MainStoreManagerApp pf) { InitializeComponent(); connection = c; dept = d; parentForm = pf; deptManagers = l; currentManager = cm; RefreshFields(); SetManagerItems(); AddCurrentlySetManager(); }