private void btnReceptionEmployee_Click(object sender, EventArgs e) { if (SharedParam.CurrentUser.HasEmployeeHolderClass) { frm_reception frm = new frm_reception(SharedParam.EMPLOYEE_HOLDER_CLASS); frm.ShowDialog(); } }
private void btnReception_Click(object sender, EventArgs e) { if (SharedParam.CurrentUser.HasSingleHolderClass) { frm_reception frm = new frm_reception(SharedParam.SINGLE_HOLDER_CLASS); frm.ShowDialog(); } }