update 20250209

This commit is contained in:
Stefan Hutter
2025-02-09 20:44:54 +01:00
parent c316b40507
commit f8f1404ef9
136 changed files with 549632 additions and 150 deletions

View File

@@ -16,6 +16,11 @@ namespace OnDoc.DocMgmt
public partial class frmNote : SfForm
{
public string dokumentid { get; set; }
public int notiznr { get; set; } = 0;
public string betreff { get; set; } = "";
public string notiz { get; set; } = "";
public frmNote()
{
InitializeComponent();
@@ -45,7 +50,9 @@ namespace OnDoc.DocMgmt
private void button1_Click(object sender, EventArgs e)
{
Database.DB db = new Database.DB(AppParams.connectionstring);
db.insert_note(AppParams.CurrentMitarbeiter,txtbetreff.Text,textBox1.Text,dokumentid);
this.notiznr=db.insert_note(AppParams.CurrentMitarbeiter,txtbetreff.Text,textBox1.Text,dokumentid);
this.notiz = textBox1.Text;
this.betreff = txtbetreff.Text;
DialogResult = DialogResult.OK;
}
}