Files
cs-oo-project/Online Gokkantoor/GUI_Gokkantoor/Login.cs
2019-07-29 20:13:10 +02:00

36 lines
791 B
C#

using Logic;
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 GUI_Gokkantoor
{
public partial class Login : Form
{
public LogicLayer l;
public Login(LogicLayer l)
{
l = new LogicLayer();
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Gokspel a = new Gokspel(l);
this.Hide();
a.FormClosed += adminClosed;
a.Show();
}
private void adminClosed(object sender, FormClosedEventArgs e)
{
this.Show();
}
}
}