AAS, BenachrichtungenLayout, unboundSnd
This commit is contained in:
@@ -189,6 +189,8 @@ Public Class usrCntlBenachrichtigungen
|
||||
If r.Cells("ab_BenachrichtigungCode").Value = "6" Then
|
||||
r.Cells("ab_Art").Value = "VK"
|
||||
End If
|
||||
|
||||
|
||||
Next
|
||||
|
||||
'.Width = gridAviso.Width - gridVermerke.Width
|
||||
@@ -205,6 +207,26 @@ Public Class usrCntlBenachrichtigungen
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub gridAvisoBenachrichtigungen_CellPainting(sender As Object, e As DataGridViewCellPaintingEventArgs) Handles gridAvisoBenachrichtigungen.CellPainting
|
||||
If e.RowIndex <> -1 AndAlso gridAvisoBenachrichtigungen.Columns(e.ColumnIndex).Name = "ab_Art" Then
|
||||
If gridAvisoBenachrichtigungen.Rows(e.RowIndex).Cells("ab_Beschreibung").Value.ToString.Contains("AAS:") Then
|
||||
If (e.PaintParts And DataGridViewPaintParts.Background) <> DataGridViewPaintParts.None Then
|
||||
e.Graphics.DrawImage(My.Resources.reminder, e.CellBounds)
|
||||
'e.CellStyle.BackColor = Color.White
|
||||
gridAvisoBenachrichtigungen.Rows(e.RowIndex).Cells("ab_Art").Value = ""
|
||||
gridAvisoBenachrichtigungen.Rows(e.RowIndex).Cells("ab_Art").Style.BackColor = Color.Gray
|
||||
End If
|
||||
|
||||
|
||||
If Not e.Handled Then
|
||||
e.Handled = True
|
||||
e.PaintContent(e.CellBounds)
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub usrCntlBenachrichtigungen_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||
|
||||
'MyComboBox2.Items.Clear()
|
||||
|
||||
Reference in New Issue
Block a user