/// <summary> /// Previouses the file. /// </summary> private void PreviousFile() { if (_comicBook != null) { if (_comicBook.PreviousFile() == null) { FileNextPrevious fileNextPrevious = new FileNextPrevious(); string file = fileNextPrevious.GetPreviousFileInDirectory(_comicBook.CurrentFile.Location); if (!string.IsNullOrEmpty(file)) { LoadAndDisplayComic(new string[] { file }); } } else { byte[] image = _comicBook.CurrentFile.CurrentPage; if (image != null) { DisplayImage(image, ImageStartPosition.Bottom); } } } }