MH: Samstage farblich angepasst
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user