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); }
private void populateDgvWorkshifts() { Util.populateDataGridView(dgvWorkshifts, Workshift.get(false, null, null, _Clients_Id, null, null, null, (int)Util.getDayOfWeekFromActiveRadioButtonTag(flpWorkshifts), null, null, null)); }