public void OpenComic(string filename) { if (SolidLoader.IsSolid(filename)) { PageLoader = new SolidLoader(); } else { PageLoader = new ArchiveLoader(); } PageLoader.OpenComic(filename); CurrentPageNumber = 0; SetPage(0); Refresh(); }
public void OpenComic(string filename) { if (SolidLoader.IsSolid(filename)) { PageLoader = new SolidLoader(); } else { PageLoader = new ArchiveLoader(); } PageLoader.OpenComic(filename); CurrentPageNumber = 0; SetPage(0); Refresh(); }