예제 #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();
        }
예제 #2
0
        private void btnReportChronological_Click(object sender, EventArgs e)
        {
            Vacations vacForm = new Vacations();

            vacForm.gdcVacation.DataSource = _vacationBL.GetAll();
            vacForm.Show();
        }
예제 #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();
        }
예제 #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();
        }