public void UnDoAll()
 {
     while (_stack.Count > 0)
     {
         AbstractCommand cmd = _stack.Pop();
         cmd.ReverseExecute();
     }
 }
        public void UndoLast()
        {
            AbstractCommand cmd = _stack.Pop();

            cmd.ReverseExecute();
        }