예제 #1
0
 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);
         }
     }
 }
예제 #2
0
        protected void Button2_Click(object sender, EventArgs e)
        {
            HuntClass h1 = new HuntClass();

            h1.ResetClue("1");
        }