Files
cs-oo-project/Online Gokkantoor/Gui/mainForm.aspx.cs
Beppe d883bce694 euh
2019-07-06 01:41:20 +02:00

38 lines
860 B
C#

using System;
using System.Diagnostics;
using System.Web;
using System.Web.UI;
using Globals.classes;
using Logic;
namespace Gui
{
public partial class mainForm : System.Web.UI.Page
{
LogicLayer logic;
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
logic = (LogicLayer)System.Web.HttpContext.Current.Application["logic"];
listGames.DataSource = logic.games;
listGames.DataBind();
Person test = (Globals.classes.Person)HttpContext.Current.Application["user"];
Debug.Print(test.ToString());
}
}
public void btnAddBalance_Click(object o, EventArgs e)
{
}
public void placeBet_Click(object o, EventArgs e)
{
}
}
}