Personalakte und ComputerAppConfig Fehler

This commit is contained in:
Developer01
2025-06-05 15:36:50 +02:00
parent b4631d8af8
commit 0159fa79c4
18 changed files with 356 additions and 368 deletions

View File

@@ -89,8 +89,18 @@ Public Class ClassDocGrid
Return oSelectedRows.Count = 0
End Function
Public Shared Function GetSelectedDocuments(pGridView As GridView) As List(Of clsWMDoc)
Dim oSelectedRows As List(Of Integer) = pGridView.GetSelectedRows().ToList()
Public Shared Function GetSelectedDocuments(pGridView As GridView, Optional pGetFirst As Boolean = False) As List(Of clsWMDoc)
Dim oSelectedRows As List(Of Integer)
If pGridView.RowCount = 0 Then
Return Nothing
End If
If pGetFirst = True Then
pGridView.FocusedRowHandle = 0
oSelectedRows = New List(Of Integer) From {0}
Else
oSelectedRows = pGridView.GetSelectedRows().ToList()
End If
Dim oDocuments As New List(Of clsWMDoc)
For Each oRowHandle In oSelectedRows