This commit is contained in:
Beppe
2019-07-06 01:41:20 +02:00
parent df39b0392c
commit d883bce694
16 changed files with 110 additions and 33 deletions

View File

@@ -46,9 +46,9 @@ namespace Gui
public void updateGame_Click(object sender, EventArgs args)
{
logic = (LogicLayer)System.Web.HttpContext.Current.Application["logic"];
IList<Game> boundList2 = (IList<Game>)listGames.DataSource;
HttpContext.Current.Application["currGame"] = boundList2[listGames.SelectedIndex];
HttpContext.Current.Application["currGame"] = logic.getGameByString(listGames.SelectedValue);
Server.Transfer("updateGame.aspx");
}