Exemplo n.º 1
0
 protected override System.Data.DataView loadGridviewDataSource()
 {
     return(Workshift.get(chkIncludeInactive.Checked, null,
                          itxt_Name.ValueText,
                          getFilterValue <Guid?>(itxt_Clients),
                          getFilterValue <Guid?>(itxt_UserAccounts),
                          getFilterValue <Guid?>(itxt_WorkshiftTemplate),
                          getFilterValue <Guid?>(itxt_WorkshiftCategories),
                          getFilterValue <int?>(iddl_DayOfWeek),
                          getFilterValue <TimeSpan?>(idtp_Start),
                          getFilterValue <int?>(in_DurationMinutes),
                          getFilterValue <string>(itxt_Notes)
                          ).DefaultView);
 }
Exemplo n.º 2
0
 private void populateDgvWorkshifts()
 {
     Util.populateDataGridView(dgvWorkshifts, Workshift.get(false, null, null, _Clients_Id, null, null, null, (int)Util.getDayOfWeekFromActiveRadioButtonTag(flpWorkshifts), null, null, null));
 }