Add configuration to autoload data on form open

This commit is contained in:
Jonathan Jenne
2022-07-04 09:10:38 +02:00
parent a0217d0582
commit f0a340f742
3 changed files with 8 additions and 1 deletions

View File

@@ -90,6 +90,10 @@ Public Class frmExportMain
Where(Function(mandator) mandator.Id = ConfigManager.Config.LastUsedMandator).
FirstOrDefault()
End If
If ConfigManager.Config.AutomaticLoadingOnFormOpen = True Then
SearchDocuments()
End If
Catch ex As Exception
FormHelper.ShowError(ex, "Initialisierung der Form")
End Try