diff --git a/Aviso/My Project/AssemblyInfo.vb b/Aviso/My Project/AssemblyInfo.vb index 66dd162..2a18a30 100644 --- a/Aviso/My Project/AssemblyInfo.vb +++ b/Aviso/My Project/AssemblyInfo.vb @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - - + + diff --git a/Aviso/frmEintragAviso.vb b/Aviso/frmEintragAviso.vb index 8d580d2..7f471e3 100644 --- a/Aviso/frmEintragAviso.vb +++ b/Aviso/frmEintragAviso.vb @@ -630,14 +630,15 @@ Public Class frmEintragAviso End If End If - If CDate(dtpAvisoEingangDatum.Value) > Now Then - MsgBox("Aviso-Datum darf nicht in der Zukunft liegen!", vbInformation) - dtpAvisoEingangDatum.Focus() - Exit Sub - End If If optAvisoEingang.Checked Then + If CDate(dtpAvisoEingangDatum.Value) > Now Then + MsgBox("Aviso-Datum darf nicht in der Zukunft liegen!", vbInformation) + dtpAvisoEingangDatum.Focus() + Exit Sub + End If + If dtpAvisoEingangZeit.Value.Hour = 0 And dtpAvisoEingangZeit.Value.Minute = 0 Then ' MsgBox("Bitte eine gültige Uhrzeit bei Aviso-Eingang eingegeben (00:00 ist nicht erlaubt).", vbInformation) lblErr_Uhrzeit.Visible = True diff --git a/Aviso/usrcntlAktDetailsATILLANeu.Designer.vb b/Aviso/usrcntlAktDetailsATILLANeu.Designer.vb index 80088d9..9e69363 100644 --- a/Aviso/usrcntlAktDetailsATILLANeu.Designer.vb +++ b/Aviso/usrcntlAktDetailsATILLANeu.Designer.vb @@ -866,6 +866,7 @@ Partial Class usrcntlAktDetailsATILLANeu Me.Button12.Name = "Button12" Me.Button12.Size = New System.Drawing.Size(75, 23) Me.Button12.TabIndex = 0 + Me.Button12.Visible = False ' 'Button8 '