public static bool Init() { DownloadComplate.ListonDownloadEvent(downAct); FileManage.Init(); return(true); }
public static void UpdateStory(PSVReaderUI.StoryNameList list) { List <string> names = FileManage.GetAllStoryName(); list.ClearBook(); foreach (string na in names) { List <string> chapterName = FileManage.GetStory(na); list.AddBook(na, chapterName); } }
public static bool OnDownloadComplete(byte[] data, string name, string chapter) { return(FileManage.SaveFile(data, name, chapter)); }