MH: Samstage farblich angepasst

This commit is contained in:
Marcel Hirschle
2021-08-05 11:35:55 +02:00
parent 90822eb2f1
commit 14604ca417

View File

@@ -93,9 +93,9 @@ namespace BeWo.Report.DefaultReports
if(cell.Index <= DateTime.DaysInMonth(Year, Month))
{
DateTime date = new DateTime(Year, Month, cell.Index);
if (date.DayOfWeek == DayOfWeek.Sunday)
if (date.DayOfWeek == DayOfWeek.Sunday || date.DayOfWeek == DayOfWeek.Saturday)
cell.BackColor = Color.LightGray;
else if (Feiertage != null)
if (Feiertage != null)
{
if (Feiertage.Contains(date.Day))
cell.BackColor = Color.LightPink;