Monitoring Anpassung, MDM Plose Einarbeitung Consortio, Update SND DY Anm

This commit is contained in:
2023-01-10 10:07:34 +01:00
parent d2f9685c4e
commit b0bc10ec94
20 changed files with 263 additions and 64 deletions

View File

@@ -68,7 +68,7 @@ Public Class frmLogin
txtUser.Focus()
lblAlertTxt.Visible = False
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
lblVersion.Text = lblVersion.Text & " " & My.Resources.Version
lblVersion.Text = lblVersion.Text & " " & Application.ProductVersion 'My.Resources.Version
lblVersion.ContextMenuStrip = ctxUpdate
'auf UPDATES prüfen:
@@ -78,7 +78,7 @@ Public Class frmLogin
Sub UpdateMe(Optional doUpdateAnyway = False)
If doUpdateAnyway OrElse CInt(ADMIN.getAktuelleVersion().Replace(".", "")) > CInt(My.Resources.Version.Replace(".", "")) Then
If doUpdateAnyway OrElse CInt(ADMIN.getAktuelleVersion().Replace(".", "")) > CInt(Application.ProductVersion.Replace(".", "")) Then
Me.Enabled = False
If doUpdateAnyway OrElse vbYes = MsgBox("Es ist eine neue Programm-Version verfügbar. Das Programm muss aktualisiert werden, bevor Sie es weiter verwenden können. " & vbNewLine & vbNewLine & "Update jetzt durchführen?", CType(vbQuestion + vbYesNo, MsgBoxStyle), "Update verfügbar") Then
UpdateADMIN()