cFakt, Kundenblatt, ustva, etc.

This commit is contained in:
2025-02-12 10:56:14 +01:00
parent 7223ee1e98
commit 76dbe4021a
16 changed files with 3517 additions and 2983 deletions

View File

@@ -2,6 +2,7 @@
Imports VERAG_PROG_ALLGEMEIN
Public Class frmDatumsabfrage
Dim onlypastDate As Boolean = True
Sub New()
@@ -9,11 +10,21 @@ Public Class frmDatumsabfrage
InitializeComponent()
End Sub
Sub New(title As String, _onlypastDate As Boolean)
' Dieser Aufruf ist für den Designer erforderlich.
InitializeComponent()
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
onlypastDate = _onlypastDate
lbl.Text = title
End Sub
Public Datum As Date = CDate(Now.ToShortDateString)
Private Sub btn_Click(sender As Object, e As EventArgs) Handles btn.Click
Label1.Text = ""
If CDate(dtp_date.Value) > CDate(Now.ToShortDateString) Then
If onlypastDate And CDate(dtp_date.Value) > CDate(Now.ToShortDateString) Then
Label1.Text = "Muss heute oder früher sein!"
Me.DialogResult = DialogResult.None
Exit Sub