This repository has been archived by the owner on Dec 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BookAddForm.h
54 lines (39 loc) · 1.61 KB
/
BookAddForm.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#pragma once
#include "Includes.h"
#include "Book.h"
#include "Chapter.h"
#include "Volume.h"
#include "Functions.h"
static ref class BookAddForm {
private:
static System::Windows::Forms::Form^ Form = gcnew System::Windows::Forms::Form;
static Book^ bk;
static System::String^ Uri;
static System::String^ AraHost;
static System::Windows::Forms::CheckBox^ checkBox;
static System::Windows::Forms::TextBox^ textBox;
static System::Windows::Forms::Button^ submitBtn;
public:
static void ShowForm() {
if (Form != nullptr)
Form->ShowDialog();
else
std::exception("Error: ShowForm BookAddForm null check failed?");
}
static bool IsNumericRef(System::String^ obj);
static void Initform();
static Book^ GetBook(bool showForm);
static void ChapterWrap(Chapter^& chap, Volume^& _attachedVolume, System::String^ _uri, BOOLEAN _downloadContent, unsigned int flg);
static void submitBtnOnMouseClick(System::Object^ sender, System::EventArgs^ e);
static void LoadBookFromUri();
static void ExportVolumeExChapter(Volume^ volume);
static void ExportChapterSingular(Chapter^ chapter);
static void ExportVolumeFull(Volume^ volume);
static std::string StripAZ(std::string s);
static BOOL DownloadFromWuxiaWorld();
static void EnumerateWeb(System::Collections::IEnumerator^ enumerable, BOOL downloadChapter, unsigned int length);
static System::String^ WWDownloadChapterContent(Chapter^ Chp);
static BOOL DownloadFromBoxNovel();
static void EnumerateWebBoxNovel(VTable^ table, BOOL downloadChapter, unsigned int length);
static System::String^ BNDownloadChapterContent(Chapter^ Chp, System::Net::WebClient^ wc);
};