MS NotifyIcon logging Init

This commit is contained in:
2021-01-04 16:37:57 +01:00
parent f7f72fc3ae
commit 2ad498c8f2
8 changed files with 29 additions and 4 deletions

View File

@@ -48,7 +48,10 @@ Public NotInheritable Class frmSplash
Thread.Sleep(200)
Worker.ReportProgress(CalcProgress(4), "Initializing User-Configuration")
If Init.InitUserLogin = False Then
If My.Settings.GHOSTUSER <> String.Empty Then
Logger.Info($"GHOSTLogin [{My.Settings.GHOSTUSER} is active!")
End If
If Init.InitUserLogin(My.Settings.GHOSTUSER) = False Then
If ERROR_INIT = "" Then
ERROR_INIT = "INVALID USER"
End If
@@ -80,4 +83,10 @@ Public NotInheritable Class frmSplash
' Wenn kein Fehler, Splashscreen schließen
Close()
End Sub
Private Sub frmSplash_KeyDown(sender As Object, e As KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.Escape Then
End If
End Sub
End Class