protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { HuntClass h1 = new HuntClass(); Panel p = new Panel(); if (h1.GetClue(Id, ref p)) { Room.Controls.Add(p); } } }
protected void Button2_Click(object sender, EventArgs e) { HuntClass h1 = new HuntClass(); h1.ResetClue("1"); }