Exemplo n.º 1
0
        public void showUserPayroll(DashboardForm dashboardForm, User user)
        {
            PayrollForm payrollForm = new PayrollForm(dashboardForm, user);

            dashboardForm.Hide();
            payrollForm.ShowDialog();
        }
Exemplo n.º 2
0
        public void showUserPayroll(DashboardForm dashboardForm, Payslip payslip)
        {
            dashboardForm.Hide();
            PayrollForm payrollForm = new PayrollForm(dashboardForm, payslip);

            payrollForm.ShowDialog();
        }