Esempio n. 1
0
        private void btnReportDate_Click(object sender, EventArgs e)
        {
            Vacations vacForm = new Vacations();

            vacForm.gdcVacation.DataSource = _vacationBL.GetByDate(dteReportFrom.DateTime, dteReportTo.DateTime);
            vacForm.Show();
        }
Esempio n. 2
0
        private void btnReportChronological_Click(object sender, EventArgs e)
        {
            Vacations vacForm = new Vacations();

            vacForm.gdcVacation.DataSource = _vacationBL.GetAll();
            vacForm.Show();
        }
Esempio n. 3
0
        private void btnReportDispatcher_Click(object sender, EventArgs e)
        {
            Vacations vacForm = new Vacations();

            vacForm.gdcVacation.DataSource = _vacationBL.GetByDispatcher((TIS.Model.Internal.Employee)glouReportDispatcher.GetSelectedDataRow());
            vacForm.Show();
        }
Esempio 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();
        }