Prefix und Suffix können nun bearbeitet werden
This commit is contained in:
37
SanSystem/FrmPrefixSuffix.cs
Normal file
37
SanSystem/FrmPrefixSuffix.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using Database;
|
||||
using KlassenBIB;
|
||||
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;
|
||||
|
||||
namespace SanSystem
|
||||
{
|
||||
public partial class FrmPrefixSuffix : Form
|
||||
{
|
||||
Projekt aktuelleProjekt;
|
||||
public FrmPrefixSuffix()
|
||||
{
|
||||
InitializeComponent();
|
||||
aktuelleProjekt = Datenbank.Instance.loadedProjekt;
|
||||
}
|
||||
|
||||
private void FrmPrefixSuffix_Load(object sender, EventArgs e)
|
||||
{
|
||||
txt_prefix.DataBindings.Add("text", aktuelleProjekt, "SanierungsIDPrefix");
|
||||
txt_suffix.DataBindings.Add("text", aktuelleProjekt, "SanierungsIDSuffix");
|
||||
}
|
||||
|
||||
private void Btn_safe_Click(object sender, EventArgs e)
|
||||
{
|
||||
txt_prefix.DataBindings.Clear();
|
||||
txt_suffix.DataBindings.Clear();
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user