Ejemplo n.º 1
0
 private void KetQua()
 {
     KiemTra.KetThucTran(banchoi.GetHoleArray);
     if (KetThucGame == true)
     {
         if (NguoiChienThang == 0)
         {
             txt_Display.Text    = "Hòa";
             txt_Display.Visible = true;
         }
         else if (NguoiChienThang == 1)
         {
             txt_Display.Text    = "Người Chơi 1 Thắng";
             txt_Display.Visible = true;
         }
         else
         {
             txt_Display.Text    = "Người Chơi 2 Thắng";
             txt_Display.Visible = true;
         }
     }
 }