You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.3 KiB
48 lines
1.3 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
using OnDoc.Klassen;
|
|
using Syncfusion.Windows.Forms.Tools;
|
|
using Syncfusion.WinForms.Controls;
|
|
|
|
namespace OnDoc.DocMgmt
|
|
{
|
|
public partial class frmNote : SfForm
|
|
{
|
|
public string dokumentid { get; set; }
|
|
public frmNote()
|
|
{
|
|
InitializeComponent();
|
|
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
|
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
|
}
|
|
|
|
public frmNote(string dokumentid)
|
|
{
|
|
InitializeComponent();
|
|
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
|
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
|
this.dokumentid= dokumentid;
|
|
|
|
}
|
|
|
|
private void frmNote_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
Database.DB db = new Database.DB(AppParams.connectionstring);
|
|
db.insert_note(AppParams.CurrentMitarbieter,txtbetreff.Text,textBox1.Text,dokumentid);
|
|
DialogResult = DialogResult.OK;
|
|
}
|
|
}
|
|
}
|