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.WinForms.Controls; using Syncfusion.WinForms.Controls.Styles; using Database; namespace OnDoc.UIControls.Administrator { public partial class Dokumenttyp : SfForm { private int dokumenttypnr = 0; public Dokumenttyp() { InitializeComponent(); } public Dokumenttyp(int dokumenttypnr) { InitializeComponent(); this.dokumenttypnr=dokumenttypnr; } private void Dokumenttyp_Load(object sender, EventArgs e) { DB db = new DB(AppParams.connectionstring); db.Get_Tabledata("Select office_vorlagenr, bezeichnung from office_vorlage", false,true); cbboxofficevorlage.DataSource = db.dsdaten.Tables[0]; cbboxofficevorlage.DisplayMember = "Bezeichnung"; cbboxofficevorlage.ValueMember = "office_vorlagenr"; } private void groupBox3_Enter(object sender, EventArgs e) { } } }