Ejemplo n.º 1
0
        bool AtFinish()
        {
            // If the next item to show is beyond the last item
            if (m_nCurrent >= m_nTotal)
            {
                // If anything was edited during the review, get the command to recheck.
                // Otherwise get the command to wrap things up.

                if (m_IsEdited)
                {
                    m_Cmd.ReCheck();
                }
                else
                {
                    OnResetCheck();
                    m_Cmd.Finish();
                    return(true);
                }
            }

            return(false);
        }