private bool UndoStep()
        {
            if (PlayTimeLine.Count <= 0)
            {
                return(false);
            }

            PlayInfo oldPoint = PlayTimeLine.Pop();

            UndoTimeLine.Push(oldPoint);
            Button btn = Matrix[oldPoint.Point.Y][oldPoint.Point.X];

            btn.BackgroundImage = null;

            if (PlayTimeLine.Count <= 0)
            {
                CurrentPlayer = 0;
            }
            else
            {
                oldPoint = PlayTimeLine.Peek();
            }

            ChangePlayer();

            return(true);
        }
        public bool UndoAStep()
        {
            if (PlayTimeLine.Count <= 0)
            {
                return(false);
            }
            PlayInfo oldPoint = PlayTimeLine.Pop();
            Button   btn      = Matrix[oldPoint.Point.Y][oldPoint.Point.X];

            btn.BackgroundImage = null;

            if (PlayTimeLine.Count <= 0)
            {
                CurrentPlayer = 0;
            }
            else
            {
                oldPoint      = PlayTimeLine.Peek();
                CurrentPlayer = oldPoint.CurrentPlayer == 1 ? 0 : 1;
            }

            ChangePlayer();

            return(true);
        }