mirror of
https://github.com/bvanroll/cs-oo-project.git
synced 2025-08-30 12:32:43 +00:00
update
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Logic;
|
||||
using Globals.classes;
|
||||
using Logic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -18,11 +19,17 @@ namespace GUI_Gokkantoor
|
||||
{
|
||||
l = new LogicLayer();
|
||||
InitializeComponent();
|
||||
listBox1.DataSource = l.persons;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
Gokspel a = new Gokspel(l);
|
||||
Person p = (Person)listBox1.SelectedItem;
|
||||
|
||||
|
||||
|
||||
|
||||
Gokspel a = new Gokspel(l,p);
|
||||
this.Hide();
|
||||
a.FormClosed += adminClosed;
|
||||
a.Show();
|
||||
@@ -31,5 +38,10 @@ namespace GUI_Gokkantoor
|
||||
{
|
||||
this.Show();
|
||||
}
|
||||
|
||||
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user