Exemplo n.º 1
0
 private void btnReportEmployee_Click(object sender, EventArgs e)
 {
     Vacations vacForm = new Vacations();
     TIS.Model.Internal.Employee emp = ((TIS.Model.Internal.Employee)glouReportEmployee.GetSelectedDataRow());
     vacForm.gdcVacation.DataSource = _vacationBL.GetByEmployee(emp);
     vacForm.Show();
 }
Exemplo n.º 2
0
 private void btnReportChronological_Click(object sender, EventArgs e)
 {
     Vacations vacForm = new Vacations();
     vacForm.gdcVacation.DataSource = _vacationBL.GetAll();
     vacForm.Show();
 }
Exemplo n.º 3
0
 private void btnReportDate_Click(object sender, EventArgs e)
 {
     Vacations vacForm = new Vacations();
     vacForm.gdcVacation.DataSource = _vacationBL.GetByDate(dteReportFrom.DateTime, dteReportTo.DateTime);
     vacForm.Show();
 }
Exemplo n.º 4
0
 private void btnReportAlphabetical_Click(object sender, EventArgs e)
 {
     Vacations vacForm = new Vacations();
     vacForm.gdcVacation.DataSource = _vacationBL.GetAll().OrderBy(v => v.Employee.DisplayName);
     vacForm.Show();
 }