test ding

This commit is contained in:
Beppe Vanrolleghem
2019-08-07 13:09:09 +02:00
parent a50e4d0e44
commit e32405674a
5 changed files with 52 additions and 15 deletions

View File

@@ -17,18 +17,16 @@ namespace GUI_Gokkantoor
public LogicLayer l;
public Login(LogicLayer l)
{
l = new LogicLayer();
this.l = l;
InitializeComponent();
listBox1.DataSource = l.persons;
listBox1.DataSource = l.persons;
}
private void button1_Click(object sender, EventArgs e)
{
Person p = (Person)listBox1.SelectedItem;
Gokspel a = new Gokspel(l,p);
this.Hide();
a.FormClosed += adminClosed;