mirror of
https://github.com/bvanroll/cs-oo-project.git
synced 2025-08-30 04:22:42 +00:00
ui nog wa aanpasse en we zijn gucci
This commit is contained in:
@@ -16,7 +16,7 @@ namespace GUI_Gokkantoor
|
||||
public LogicLayer l;
|
||||
public Admin(LogicLayer l)
|
||||
{
|
||||
l = new LogicLayer();
|
||||
this.l = l;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@@ -55,5 +55,15 @@ namespace GUI_Gokkantoor
|
||||
a.FormClosed += adminClosed;
|
||||
a.Show();
|
||||
}
|
||||
|
||||
private void Admin_Load(object sender, EventArgs e)
|
||||
{
|
||||
listBox1.DataSource = l.GetGames();
|
||||
}
|
||||
|
||||
private void ListBox1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user