API-Einstellungen, etc.

This commit is contained in:
2024-08-16 15:56:36 +02:00
parent 1f43b3ba54
commit 437bfea2dc
11 changed files with 6301 additions and 17 deletions

View File

@@ -147,7 +147,7 @@ Public Class usrCntlDatenarchiv
Dim c As New DataGridViewImageColumn
c.Name = "open" : c.HeaderText = "open"
c.Image = My.Resources.wait : c.ImageLayout = DataGridViewImageCellLayout.Zoom
c.Image = New Bitmap(1, 1)
c.Width = 40 : c.DefaultCellStyle.Padding = New Padding(2) : c.DefaultCellStyle.BackColor = Color.White
c.DefaultCellStyle.Tag = "open"
.Columns.Add(c)
@@ -157,9 +157,8 @@ Public Class usrCntlDatenarchiv
For Each r As DataGridViewRow In .Rows
If r.Cells("Param_value").Value IsNot DBNull.Value AndAlso r.Cells("Param_value").Value.ToString.StartsWith("\\") Then
DirectCast(r.Cells("open"), DataGridViewImageCell).Value = My.Resources.stift
Else
DirectCast(r.Cells("open"), DataGridViewImageCell).Value = My.Resources.del
DirectCast(r.Cells("open"), DataGridViewImageCell).Value = My.Resources.search
End If
Next