Exemplo n.º 1
0
 public void errorHint(Button b)
 {
     if (judge.isError(b))
     {
         changeColor(b, Color.Red);
     }
     else
     {
         changeColor(b, Color.Red, Color.White);
     }
 }
Exemplo n.º 2
0
        public bool isWin()
        {
            clsJudge judge = new clsJudge(this);
            bool     flag  = true;

            if (step != 0)
            {
                flag = false;
            }
            else
            {
                for (int i = 0; i < Done.Count; i++)
                {
                    if (judge.isError(Done[i]))
                    {
                        flag = false;
                    }
                }
            }
            return(flag);
        }