Ansicht Urlaub Feiertag verbessert.
This commit is contained in:
@@ -102,42 +102,63 @@ Public Class frmUrlKW
|
|||||||
lblMo.TextAlign = ContentAlignment.TopLeft
|
lblMo.TextAlign = ContentAlignment.TopLeft
|
||||||
lblMo.Text &= ftString
|
lblMo.Text &= ftString
|
||||||
lblMo.ForeColor = Color.Red
|
lblMo.ForeColor = Color.Red
|
||||||
|
Else
|
||||||
|
lblMo.TextAlign = ContentAlignment.TopCenter
|
||||||
|
lblMo.ForeColor = Color.Black
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If (FT.isFeiertag(montag.AddDays(1), cDienstSettings.getLand(niederlassung))) Then
|
If (FT.isFeiertag(montag.AddDays(1), cDienstSettings.getLand(niederlassung))) Then
|
||||||
lblDi.TextAlign = ContentAlignment.TopLeft
|
lblDi.TextAlign = ContentAlignment.TopLeft
|
||||||
lblDi.Text &= ftString
|
lblDi.Text &= ftString
|
||||||
lblDi.ForeColor = Color.Red
|
lblDi.ForeColor = Color.Red
|
||||||
|
Else
|
||||||
|
lblDi.TextAlign = ContentAlignment.TopCenter
|
||||||
|
lblDi.ForeColor = Color.Black
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If (FT.isFeiertag(montag.AddDays(2), cDienstSettings.getLand(niederlassung))) Then
|
If (FT.isFeiertag(montag.AddDays(2), cDienstSettings.getLand(niederlassung))) Then
|
||||||
lblMi.TextAlign = ContentAlignment.TopLeft
|
lblMi.TextAlign = ContentAlignment.TopLeft
|
||||||
lblMi.Text &= ftString
|
lblMi.Text &= ftString
|
||||||
lblMi.ForeColor = Color.Red
|
lblMi.ForeColor = Color.Red
|
||||||
|
Else
|
||||||
|
lblMi.TextAlign = ContentAlignment.TopCenter
|
||||||
|
lblMi.ForeColor = Color.Black
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If (FT.isFeiertag(montag.AddDays(3), cDienstSettings.getLand(niederlassung))) Then
|
If (FT.isFeiertag(montag.AddDays(3), cDienstSettings.getLand(niederlassung))) Then
|
||||||
lblDo.TextAlign = ContentAlignment.TopLeft
|
lblDo.TextAlign = ContentAlignment.TopLeft
|
||||||
lblDo.Text &= ftString
|
lblDo.Text &= ftString
|
||||||
lblDo.ForeColor = Color.Red
|
lblDo.ForeColor = Color.Red
|
||||||
|
Else
|
||||||
|
lblDo.TextAlign = ContentAlignment.TopCenter
|
||||||
|
lblDo.ForeColor = Color.Black
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If (FT.isFeiertag(montag.AddDays(4), cDienstSettings.getLand(niederlassung))) Then
|
If (FT.isFeiertag(montag.AddDays(4), cDienstSettings.getLand(niederlassung))) Then
|
||||||
lblFr.TextAlign = ContentAlignment.TopLeft
|
lblFr.TextAlign = ContentAlignment.TopLeft
|
||||||
lblFr.Text &= ftString
|
lblFr.Text &= ftString
|
||||||
lblFr.ForeColor = Color.Red
|
lblFr.ForeColor = Color.Red
|
||||||
|
Else
|
||||||
|
lblFr.TextAlign = ContentAlignment.TopCenter
|
||||||
|
lblFr.ForeColor = Color.Black
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If (FT.isFeiertag(montag.AddDays(5), cDienstSettings.getLand(niederlassung))) Then
|
If (FT.isFeiertag(montag.AddDays(5), cDienstSettings.getLand(niederlassung))) Then
|
||||||
lblSa.TextAlign = ContentAlignment.TopLeft
|
lblSa.TextAlign = ContentAlignment.TopLeft
|
||||||
lblSa.Text &= ftString
|
lblSa.Text &= ftString
|
||||||
lblSa.ForeColor = Color.Red
|
lblSa.ForeColor = Color.Red
|
||||||
|
Else
|
||||||
|
lblSa.TextAlign = ContentAlignment.TopCenter
|
||||||
|
lblSa.ForeColor = Color.Black
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If (FT.isFeiertag(montag.AddDays(6), cDienstSettings.getLand(niederlassung))) Then
|
If (FT.isFeiertag(montag.AddDays(6), cDienstSettings.getLand(niederlassung))) Then
|
||||||
lblSo.TextAlign = ContentAlignment.TopLeft
|
lblSo.TextAlign = ContentAlignment.TopLeft
|
||||||
lblSo.Text &= ftString
|
lblSo.Text &= ftString
|
||||||
lblSo.ForeColor = Color.Red
|
lblSo.ForeColor = Color.Red
|
||||||
|
Else
|
||||||
|
lblSo.TextAlign = ContentAlignment.TopCenter
|
||||||
|
lblSo.ForeColor = Color.Black
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user