Besatzung wird gespeichert

This commit is contained in:
HuskyTeufel
2021-05-12 11:38:31 +02:00
parent 1112644cfe
commit 01028bcece
2 changed files with 32 additions and 0 deletions

View File

@@ -15,6 +15,18 @@ namespace SanSystem
public FrmAktuelleBesatzung()
{
InitializeComponent();
if(Global.Instance.AktuelleBesatzung != string.Empty)
{
string[] besatzung = Global.Instance.AktuelleBesatzung.Split('/');
if(besatzung.Length > 0)
{
txt_vorarbeiter.Text = besatzung[0];
if(besatzung.Length > 1)
{
txt_nacharbeiter.Text = besatzung[1];
}
}
}
}
private void btn_ok_Click(object sender, EventArgs e)