mirror of
https://github.com/bvanroll/cs-oo-project.git
synced 2025-08-29 12:02:40 +00:00
38 lines
860 B
C#
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)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|