Beispiel #1
0
        public static bool Init()
        {
            DownloadComplate.ListonDownloadEvent(downAct);

            FileManage.Init();

            return(true);
        }
Beispiel #2
0
        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);
            }
        }
Beispiel #3
0
 public static bool OnDownloadComplete(byte[] data, string name, string chapter)
 {
     return(FileManage.SaveFile(data, name, chapter));
 }