示例#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);
            }
        }
示例#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
            }
        }
示例#3
0
 public void updatePic(ImgStruct currentimg)
 {
     thisform.LoadPic(currentimg.Img);
     thisform.ChangeDirectoryTextBox(currentimg.Pathname);
 }