Exemple #1
0
 public void errorHint(Button b)
 {
     if (judge.isError(b))
     {
         changeColor(b, Color.Red);
     }
     else
     {
         changeColor(b, Color.Red, Color.White);
     }
 }
Exemple #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);
        }