Ejemplo n.º 1
0
        public void GoBack()
        {
            PageMode.getPrevPos(ref CurrentPosition);
            ImgStruct thisPic = FM.GetPrevPos(ref CurrentPosition);

            if (!Settings.EndBeginAlerts ||
                !thisPic.IsLastorFirstImage ||
                YesNoDialog.AskForAction(new BeginningObject()))
            {
                updatePic(thisPic);
            }
            else
            {
                PageMode.getNextPos(ref CurrentPosition);
            }
        }
Ejemplo n.º 2
0
        /* ------ File Traversal Methods ---- */

        public void GotoNext()
        {
            PageMode.getNextPos(ref CurrentPosition);
            ImgStruct thisPic = FM.GetNextPos(ref CurrentPosition);

            if (!Settings.EndBeginAlerts || //This must be simplified and cleaned
                !thisPic.IsLastorFirstImage ||
                YesNoDialog.AskForAction(new FinishingObject()))
            {
                updatePic(thisPic);
            }
            else
            {
                PageMode.getPrevPos(ref CurrentPosition); //Revert back to last picture
            }
        }