1 |
cycrow |
1 |
#pragma once
|
|
|
2 |
|
|
|
3 |
using namespace System;
|
|
|
4 |
using namespace System::ComponentModel;
|
|
|
5 |
using namespace System::Collections;
|
|
|
6 |
using namespace System::Windows::Forms;
|
|
|
7 |
using namespace System::Data;
|
|
|
8 |
using namespace System::Drawing;
|
|
|
9 |
|
|
|
10 |
#include <spk.h>
|
|
|
11 |
|
|
|
12 |
namespace PluginManager {
|
|
|
13 |
|
|
|
14 |
/// <summary>
|
|
|
15 |
/// Summary for ModSelector
|
|
|
16 |
///
|
|
|
17 |
/// WARNING: If you change the name of this class, you will need to change the
|
|
|
18 |
/// 'Resource File Name' property for the managed resource compiler tool
|
|
|
19 |
/// associated with all .resx files this class depends on. Otherwise,
|
|
|
20 |
/// the designers will not be able to interact properly with localized
|
|
|
21 |
/// resources associated with this form.
|
|
|
22 |
/// </summary>
|
|
|
23 |
public ref class ModSelector : public System::Windows::Forms::Form
|
|
|
24 |
{
|
|
|
25 |
public:
|
|
|
26 |
ModSelector(CPackages *p, ImageList ^imageList)
|
|
|
27 |
{
|
|
|
28 |
InitializeComponent();
|
|
|
29 |
|
|
|
30 |
m_pImageList = imageList;
|
|
|
31 |
m_pSelectedPackage = NULL;
|
|
|
32 |
m_lAvailablePackages = NULL;
|
|
|
33 |
m_pPackages = p;
|
|
|
34 |
m_pSelectedMod = NULL;
|
|
|
35 |
m_bDetails = true;
|
|
|
36 |
|
|
|
37 |
ButUninstall->Visible = false;
|
|
|
38 |
m_bFoundPackages = false;
|
|
|
39 |
|
|
|
40 |
this->UpdateControls();
|
|
|
41 |
this->SetupEvents();
|
|
|
42 |
this->FindPackages();
|
|
|
43 |
this->Update();
|
|
|
44 |
this->UpdateDetails();
|
|
|
45 |
}
|
|
|
46 |
|
|
|
47 |
void Update();
|
|
|
48 |
void UpdatePackages();
|
|
|
49 |
void UpdateDetails();
|
|
|
50 |
void ShowDetails() { m_bDetails = true; this->UpdateDetails(); }
|
|
|
51 |
void HideDetails() { m_bDetails = false; this->UpdateDetails(); this->ListAvailable->Refresh(); }
|
|
|
52 |
bool ShowingDetails() { return m_bDetails; }
|
|
|
53 |
bool AnyPackages() { return m_bFoundPackages; }
|
|
|
54 |
void DownloadPackage();
|
|
|
55 |
|
|
|
56 |
void UpdateEaseOfUse(bool disable, int value);
|
|
|
57 |
void UpdateRecommended(bool disable, int value);
|
|
|
58 |
void UpdateGameChanging(bool disable, int value);
|
|
|
59 |
|
|
|
60 |
void FindPackages();
|
|
|
61 |
void FindPackages(String ^dir);
|
|
|
62 |
void FindPackages_Directory(String ^dir);
|
|
|
63 |
void FindPackages_Current(String ^curDir);
|
|
|
64 |
void RemovePackages();
|
|
|
65 |
|
|
|
66 |
CBaseFile *SelectedMod() { return m_pSelectedMod; }
|
|
|
67 |
|
|
|
68 |
protected:
|
|
|
69 |
/// <summary>
|
|
|
70 |
/// Clean up any resources being used.
|
|
|
71 |
/// </summary>
|
|
|
72 |
~ModSelector()
|
|
|
73 |
{
|
|
|
74 |
if (components)
|
|
|
75 |
{
|
|
|
76 |
delete components;
|
|
|
77 |
}
|
|
|
78 |
|
|
|
79 |
this->RemovePackages();
|
|
|
80 |
}
|
|
|
81 |
private:
|
|
|
82 |
void UpdateControls();
|
|
|
83 |
|
|
|
84 |
void SetupEvents();
|
|
|
85 |
void ModSelected(System::Object ^Sender, System::EventArgs ^E);
|
|
|
86 |
void SelectModEvent(System::Object ^Sender, System::EventArgs ^E);
|
|
|
87 |
void NoModEvent(System::Object ^Sender, System::EventArgs ^E);
|
|
|
88 |
void UninstallModEvent(System::Object ^Sender, System::EventArgs ^E);
|
|
|
89 |
|
|
|
90 |
ImageList ^m_pImageList;
|
161 |
cycrow |
91 |
const SAvailablePackage *m_pSelectedPackage;
|
1 |
cycrow |
92 |
CPackages *m_pPackages;
|
|
|
93 |
CBaseFile *m_pSelectedMod;
|
|
|
94 |
CLinkList<CBaseFile> *m_lAvailablePackages;
|
|
|
95 |
bool m_bDetails;
|
|
|
96 |
bool m_bFoundPackages;
|
|
|
97 |
|
|
|
98 |
private: System::Windows::Forms::GroupBox^ GroupMod;
|
|
|
99 |
protected:
|
|
|
100 |
private: System::Windows::Forms::GroupBox^ GroupSelect;
|
|
|
101 |
private: System::Windows::Forms::Panel^ panel1;
|
|
|
102 |
private: System::Windows::Forms::Label^ label1;
|
|
|
103 |
private: System::Windows::Forms::Button^ ButSelect;
|
|
|
104 |
private: System::Windows::Forms::Button^ ButClose;
|
|
|
105 |
private: System::Windows::Forms::ListView^ ListAvailable;
|
|
|
106 |
private: System::Windows::Forms::PictureBox^ PictureBox;
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
private: System::Windows::Forms::Panel^ panel2;
|
|
|
110 |
private: System::Windows::Forms::Label^ label4;
|
|
|
111 |
private: System::Windows::Forms::Label^ label3;
|
|
|
112 |
private: System::Windows::Forms::Label^ label2;
|
|
|
113 |
|
|
|
114 |
private: System::Windows::Forms::Label^ label5;
|
|
|
115 |
private: System::Windows::Forms::TextBox^ TextMod;
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
private: System::Windows::Forms::Panel^ panel4;
|
|
|
122 |
private: System::Windows::Forms::Panel^ panel3;
|
|
|
123 |
private: System::Windows::Forms::TextBox^ TextVersion;
|
|
|
124 |
|
|
|
125 |
private: System::Windows::Forms::TextBox^ TextAuthor;
|
|
|
126 |
|
|
|
127 |
private: System::Windows::Forms::ColumnHeader^ Mod;
|
|
|
128 |
private: System::Windows::Forms::ColumnHeader^ Author;
|
|
|
129 |
private: System::Windows::Forms::ColumnHeader^ Version;
|
|
|
130 |
private: System::Windows::Forms::ColumnHeader^ Updated;
|
|
|
131 |
private: System::Windows::Forms::RichTextBox^ TextDescSelected;
|
|
|
132 |
|
|
|
133 |
private: System::Windows::Forms::RichTextBox^ TextDesc;
|
|
|
134 |
private: System::Windows::Forms::Label^ label6;
|
|
|
135 |
private: System::Windows::Forms::Button^ ButNoMod;
|
|
|
136 |
private: System::Windows::Forms::Button^ ButUninstall;
|
|
|
137 |
private: System::Windows::Forms::TextBox^ TextCreated;
|
|
|
138 |
private: System::Windows::Forms::Panel^ PanelDetails;
|
|
|
139 |
|
|
|
140 |
private: System::Windows::Forms::PictureBox^ PictureSelected;
|
|
|
141 |
private: System::Windows::Forms::Button^ ButDetails;
|
|
|
142 |
private: System::Windows::Forms::Panel^ panel6;
|
|
|
143 |
private: System::Windows::Forms::Label^ label7;
|
|
|
144 |
private: System::Windows::Forms::PictureBox^ PicRec5;
|
|
|
145 |
|
|
|
146 |
private: System::Windows::Forms::PictureBox^ PicRec4;
|
|
|
147 |
|
|
|
148 |
private: System::Windows::Forms::PictureBox^ PicRec3;
|
|
|
149 |
|
|
|
150 |
private: System::Windows::Forms::PictureBox^ PicRec2;
|
|
|
151 |
|
|
|
152 |
private: System::Windows::Forms::PictureBox^ PicChange5;
|
|
|
153 |
|
|
|
154 |
private: System::Windows::Forms::PictureBox^ PicChange4;
|
|
|
155 |
private: System::Windows::Forms::PictureBox^ PicChange3;
|
|
|
156 |
private: System::Windows::Forms::PictureBox^ PicChange2;
|
|
|
157 |
private: System::Windows::Forms::PictureBox^ PicEase5;
|
|
|
158 |
private: System::Windows::Forms::PictureBox^ PicEase4;
|
|
|
159 |
private: System::Windows::Forms::PictureBox^ PicEase3;
|
|
|
160 |
private: System::Windows::Forms::PictureBox^ PicEase2;
|
|
|
161 |
private: System::Windows::Forms::PictureBox^ PicRec1;
|
|
|
162 |
|
|
|
163 |
private: System::Windows::Forms::PictureBox^ PicChange1;
|
|
|
164 |
private: System::Windows::Forms::PictureBox^ PicEase1;
|
|
|
165 |
private: System::Windows::Forms::Label^ label9;
|
|
|
166 |
private: System::Windows::Forms::Label^ label8;
|
|
|
167 |
private: System::Windows::Forms::Label^ LabelRecNA;
|
|
|
168 |
private: System::Windows::Forms::Label^ LabelChangeNA;
|
|
|
169 |
private: System::Windows::Forms::Label^ LabEaseNA;
|
|
|
170 |
private: System::Windows::Forms::Button^ button1;
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
private:
|
|
|
181 |
/// <summary>
|
|
|
182 |
/// Required designer variable.
|
|
|
183 |
/// </summary>
|
|
|
184 |
System::ComponentModel::Container ^components;
|
|
|
185 |
|
|
|
186 |
#pragma region Windows Form Designer generated code
|
|
|
187 |
/// <summary>
|
|
|
188 |
/// Required method for Designer support - do not modify
|
|
|
189 |
/// the contents of this method with the code editor.
|
|
|
190 |
/// </summary>
|
|
|
191 |
void InitializeComponent(void)
|
|
|
192 |
{
|
|
|
193 |
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(ModSelector::typeid));
|
|
|
194 |
this->GroupMod = (gcnew System::Windows::Forms::GroupBox());
|
|
|
195 |
this->panel2 = (gcnew System::Windows::Forms::Panel());
|
|
|
196 |
this->panel4 = (gcnew System::Windows::Forms::Panel());
|
|
|
197 |
this->TextDesc = (gcnew System::Windows::Forms::RichTextBox());
|
|
|
198 |
this->TextCreated = (gcnew System::Windows::Forms::TextBox());
|
|
|
199 |
this->TextVersion = (gcnew System::Windows::Forms::TextBox());
|
|
|
200 |
this->TextAuthor = (gcnew System::Windows::Forms::TextBox());
|
|
|
201 |
this->TextMod = (gcnew System::Windows::Forms::TextBox());
|
|
|
202 |
this->panel3 = (gcnew System::Windows::Forms::Panel());
|
|
|
203 |
this->label6 = (gcnew System::Windows::Forms::Label());
|
|
|
204 |
this->label3 = (gcnew System::Windows::Forms::Label());
|
|
|
205 |
this->label2 = (gcnew System::Windows::Forms::Label());
|
|
|
206 |
this->label5 = (gcnew System::Windows::Forms::Label());
|
|
|
207 |
this->label4 = (gcnew System::Windows::Forms::Label());
|
|
|
208 |
this->PictureBox = (gcnew System::Windows::Forms::PictureBox());
|
|
|
209 |
this->GroupSelect = (gcnew System::Windows::Forms::GroupBox());
|
|
|
210 |
this->ListAvailable = (gcnew System::Windows::Forms::ListView());
|
|
|
211 |
this->Mod = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
212 |
this->Author = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
213 |
this->Version = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
214 |
this->Updated = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
215 |
this->PanelDetails = (gcnew System::Windows::Forms::Panel());
|
|
|
216 |
this->TextDescSelected = (gcnew System::Windows::Forms::RichTextBox());
|
|
|
217 |
this->panel6 = (gcnew System::Windows::Forms::Panel());
|
|
|
218 |
this->LabelRecNA = (gcnew System::Windows::Forms::Label());
|
|
|
219 |
this->LabelChangeNA = (gcnew System::Windows::Forms::Label());
|
|
|
220 |
this->LabEaseNA = (gcnew System::Windows::Forms::Label());
|
|
|
221 |
this->PicRec5 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
222 |
this->PicRec4 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
223 |
this->PicRec3 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
224 |
this->PicRec2 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
225 |
this->PicChange5 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
226 |
this->PicChange4 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
227 |
this->PicChange3 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
228 |
this->PicChange2 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
229 |
this->PicEase5 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
230 |
this->PicEase4 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
231 |
this->PicEase3 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
232 |
this->PicEase2 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
233 |
this->PicRec1 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
234 |
this->PicChange1 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
235 |
this->PicEase1 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
236 |
this->label9 = (gcnew System::Windows::Forms::Label());
|
|
|
237 |
this->label8 = (gcnew System::Windows::Forms::Label());
|
|
|
238 |
this->label7 = (gcnew System::Windows::Forms::Label());
|
|
|
239 |
this->PictureSelected = (gcnew System::Windows::Forms::PictureBox());
|
|
|
240 |
this->ButDetails = (gcnew System::Windows::Forms::Button());
|
|
|
241 |
this->label1 = (gcnew System::Windows::Forms::Label());
|
|
|
242 |
this->panel1 = (gcnew System::Windows::Forms::Panel());
|
|
|
243 |
this->button1 = (gcnew System::Windows::Forms::Button());
|
|
|
244 |
this->ButUninstall = (gcnew System::Windows::Forms::Button());
|
|
|
245 |
this->ButNoMod = (gcnew System::Windows::Forms::Button());
|
|
|
246 |
this->ButSelect = (gcnew System::Windows::Forms::Button());
|
|
|
247 |
this->ButClose = (gcnew System::Windows::Forms::Button());
|
|
|
248 |
this->GroupMod->SuspendLayout();
|
|
|
249 |
this->panel2->SuspendLayout();
|
|
|
250 |
this->panel4->SuspendLayout();
|
|
|
251 |
this->panel3->SuspendLayout();
|
|
|
252 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PictureBox))->BeginInit();
|
|
|
253 |
this->GroupSelect->SuspendLayout();
|
|
|
254 |
this->PanelDetails->SuspendLayout();
|
|
|
255 |
this->panel6->SuspendLayout();
|
|
|
256 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec5))->BeginInit();
|
|
|
257 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec4))->BeginInit();
|
|
|
258 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec3))->BeginInit();
|
|
|
259 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec2))->BeginInit();
|
|
|
260 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange5))->BeginInit();
|
|
|
261 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange4))->BeginInit();
|
|
|
262 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange3))->BeginInit();
|
|
|
263 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange2))->BeginInit();
|
|
|
264 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase5))->BeginInit();
|
|
|
265 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase4))->BeginInit();
|
|
|
266 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase3))->BeginInit();
|
|
|
267 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase2))->BeginInit();
|
|
|
268 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec1))->BeginInit();
|
|
|
269 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange1))->BeginInit();
|
|
|
270 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase1))->BeginInit();
|
|
|
271 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PictureSelected))->BeginInit();
|
|
|
272 |
this->panel1->SuspendLayout();
|
|
|
273 |
this->SuspendLayout();
|
|
|
274 |
//
|
|
|
275 |
// GroupMod
|
|
|
276 |
//
|
|
|
277 |
this->GroupMod->Controls->Add(this->panel2);
|
|
|
278 |
this->GroupMod->Controls->Add(this->PictureBox);
|
|
|
279 |
this->GroupMod->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
280 |
this->GroupMod->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
281 |
static_cast<System::Byte>(0)));
|
|
|
282 |
this->GroupMod->ForeColor = System::Drawing::SystemColors::Highlight;
|
|
|
283 |
this->GroupMod->Location = System::Drawing::Point(8, 8);
|
|
|
284 |
this->GroupMod->Name = L"GroupMod";
|
|
|
285 |
this->GroupMod->Padding = System::Windows::Forms::Padding(5);
|
|
|
286 |
this->GroupMod->Size = System::Drawing::Size(613, 169);
|
|
|
287 |
this->GroupMod->TabIndex = 0;
|
|
|
288 |
this->GroupMod->TabStop = false;
|
|
|
289 |
this->GroupMod->Text = L"Current Loaded Mod";
|
|
|
290 |
//
|
|
|
291 |
// panel2
|
|
|
292 |
//
|
|
|
293 |
this->panel2->Controls->Add(this->panel4);
|
|
|
294 |
this->panel2->Controls->Add(this->panel3);
|
|
|
295 |
this->panel2->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
296 |
this->panel2->Location = System::Drawing::Point(118, 20);
|
|
|
297 |
this->panel2->Name = L"panel2";
|
|
|
298 |
this->panel2->Size = System::Drawing::Size(490, 144);
|
|
|
299 |
this->panel2->TabIndex = 3;
|
|
|
300 |
//
|
|
|
301 |
// panel4
|
|
|
302 |
//
|
|
|
303 |
this->panel4->Controls->Add(this->TextDesc);
|
|
|
304 |
this->panel4->Controls->Add(this->TextCreated);
|
|
|
305 |
this->panel4->Controls->Add(this->TextVersion);
|
|
|
306 |
this->panel4->Controls->Add(this->TextAuthor);
|
|
|
307 |
this->panel4->Controls->Add(this->TextMod);
|
|
|
308 |
this->panel4->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
309 |
this->panel4->Location = System::Drawing::Point(118, 0);
|
|
|
310 |
this->panel4->Name = L"panel4";
|
|
|
311 |
this->panel4->Size = System::Drawing::Size(372, 144);
|
|
|
312 |
this->panel4->TabIndex = 11;
|
|
|
313 |
//
|
|
|
314 |
// TextDesc
|
|
|
315 |
//
|
|
|
316 |
this->TextDesc->BackColor = System::Drawing::SystemColors::Info;
|
|
|
317 |
this->TextDesc->Cursor = System::Windows::Forms::Cursors::Arrow;
|
|
|
318 |
this->TextDesc->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
319 |
this->TextDesc->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
320 |
static_cast<System::Byte>(0)));
|
|
|
321 |
this->TextDesc->Location = System::Drawing::Point(0, 88);
|
|
|
322 |
this->TextDesc->Name = L"TextDesc";
|
|
|
323 |
this->TextDesc->ReadOnly = true;
|
|
|
324 |
this->TextDesc->ScrollBars = System::Windows::Forms::RichTextBoxScrollBars::ForcedVertical;
|
|
|
325 |
this->TextDesc->Size = System::Drawing::Size(372, 57);
|
|
|
326 |
this->TextDesc->TabIndex = 12;
|
|
|
327 |
this->TextDesc->Text = L"";
|
|
|
328 |
//
|
|
|
329 |
// TextCreated
|
|
|
330 |
//
|
|
|
331 |
this->TextCreated->BackColor = System::Drawing::SystemColors::Info;
|
|
|
332 |
this->TextCreated->Cursor = System::Windows::Forms::Cursors::Arrow;
|
|
|
333 |
this->TextCreated->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
334 |
this->TextCreated->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
|
|
|
335 |
static_cast<System::Byte>(0)));
|
|
|
336 |
this->TextCreated->Location = System::Drawing::Point(0, 66);
|
|
|
337 |
this->TextCreated->Margin = System::Windows::Forms::Padding(10);
|
|
|
338 |
this->TextCreated->Name = L"TextCreated";
|
|
|
339 |
this->TextCreated->ReadOnly = true;
|
|
|
340 |
this->TextCreated->Size = System::Drawing::Size(372, 22);
|
|
|
341 |
this->TextCreated->TabIndex = 13;
|
|
|
342 |
//
|
|
|
343 |
// TextVersion
|
|
|
344 |
//
|
|
|
345 |
this->TextVersion->BackColor = System::Drawing::SystemColors::Info;
|
|
|
346 |
this->TextVersion->Cursor = System::Windows::Forms::Cursors::Arrow;
|
|
|
347 |
this->TextVersion->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
348 |
this->TextVersion->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
|
|
|
349 |
static_cast<System::Byte>(0)));
|
|
|
350 |
this->TextVersion->Location = System::Drawing::Point(0, 44);
|
|
|
351 |
this->TextVersion->Margin = System::Windows::Forms::Padding(10);
|
|
|
352 |
this->TextVersion->Name = L"TextVersion";
|
|
|
353 |
this->TextVersion->ReadOnly = true;
|
|
|
354 |
this->TextVersion->Size = System::Drawing::Size(372, 22);
|
|
|
355 |
this->TextVersion->TabIndex = 11;
|
|
|
356 |
//
|
|
|
357 |
// TextAuthor
|
|
|
358 |
//
|
|
|
359 |
this->TextAuthor->BackColor = System::Drawing::SystemColors::Info;
|
|
|
360 |
this->TextAuthor->Cursor = System::Windows::Forms::Cursors::Arrow;
|
|
|
361 |
this->TextAuthor->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
362 |
this->TextAuthor->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
|
|
|
363 |
static_cast<System::Byte>(0)));
|
|
|
364 |
this->TextAuthor->Location = System::Drawing::Point(0, 22);
|
|
|
365 |
this->TextAuthor->Margin = System::Windows::Forms::Padding(10);
|
|
|
366 |
this->TextAuthor->Name = L"TextAuthor";
|
|
|
367 |
this->TextAuthor->ReadOnly = true;
|
|
|
368 |
this->TextAuthor->Size = System::Drawing::Size(372, 22);
|
|
|
369 |
this->TextAuthor->TabIndex = 10;
|
|
|
370 |
//
|
|
|
371 |
// TextMod
|
|
|
372 |
//
|
|
|
373 |
this->TextMod->BackColor = System::Drawing::SystemColors::Info;
|
|
|
374 |
this->TextMod->Cursor = System::Windows::Forms::Cursors::Arrow;
|
|
|
375 |
this->TextMod->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
376 |
this->TextMod->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
|
|
|
377 |
static_cast<System::Byte>(0)));
|
|
|
378 |
this->TextMod->Location = System::Drawing::Point(0, 0);
|
|
|
379 |
this->TextMod->Name = L"TextMod";
|
|
|
380 |
this->TextMod->ReadOnly = true;
|
|
|
381 |
this->TextMod->Size = System::Drawing::Size(372, 22);
|
|
|
382 |
this->TextMod->TabIndex = 6;
|
|
|
383 |
//
|
|
|
384 |
// panel3
|
|
|
385 |
//
|
|
|
386 |
this->panel3->Controls->Add(this->label6);
|
|
|
387 |
this->panel3->Controls->Add(this->label3);
|
|
|
388 |
this->panel3->Controls->Add(this->label2);
|
|
|
389 |
this->panel3->Controls->Add(this->label5);
|
|
|
390 |
this->panel3->Controls->Add(this->label4);
|
|
|
391 |
this->panel3->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
392 |
this->panel3->Location = System::Drawing::Point(0, 0);
|
|
|
393 |
this->panel3->Name = L"panel3";
|
|
|
394 |
this->panel3->Size = System::Drawing::Size(118, 144);
|
|
|
395 |
this->panel3->TabIndex = 10;
|
|
|
396 |
//
|
|
|
397 |
// label6
|
|
|
398 |
//
|
|
|
399 |
this->label6->AutoSize = true;
|
|
|
400 |
this->label6->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
401 |
static_cast<System::Byte>(0)));
|
|
|
402 |
this->label6->ForeColor = System::Drawing::SystemColors::ControlText;
|
|
|
403 |
this->label6->Location = System::Drawing::Point(5, 100);
|
|
|
404 |
this->label6->Name = L"label6";
|
|
|
405 |
this->label6->Size = System::Drawing::Size(85, 19);
|
|
|
406 |
this->label6->TabIndex = 8;
|
|
|
407 |
this->label6->Text = L"Description:";
|
|
|
408 |
//
|
|
|
409 |
// label3
|
|
|
410 |
//
|
|
|
411 |
this->label3->AutoSize = true;
|
|
|
412 |
this->label3->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
413 |
static_cast<System::Byte>(0)));
|
|
|
414 |
this->label3->ForeColor = System::Drawing::SystemColors::ControlText;
|
|
|
415 |
this->label3->Location = System::Drawing::Point(3, 25);
|
|
|
416 |
this->label3->Name = L"label3";
|
|
|
417 |
this->label3->Size = System::Drawing::Size(59, 19);
|
|
|
418 |
this->label3->TabIndex = 3;
|
|
|
419 |
this->label3->Text = L"Author:";
|
|
|
420 |
//
|
|
|
421 |
// label2
|
|
|
422 |
//
|
|
|
423 |
this->label2->AutoSize = true;
|
|
|
424 |
this->label2->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
425 |
static_cast<System::Byte>(0)));
|
|
|
426 |
this->label2->ForeColor = System::Drawing::SystemColors::ControlText;
|
|
|
427 |
this->label2->Location = System::Drawing::Point(6, 3);
|
|
|
428 |
this->label2->Name = L"label2";
|
|
|
429 |
this->label2->Size = System::Drawing::Size(41, 19);
|
|
|
430 |
this->label2->TabIndex = 2;
|
|
|
431 |
this->label2->Text = L"Mod:";
|
|
|
432 |
//
|
|
|
433 |
// label5
|
|
|
434 |
//
|
|
|
435 |
this->label5->AutoSize = true;
|
|
|
436 |
this->label5->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
437 |
static_cast<System::Byte>(0)));
|
|
|
438 |
this->label5->ForeColor = System::Drawing::SystemColors::ControlText;
|
|
|
439 |
this->label5->Location = System::Drawing::Point(5, 66);
|
|
|
440 |
this->label5->Name = L"label5";
|
|
|
441 |
this->label5->Size = System::Drawing::Size(68, 19);
|
|
|
442 |
this->label5->TabIndex = 7;
|
|
|
443 |
this->label5->Text = L"Updated:";
|
|
|
444 |
//
|
|
|
445 |
// label4
|
|
|
446 |
//
|
|
|
447 |
this->label4->AutoSize = true;
|
|
|
448 |
this->label4->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
449 |
static_cast<System::Byte>(0)));
|
|
|
450 |
this->label4->ForeColor = System::Drawing::SystemColors::ControlText;
|
|
|
451 |
this->label4->Location = System::Drawing::Point(5, 47);
|
|
|
452 |
this->label4->Name = L"label4";
|
|
|
453 |
this->label4->Size = System::Drawing::Size(61, 19);
|
|
|
454 |
this->label4->TabIndex = 4;
|
|
|
455 |
this->label4->Text = L"Version:";
|
|
|
456 |
//
|
|
|
457 |
// PictureBox
|
|
|
458 |
//
|
|
|
459 |
this->PictureBox->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
460 |
this->PictureBox->Location = System::Drawing::Point(5, 20);
|
|
|
461 |
this->PictureBox->Name = L"PictureBox";
|
|
|
462 |
this->PictureBox->Size = System::Drawing::Size(113, 144);
|
|
|
463 |
this->PictureBox->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
464 |
this->PictureBox->TabIndex = 0;
|
|
|
465 |
this->PictureBox->TabStop = false;
|
|
|
466 |
//
|
|
|
467 |
// GroupSelect
|
|
|
468 |
//
|
|
|
469 |
this->GroupSelect->Controls->Add(this->ListAvailable);
|
|
|
470 |
this->GroupSelect->Controls->Add(this->PanelDetails);
|
|
|
471 |
this->GroupSelect->Controls->Add(this->ButDetails);
|
|
|
472 |
this->GroupSelect->Controls->Add(this->label1);
|
|
|
473 |
this->GroupSelect->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
474 |
this->GroupSelect->Location = System::Drawing::Point(8, 177);
|
|
|
475 |
this->GroupSelect->Name = L"GroupSelect";
|
|
|
476 |
this->GroupSelect->Padding = System::Windows::Forms::Padding(6);
|
|
|
477 |
this->GroupSelect->Size = System::Drawing::Size(613, 429);
|
|
|
478 |
this->GroupSelect->TabIndex = 1;
|
|
|
479 |
this->GroupSelect->TabStop = false;
|
|
|
480 |
this->GroupSelect->Text = L"Available Mods";
|
|
|
481 |
//
|
|
|
482 |
// ListAvailable
|
|
|
483 |
//
|
|
|
484 |
this->ListAvailable->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(4) {this->Mod, this->Author,
|
|
|
485 |
this->Version, this->Updated});
|
|
|
486 |
this->ListAvailable->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
487 |
this->ListAvailable->Location = System::Drawing::Point(6, 19);
|
|
|
488 |
this->ListAvailable->MultiSelect = false;
|
|
|
489 |
this->ListAvailable->Name = L"ListAvailable";
|
|
|
490 |
this->ListAvailable->Size = System::Drawing::Size(601, 250);
|
|
|
491 |
this->ListAvailable->TabIndex = 1;
|
|
|
492 |
this->ListAvailable->UseCompatibleStateImageBehavior = false;
|
|
|
493 |
this->ListAvailable->View = System::Windows::Forms::View::Details;
|
|
|
494 |
//
|
|
|
495 |
// Mod
|
|
|
496 |
//
|
|
|
497 |
this->Mod->Text = L"Mod";
|
|
|
498 |
this->Mod->Width = 150;
|
|
|
499 |
//
|
|
|
500 |
// Author
|
|
|
501 |
//
|
|
|
502 |
this->Author->Text = L"Author";
|
|
|
503 |
this->Author->Width = 100;
|
|
|
504 |
//
|
|
|
505 |
// Version
|
|
|
506 |
//
|
|
|
507 |
this->Version->Text = L"Version";
|
|
|
508 |
this->Version->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
|
|
|
509 |
//
|
|
|
510 |
// Updated
|
|
|
511 |
//
|
|
|
512 |
this->Updated->Text = L"Updated";
|
|
|
513 |
//
|
|
|
514 |
// PanelDetails
|
|
|
515 |
//
|
|
|
516 |
this->PanelDetails->Controls->Add(this->TextDescSelected);
|
|
|
517 |
this->PanelDetails->Controls->Add(this->panel6);
|
|
|
518 |
this->PanelDetails->Controls->Add(this->PictureSelected);
|
|
|
519 |
this->PanelDetails->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
520 |
this->PanelDetails->Location = System::Drawing::Point(6, 269);
|
|
|
521 |
this->PanelDetails->Name = L"PanelDetails";
|
|
|
522 |
this->PanelDetails->Size = System::Drawing::Size(601, 131);
|
|
|
523 |
this->PanelDetails->TabIndex = 3;
|
|
|
524 |
this->PanelDetails->Visible = false;
|
|
|
525 |
//
|
|
|
526 |
// TextDescSelected
|
|
|
527 |
//
|
|
|
528 |
this->TextDescSelected->BackColor = System::Drawing::SystemColors::Info;
|
|
|
529 |
this->TextDescSelected->Cursor = System::Windows::Forms::Cursors::Arrow;
|
|
|
530 |
this->TextDescSelected->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
531 |
this->TextDescSelected->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
532 |
static_cast<System::Byte>(0)));
|
|
|
533 |
this->TextDescSelected->Location = System::Drawing::Point(113, 77);
|
|
|
534 |
this->TextDescSelected->Name = L"TextDescSelected";
|
|
|
535 |
this->TextDescSelected->ReadOnly = true;
|
|
|
536 |
this->TextDescSelected->ScrollBars = System::Windows::Forms::RichTextBoxScrollBars::Vertical;
|
|
|
537 |
this->TextDescSelected->Size = System::Drawing::Size(488, 54);
|
|
|
538 |
this->TextDescSelected->TabIndex = 2;
|
|
|
539 |
this->TextDescSelected->Text = L"";
|
|
|
540 |
//
|
|
|
541 |
// panel6
|
|
|
542 |
//
|
|
|
543 |
this->panel6->Controls->Add(this->LabelRecNA);
|
|
|
544 |
this->panel6->Controls->Add(this->LabelChangeNA);
|
|
|
545 |
this->panel6->Controls->Add(this->LabEaseNA);
|
|
|
546 |
this->panel6->Controls->Add(this->PicRec5);
|
|
|
547 |
this->panel6->Controls->Add(this->PicRec4);
|
|
|
548 |
this->panel6->Controls->Add(this->PicRec3);
|
|
|
549 |
this->panel6->Controls->Add(this->PicRec2);
|
|
|
550 |
this->panel6->Controls->Add(this->PicChange5);
|
|
|
551 |
this->panel6->Controls->Add(this->PicChange4);
|
|
|
552 |
this->panel6->Controls->Add(this->PicChange3);
|
|
|
553 |
this->panel6->Controls->Add(this->PicChange2);
|
|
|
554 |
this->panel6->Controls->Add(this->PicEase5);
|
|
|
555 |
this->panel6->Controls->Add(this->PicEase4);
|
|
|
556 |
this->panel6->Controls->Add(this->PicEase3);
|
|
|
557 |
this->panel6->Controls->Add(this->PicEase2);
|
|
|
558 |
this->panel6->Controls->Add(this->PicRec1);
|
|
|
559 |
this->panel6->Controls->Add(this->PicChange1);
|
|
|
560 |
this->panel6->Controls->Add(this->PicEase1);
|
|
|
561 |
this->panel6->Controls->Add(this->label9);
|
|
|
562 |
this->panel6->Controls->Add(this->label8);
|
|
|
563 |
this->panel6->Controls->Add(this->label7);
|
|
|
564 |
this->panel6->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
565 |
this->panel6->Location = System::Drawing::Point(113, 0);
|
|
|
566 |
this->panel6->Name = L"panel6";
|
|
|
567 |
this->panel6->Size = System::Drawing::Size(488, 77);
|
|
|
568 |
this->panel6->TabIndex = 4;
|
|
|
569 |
//
|
|
|
570 |
// LabelRecNA
|
|
|
571 |
//
|
|
|
572 |
this->LabelRecNA->AutoSize = true;
|
|
|
573 |
this->LabelRecNA->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
574 |
static_cast<System::Byte>(0)));
|
|
|
575 |
this->LabelRecNA->Location = System::Drawing::Point(140, 52);
|
|
|
576 |
this->LabelRecNA->Name = L"LabelRecNA";
|
|
|
577 |
this->LabelRecNA->Size = System::Drawing::Size(34, 16);
|
|
|
578 |
this->LabelRecNA->TabIndex = 31;
|
|
|
579 |
this->LabelRecNA->Text = L"N/A";
|
|
|
580 |
//
|
|
|
581 |
// LabelChangeNA
|
|
|
582 |
//
|
|
|
583 |
this->LabelChangeNA->AutoSize = true;
|
|
|
584 |
this->LabelChangeNA->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
585 |
static_cast<System::Byte>(0)));
|
|
|
586 |
this->LabelChangeNA->Location = System::Drawing::Point(140, 29);
|
|
|
587 |
this->LabelChangeNA->Name = L"LabelChangeNA";
|
|
|
588 |
this->LabelChangeNA->Size = System::Drawing::Size(34, 16);
|
|
|
589 |
this->LabelChangeNA->TabIndex = 30;
|
|
|
590 |
this->LabelChangeNA->Text = L"N/A";
|
|
|
591 |
//
|
|
|
592 |
// LabEaseNA
|
|
|
593 |
//
|
|
|
594 |
this->LabEaseNA->AutoSize = true;
|
|
|
595 |
this->LabEaseNA->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
596 |
static_cast<System::Byte>(0)));
|
|
|
597 |
this->LabEaseNA->Location = System::Drawing::Point(140, 6);
|
|
|
598 |
this->LabEaseNA->Name = L"LabEaseNA";
|
|
|
599 |
this->LabEaseNA->Size = System::Drawing::Size(34, 16);
|
|
|
600 |
this->LabEaseNA->TabIndex = 29;
|
|
|
601 |
this->LabEaseNA->Text = L"N/A";
|
|
|
602 |
//
|
|
|
603 |
// PicRec5
|
|
|
604 |
//
|
|
|
605 |
this->PicRec5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec5.Image")));
|
|
|
606 |
this->PicRec5->Location = System::Drawing::Point(230, 48);
|
|
|
607 |
this->PicRec5->Name = L"PicRec5";
|
|
|
608 |
this->PicRec5->Size = System::Drawing::Size(24, 24);
|
|
|
609 |
this->PicRec5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
610 |
this->PicRec5->TabIndex = 28;
|
|
|
611 |
this->PicRec5->TabStop = false;
|
|
|
612 |
//
|
|
|
613 |
// PicRec4
|
|
|
614 |
//
|
|
|
615 |
this->PicRec4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec4.Image")));
|
|
|
616 |
this->PicRec4->Location = System::Drawing::Point(207, 48);
|
|
|
617 |
this->PicRec4->Name = L"PicRec4";
|
|
|
618 |
this->PicRec4->Size = System::Drawing::Size(24, 24);
|
|
|
619 |
this->PicRec4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
620 |
this->PicRec4->TabIndex = 27;
|
|
|
621 |
this->PicRec4->TabStop = false;
|
|
|
622 |
//
|
|
|
623 |
// PicRec3
|
|
|
624 |
//
|
|
|
625 |
this->PicRec3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec3.Image")));
|
|
|
626 |
this->PicRec3->Location = System::Drawing::Point(184, 48);
|
|
|
627 |
this->PicRec3->Name = L"PicRec3";
|
|
|
628 |
this->PicRec3->Size = System::Drawing::Size(24, 24);
|
|
|
629 |
this->PicRec3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
630 |
this->PicRec3->TabIndex = 26;
|
|
|
631 |
this->PicRec3->TabStop = false;
|
|
|
632 |
//
|
|
|
633 |
// PicRec2
|
|
|
634 |
//
|
|
|
635 |
this->PicRec2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec2.Image")));
|
|
|
636 |
this->PicRec2->Location = System::Drawing::Point(161, 48);
|
|
|
637 |
this->PicRec2->Name = L"PicRec2";
|
|
|
638 |
this->PicRec2->Size = System::Drawing::Size(24, 24);
|
|
|
639 |
this->PicRec2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
640 |
this->PicRec2->TabIndex = 25;
|
|
|
641 |
this->PicRec2->TabStop = false;
|
|
|
642 |
//
|
|
|
643 |
// PicChange5
|
|
|
644 |
//
|
|
|
645 |
this->PicChange5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange5.Image")));
|
|
|
646 |
this->PicChange5->Location = System::Drawing::Point(230, 25);
|
|
|
647 |
this->PicChange5->Name = L"PicChange5";
|
|
|
648 |
this->PicChange5->Size = System::Drawing::Size(24, 24);
|
|
|
649 |
this->PicChange5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
650 |
this->PicChange5->TabIndex = 24;
|
|
|
651 |
this->PicChange5->TabStop = false;
|
|
|
652 |
//
|
|
|
653 |
// PicChange4
|
|
|
654 |
//
|
|
|
655 |
this->PicChange4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange4.Image")));
|
|
|
656 |
this->PicChange4->Location = System::Drawing::Point(207, 25);
|
|
|
657 |
this->PicChange4->Name = L"PicChange4";
|
|
|
658 |
this->PicChange4->Size = System::Drawing::Size(24, 24);
|
|
|
659 |
this->PicChange4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
660 |
this->PicChange4->TabIndex = 23;
|
|
|
661 |
this->PicChange4->TabStop = false;
|
|
|
662 |
//
|
|
|
663 |
// PicChange3
|
|
|
664 |
//
|
|
|
665 |
this->PicChange3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange3.Image")));
|
|
|
666 |
this->PicChange3->Location = System::Drawing::Point(184, 25);
|
|
|
667 |
this->PicChange3->Name = L"PicChange3";
|
|
|
668 |
this->PicChange3->Size = System::Drawing::Size(24, 24);
|
|
|
669 |
this->PicChange3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
670 |
this->PicChange3->TabIndex = 22;
|
|
|
671 |
this->PicChange3->TabStop = false;
|
|
|
672 |
//
|
|
|
673 |
// PicChange2
|
|
|
674 |
//
|
|
|
675 |
this->PicChange2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange2.Image")));
|
|
|
676 |
this->PicChange2->Location = System::Drawing::Point(161, 25);
|
|
|
677 |
this->PicChange2->Name = L"PicChange2";
|
|
|
678 |
this->PicChange2->Size = System::Drawing::Size(24, 24);
|
|
|
679 |
this->PicChange2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
680 |
this->PicChange2->TabIndex = 21;
|
|
|
681 |
this->PicChange2->TabStop = false;
|
|
|
682 |
//
|
|
|
683 |
// PicEase5
|
|
|
684 |
//
|
|
|
685 |
this->PicEase5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase5.Image")));
|
|
|
686 |
this->PicEase5->Location = System::Drawing::Point(230, 2);
|
|
|
687 |
this->PicEase5->Name = L"PicEase5";
|
|
|
688 |
this->PicEase5->Size = System::Drawing::Size(24, 24);
|
|
|
689 |
this->PicEase5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
690 |
this->PicEase5->TabIndex = 20;
|
|
|
691 |
this->PicEase5->TabStop = false;
|
|
|
692 |
//
|
|
|
693 |
// PicEase4
|
|
|
694 |
//
|
|
|
695 |
this->PicEase4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase4.Image")));
|
|
|
696 |
this->PicEase4->Location = System::Drawing::Point(207, 2);
|
|
|
697 |
this->PicEase4->Name = L"PicEase4";
|
|
|
698 |
this->PicEase4->Size = System::Drawing::Size(24, 24);
|
|
|
699 |
this->PicEase4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
700 |
this->PicEase4->TabIndex = 19;
|
|
|
701 |
this->PicEase4->TabStop = false;
|
|
|
702 |
//
|
|
|
703 |
// PicEase3
|
|
|
704 |
//
|
|
|
705 |
this->PicEase3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase3.Image")));
|
|
|
706 |
this->PicEase3->Location = System::Drawing::Point(184, 2);
|
|
|
707 |
this->PicEase3->Name = L"PicEase3";
|
|
|
708 |
this->PicEase3->Size = System::Drawing::Size(24, 24);
|
|
|
709 |
this->PicEase3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
710 |
this->PicEase3->TabIndex = 18;
|
|
|
711 |
this->PicEase3->TabStop = false;
|
|
|
712 |
//
|
|
|
713 |
// PicEase2
|
|
|
714 |
//
|
|
|
715 |
this->PicEase2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase2.Image")));
|
|
|
716 |
this->PicEase2->Location = System::Drawing::Point(161, 2);
|
|
|
717 |
this->PicEase2->Name = L"PicEase2";
|
|
|
718 |
this->PicEase2->Size = System::Drawing::Size(24, 24);
|
|
|
719 |
this->PicEase2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
720 |
this->PicEase2->TabIndex = 17;
|
|
|
721 |
this->PicEase2->TabStop = false;
|
|
|
722 |
//
|
|
|
723 |
// PicRec1
|
|
|
724 |
//
|
|
|
725 |
this->PicRec1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec1.Image")));
|
|
|
726 |
this->PicRec1->Location = System::Drawing::Point(138, 48);
|
|
|
727 |
this->PicRec1->Name = L"PicRec1";
|
|
|
728 |
this->PicRec1->Size = System::Drawing::Size(24, 24);
|
|
|
729 |
this->PicRec1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
730 |
this->PicRec1->TabIndex = 16;
|
|
|
731 |
this->PicRec1->TabStop = false;
|
|
|
732 |
//
|
|
|
733 |
// PicChange1
|
|
|
734 |
//
|
|
|
735 |
this->PicChange1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange1.Image")));
|
|
|
736 |
this->PicChange1->Location = System::Drawing::Point(138, 25);
|
|
|
737 |
this->PicChange1->Name = L"PicChange1";
|
|
|
738 |
this->PicChange1->Size = System::Drawing::Size(24, 24);
|
|
|
739 |
this->PicChange1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
740 |
this->PicChange1->TabIndex = 15;
|
|
|
741 |
this->PicChange1->TabStop = false;
|
|
|
742 |
//
|
|
|
743 |
// PicEase1
|
|
|
744 |
//
|
|
|
745 |
this->PicEase1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase1.Image")));
|
|
|
746 |
this->PicEase1->Location = System::Drawing::Point(138, 2);
|
|
|
747 |
this->PicEase1->Name = L"PicEase1";
|
|
|
748 |
this->PicEase1->Size = System::Drawing::Size(24, 24);
|
|
|
749 |
this->PicEase1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
750 |
this->PicEase1->TabIndex = 14;
|
|
|
751 |
this->PicEase1->TabStop = false;
|
|
|
752 |
//
|
|
|
753 |
// label9
|
|
|
754 |
//
|
|
|
755 |
this->label9->AutoSize = true;
|
|
|
756 |
this->label9->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
757 |
static_cast<System::Byte>(0)));
|
|
|
758 |
this->label9->Location = System::Drawing::Point(4, 53);
|
|
|
759 |
this->label9->Name = L"label9";
|
|
|
760 |
this->label9->Size = System::Drawing::Size(113, 16);
|
|
|
761 |
this->label9->TabIndex = 13;
|
|
|
762 |
this->label9->Text = L"Recommended";
|
|
|
763 |
//
|
|
|
764 |
// label8
|
|
|
765 |
//
|
|
|
766 |
this->label8->AutoSize = true;
|
|
|
767 |
this->label8->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
768 |
static_cast<System::Byte>(0)));
|
|
|
769 |
this->label8->Location = System::Drawing::Point(4, 30);
|
|
|
770 |
this->label8->Name = L"label8";
|
|
|
771 |
this->label8->Size = System::Drawing::Size(118, 16);
|
|
|
772 |
this->label8->TabIndex = 12;
|
|
|
773 |
this->label8->Text = L"Game Changing";
|
|
|
774 |
//
|
|
|
775 |
// label7
|
|
|
776 |
//
|
|
|
777 |
this->label7->AutoSize = true;
|
|
|
778 |
this->label7->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
779 |
static_cast<System::Byte>(0)));
|
|
|
780 |
this->label7->Location = System::Drawing::Point(4, 8);
|
|
|
781 |
this->label7->Name = L"label7";
|
|
|
782 |
this->label7->Size = System::Drawing::Size(93, 16);
|
|
|
783 |
this->label7->TabIndex = 11;
|
|
|
784 |
this->label7->Text = L"Ease of Use";
|
|
|
785 |
//
|
|
|
786 |
// PictureSelected
|
|
|
787 |
//
|
|
|
788 |
this->PictureSelected->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
789 |
this->PictureSelected->Location = System::Drawing::Point(0, 0);
|
|
|
790 |
this->PictureSelected->Name = L"PictureSelected";
|
|
|
791 |
this->PictureSelected->Size = System::Drawing::Size(113, 131);
|
|
|
792 |
this->PictureSelected->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
793 |
this->PictureSelected->TabIndex = 3;
|
|
|
794 |
this->PictureSelected->TabStop = false;
|
|
|
795 |
//
|
|
|
796 |
// ButDetails
|
|
|
797 |
//
|
|
|
798 |
this->ButDetails->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
799 |
this->ButDetails->Location = System::Drawing::Point(6, 400);
|
|
|
800 |
this->ButDetails->Name = L"ButDetails";
|
|
|
801 |
this->ButDetails->Size = System::Drawing::Size(601, 23);
|
|
|
802 |
this->ButDetails->TabIndex = 4;
|
|
|
803 |
this->ButDetails->Text = L"Show Details >>>";
|
|
|
804 |
this->ButDetails->UseVisualStyleBackColor = true;
|
|
|
805 |
this->ButDetails->Click += gcnew System::EventHandler(this, &ModSelector::ButDetails_Click);
|
|
|
806 |
//
|
|
|
807 |
// label1
|
|
|
808 |
//
|
|
|
809 |
this->label1->AutoSize = true;
|
|
|
810 |
this->label1->Location = System::Drawing::Point(72, 37);
|
|
|
811 |
this->label1->Name = L"label1";
|
|
|
812 |
this->label1->Size = System::Drawing::Size(0, 13);
|
|
|
813 |
this->label1->TabIndex = 0;
|
|
|
814 |
//
|
|
|
815 |
// panel1
|
|
|
816 |
//
|
|
|
817 |
this->panel1->Controls->Add(this->button1);
|
|
|
818 |
this->panel1->Controls->Add(this->ButUninstall);
|
|
|
819 |
this->panel1->Controls->Add(this->ButNoMod);
|
|
|
820 |
this->panel1->Controls->Add(this->ButSelect);
|
|
|
821 |
this->panel1->Controls->Add(this->ButClose);
|
|
|
822 |
this->panel1->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
823 |
this->panel1->Location = System::Drawing::Point(8, 606);
|
|
|
824 |
this->panel1->Name = L"panel1";
|
|
|
825 |
this->panel1->Padding = System::Windows::Forms::Padding(5);
|
|
|
826 |
this->panel1->Size = System::Drawing::Size(613, 40);
|
|
|
827 |
this->panel1->TabIndex = 2;
|
|
|
828 |
//
|
|
|
829 |
// button1
|
|
|
830 |
//
|
|
|
831 |
this->button1->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
832 |
this->button1->Location = System::Drawing::Point(218, 5);
|
|
|
833 |
this->button1->Name = L"button1";
|
|
|
834 |
this->button1->Size = System::Drawing::Size(108, 30);
|
|
|
835 |
this->button1->TabIndex = 4;
|
|
|
836 |
this->button1->Text = L"Download Mod";
|
|
|
837 |
this->button1->UseVisualStyleBackColor = true;
|
|
|
838 |
this->button1->Visible = false;
|
|
|
839 |
this->button1->Click += gcnew System::EventHandler(this, &ModSelector::button1_Click);
|
|
|
840 |
//
|
|
|
841 |
// ButUninstall
|
|
|
842 |
//
|
|
|
843 |
this->ButUninstall->DialogResult = System::Windows::Forms::DialogResult::Retry;
|
|
|
844 |
this->ButUninstall->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
845 |
this->ButUninstall->Location = System::Drawing::Point(121, 5);
|
|
|
846 |
this->ButUninstall->Name = L"ButUninstall";
|
|
|
847 |
this->ButUninstall->Size = System::Drawing::Size(97, 30);
|
|
|
848 |
this->ButUninstall->TabIndex = 3;
|
|
|
849 |
this->ButUninstall->Text = L"Uninstall";
|
|
|
850 |
this->ButUninstall->UseVisualStyleBackColor = true;
|
|
|
851 |
//
|
|
|
852 |
// ButNoMod
|
|
|
853 |
//
|
|
|
854 |
this->ButNoMod->DialogResult = System::Windows::Forms::DialogResult::Abort;
|
|
|
855 |
this->ButNoMod->Dock = System::Windows::Forms::DockStyle::Right;
|
|
|
856 |
this->ButNoMod->Location = System::Drawing::Point(398, 5);
|
|
|
857 |
this->ButNoMod->Name = L"ButNoMod";
|
|
|
858 |
this->ButNoMod->Size = System::Drawing::Size(135, 30);
|
|
|
859 |
this->ButNoMod->TabIndex = 2;
|
|
|
860 |
this->ButNoMod->Text = L"Disable Current Mod";
|
|
|
861 |
this->ButNoMod->UseVisualStyleBackColor = true;
|
|
|
862 |
//
|
|
|
863 |
// ButSelect
|
|
|
864 |
//
|
|
|
865 |
this->ButSelect->DialogResult = System::Windows::Forms::DialogResult::OK;
|
|
|
866 |
this->ButSelect->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
867 |
this->ButSelect->Location = System::Drawing::Point(5, 5);
|
|
|
868 |
this->ButSelect->Name = L"ButSelect";
|
|
|
869 |
this->ButSelect->Size = System::Drawing::Size(116, 30);
|
|
|
870 |
this->ButSelect->TabIndex = 1;
|
|
|
871 |
this->ButSelect->Text = L"Select Mod";
|
|
|
872 |
this->ButSelect->UseVisualStyleBackColor = true;
|
|
|
873 |
//
|
|
|
874 |
// ButClose
|
|
|
875 |
//
|
|
|
876 |
this->ButClose->DialogResult = System::Windows::Forms::DialogResult::Cancel;
|
|
|
877 |
this->ButClose->Dock = System::Windows::Forms::DockStyle::Right;
|
|
|
878 |
this->ButClose->Location = System::Drawing::Point(533, 5);
|
|
|
879 |
this->ButClose->Name = L"ButClose";
|
|
|
880 |
this->ButClose->Size = System::Drawing::Size(75, 30);
|
|
|
881 |
this->ButClose->TabIndex = 0;
|
|
|
882 |
this->ButClose->Text = L"Close";
|
|
|
883 |
this->ButClose->UseVisualStyleBackColor = true;
|
|
|
884 |
//
|
|
|
885 |
// ModSelector
|
|
|
886 |
//
|
|
|
887 |
this->AcceptButton = this->ButSelect;
|
|
|
888 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
|
|
889 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
|
|
890 |
this->AutoSize = true;
|
|
|
891 |
this->CancelButton = this->ButClose;
|
|
|
892 |
this->ClientSize = System::Drawing::Size(629, 654);
|
|
|
893 |
this->Controls->Add(this->GroupSelect);
|
|
|
894 |
this->Controls->Add(this->panel1);
|
|
|
895 |
this->Controls->Add(this->GroupMod);
|
|
|
896 |
this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));
|
|
|
897 |
this->Name = L"ModSelector";
|
|
|
898 |
this->Padding = System::Windows::Forms::Padding(8);
|
|
|
899 |
this->ShowInTaskbar = false;
|
|
|
900 |
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
|
|
|
901 |
this->Text = L"ModSelector";
|
|
|
902 |
this->Load += gcnew System::EventHandler(this, &ModSelector::ModSelector_Load);
|
|
|
903 |
this->GroupMod->ResumeLayout(false);
|
|
|
904 |
this->panel2->ResumeLayout(false);
|
|
|
905 |
this->panel4->ResumeLayout(false);
|
|
|
906 |
this->panel4->PerformLayout();
|
|
|
907 |
this->panel3->ResumeLayout(false);
|
|
|
908 |
this->panel3->PerformLayout();
|
|
|
909 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PictureBox))->EndInit();
|
|
|
910 |
this->GroupSelect->ResumeLayout(false);
|
|
|
911 |
this->GroupSelect->PerformLayout();
|
|
|
912 |
this->PanelDetails->ResumeLayout(false);
|
|
|
913 |
this->panel6->ResumeLayout(false);
|
|
|
914 |
this->panel6->PerformLayout();
|
|
|
915 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec5))->EndInit();
|
|
|
916 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec4))->EndInit();
|
|
|
917 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec3))->EndInit();
|
|
|
918 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec2))->EndInit();
|
|
|
919 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange5))->EndInit();
|
|
|
920 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange4))->EndInit();
|
|
|
921 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange3))->EndInit();
|
|
|
922 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange2))->EndInit();
|
|
|
923 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase5))->EndInit();
|
|
|
924 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase4))->EndInit();
|
|
|
925 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase3))->EndInit();
|
|
|
926 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase2))->EndInit();
|
|
|
927 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec1))->EndInit();
|
|
|
928 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange1))->EndInit();
|
|
|
929 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase1))->EndInit();
|
|
|
930 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PictureSelected))->EndInit();
|
|
|
931 |
this->panel1->ResumeLayout(false);
|
|
|
932 |
this->ResumeLayout(false);
|
|
|
933 |
|
|
|
934 |
}
|
|
|
935 |
#pragma endregion
|
|
|
936 |
private: System::Void ButDetails_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
937 |
m_bDetails = !m_bDetails;
|
|
|
938 |
this->UpdateDetails();
|
|
|
939 |
}
|
|
|
940 |
private: System::Void ModSelector_Load(System::Object^ sender, System::EventArgs^ e) {
|
|
|
941 |
if ( !m_bDetails )
|
|
|
942 |
{
|
|
|
943 |
this->ShowDetails();
|
|
|
944 |
this->HideDetails();
|
|
|
945 |
}
|
|
|
946 |
}
|
|
|
947 |
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
948 |
this->DownloadPackage();
|
|
|
949 |
}
|
|
|
950 |
};
|
|
|
951 |
}
|