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 InstallPackageDialog
|
|
|
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 InstallPackageDialog : public System::Windows::Forms::Form
|
|
|
24 |
{
|
|
|
25 |
public:
|
105 |
cycrow |
26 |
InstallPackageDialog(CPackages *p);
|
1 |
cycrow |
27 |
|
|
|
28 |
void UpdatePackages();
|
|
|
29 |
void DisplayPackage(CBaseFile *p);
|
|
|
30 |
void DoClose();
|
|
|
31 |
|
|
|
32 |
protected:
|
105 |
cycrow |
33 |
void updateUI();
|
|
|
34 |
|
1 |
cycrow |
35 |
/// <summary>
|
|
|
36 |
/// Clean up any resources being used.
|
|
|
37 |
/// </summary>
|
|
|
38 |
~InstallPackageDialog()
|
|
|
39 |
{
|
|
|
40 |
if (components)
|
|
|
41 |
{
|
|
|
42 |
delete components;
|
|
|
43 |
}
|
|
|
44 |
}
|
|
|
45 |
private: System::Windows::Forms::GroupBox^ GroupList;
|
|
|
46 |
protected:
|
|
|
47 |
|
|
|
48 |
protected:
|
|
|
49 |
private: System::Windows::Forms::ListView^ ListPackages;
|
|
|
50 |
internal: System::Windows::Forms::ColumnHeader^ columnHeader1;
|
|
|
51 |
private:
|
|
|
52 |
private: System::Windows::Forms::ColumnHeader^ columnHeader2;
|
|
|
53 |
internal:
|
|
|
54 |
private: System::Windows::Forms::ColumnHeader^ columnHeader3;
|
|
|
55 |
private: System::Windows::Forms::GroupBox^ GroupPackage;
|
|
|
56 |
private: System::Windows::Forms::PictureBox^ PictureDisplay;
|
|
|
57 |
private: System::Windows::Forms::Panel^ panel1;
|
|
|
58 |
private: System::Windows::Forms::Button^ ButInstall;
|
|
|
59 |
private: System::Windows::Forms::Button^ ButCancel;
|
|
|
60 |
|
|
|
61 |
protected:
|
|
|
62 |
CPackages *m_pPackages;
|
|
|
63 |
private: System::Windows::Forms::RichTextBox^ TextDesc;
|
|
|
64 |
private: System::Windows::Forms::Panel^ panel2;
|
|
|
65 |
private: System::Windows::Forms::RichTextBox^ TextInstall;
|
|
|
66 |
private: System::Windows::Forms::Panel^ panel3;
|
|
|
67 |
private: System::Windows::Forms::Label^ LabVersion;
|
|
|
68 |
|
|
|
69 |
private: System::Windows::Forms::Label^ label3;
|
|
|
70 |
private: System::Windows::Forms::Label^ label2;
|
|
|
71 |
private: System::Windows::Forms::Label^ label1;
|
|
|
72 |
private: System::Windows::Forms::Label^ LabType;
|
|
|
73 |
|
|
|
74 |
private: System::Windows::Forms::Label^ LabDate;
|
|
|
75 |
private: System::Windows::Forms::Panel^ PanelRating;
|
|
|
76 |
|
|
|
77 |
private: System::Windows::Forms::Label^ label4;
|
|
|
78 |
private: System::Windows::Forms::Label^ label6;
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
private: System::Windows::Forms::PictureBox^ PicRec4;
|
|
|
82 |
|
|
|
83 |
private: System::Windows::Forms::PictureBox^ PicRec3;
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
private: System::Windows::Forms::PictureBox^ PicChange5;
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
private: System::Windows::Forms::PictureBox^ PicChange3;
|
|
|
92 |
|
|
|
93 |
private: System::Windows::Forms::PictureBox^ PicChange2;
|
|
|
94 |
private: System::Windows::Forms::PictureBox^ PicRec1;
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
private: System::Windows::Forms::PictureBox^ PicChange1;
|
|
|
98 |
|
|
|
99 |
private: System::Windows::Forms::Label^ label5;
|
|
|
100 |
private: System::Windows::Forms::PictureBox^ PicEase4;
|
|
|
101 |
private: System::Windows::Forms::PictureBox^ PicEase5;
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
private: System::Windows::Forms::PictureBox^ PicEase3;
|
|
|
105 |
|
|
|
106 |
private: System::Windows::Forms::PictureBox^ PicEase2;
|
|
|
107 |
|
|
|
108 |
private: System::Windows::Forms::PictureBox^ PicEase1;
|
|
|
109 |
private: System::Windows::Forms::PictureBox^ PicChange4;
|
|
|
110 |
private: System::Windows::Forms::PictureBox^ PicRec2;
|
|
|
111 |
private: System::Windows::Forms::PictureBox^ PicRec5;
|
|
|
112 |
private: System::Windows::Forms::Label^ LabError;
|
|
|
113 |
private: System::Windows::Forms::ColumnHeader^ columnHeader4;
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
private: System::Windows::Forms::Label^ LabPluginType;
|
|
|
117 |
private: System::Windows::Forms::Label^ label9;
|
|
|
118 |
private: System::Windows::Forms::Label^ label8;
|
|
|
119 |
private: System::Windows::Forms::Panel^ panel4;
|
|
|
120 |
private: System::Windows::Forms::Label^ LabGames;
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
protected:
|
|
|
124 |
|
|
|
125 |
private:
|
|
|
126 |
/// <summary>
|
|
|
127 |
/// Required designer variable.
|
|
|
128 |
/// </summary>
|
|
|
129 |
System::ComponentModel::Container ^components;
|
|
|
130 |
|
|
|
131 |
#pragma region Windows Form Designer generated code
|
|
|
132 |
/// <summary>
|
|
|
133 |
/// Required method for Designer support - do not modify
|
|
|
134 |
/// the contents of this method with the code editor.
|
|
|
135 |
/// </summary>
|
|
|
136 |
void InitializeComponent(void)
|
|
|
137 |
{
|
|
|
138 |
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(InstallPackageDialog::typeid));
|
|
|
139 |
this->PicRec5 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
140 |
this->PicRec2 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
141 |
this->PicChange4 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
142 |
this->GroupList = (gcnew System::Windows::Forms::GroupBox());
|
|
|
143 |
this->ListPackages = (gcnew System::Windows::Forms::ListView());
|
|
|
144 |
this->columnHeader1 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
145 |
this->columnHeader2 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
146 |
this->columnHeader3 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
147 |
this->columnHeader4 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
148 |
this->GroupPackage = (gcnew System::Windows::Forms::GroupBox());
|
|
|
149 |
this->panel2 = (gcnew System::Windows::Forms::Panel());
|
|
|
150 |
this->TextDesc = (gcnew System::Windows::Forms::RichTextBox());
|
42 |
cycrow |
151 |
this->panel4 = (gcnew System::Windows::Forms::Panel());
|
|
|
152 |
this->LabGames = (gcnew System::Windows::Forms::Label());
|
|
|
153 |
this->label8 = (gcnew System::Windows::Forms::Label());
|
1 |
cycrow |
154 |
this->panel3 = (gcnew System::Windows::Forms::Panel());
|
42 |
cycrow |
155 |
this->label9 = (gcnew System::Windows::Forms::Label());
|
|
|
156 |
this->LabPluginType = (gcnew System::Windows::Forms::Label());
|
1 |
cycrow |
157 |
this->PanelRating = (gcnew System::Windows::Forms::Panel());
|
|
|
158 |
this->label6 = (gcnew System::Windows::Forms::Label());
|
|
|
159 |
this->PicRec4 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
160 |
this->PicRec3 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
161 |
this->PicChange5 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
162 |
this->PicChange3 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
163 |
this->PicChange2 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
164 |
this->PicRec1 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
165 |
this->PicChange1 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
166 |
this->label5 = (gcnew System::Windows::Forms::Label());
|
|
|
167 |
this->PicEase4 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
168 |
this->PicEase5 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
169 |
this->PicEase3 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
170 |
this->PicEase2 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
171 |
this->PicEase1 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
172 |
this->label4 = (gcnew System::Windows::Forms::Label());
|
|
|
173 |
this->LabType = (gcnew System::Windows::Forms::Label());
|
|
|
174 |
this->LabDate = (gcnew System::Windows::Forms::Label());
|
|
|
175 |
this->LabVersion = (gcnew System::Windows::Forms::Label());
|
|
|
176 |
this->label3 = (gcnew System::Windows::Forms::Label());
|
|
|
177 |
this->label2 = (gcnew System::Windows::Forms::Label());
|
|
|
178 |
this->label1 = (gcnew System::Windows::Forms::Label());
|
|
|
179 |
this->TextInstall = (gcnew System::Windows::Forms::RichTextBox());
|
|
|
180 |
this->PictureDisplay = (gcnew System::Windows::Forms::PictureBox());
|
|
|
181 |
this->panel1 = (gcnew System::Windows::Forms::Panel());
|
|
|
182 |
this->LabError = (gcnew System::Windows::Forms::Label());
|
|
|
183 |
this->ButInstall = (gcnew System::Windows::Forms::Button());
|
|
|
184 |
this->ButCancel = (gcnew System::Windows::Forms::Button());
|
|
|
185 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec5))->BeginInit();
|
|
|
186 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec2))->BeginInit();
|
|
|
187 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange4))->BeginInit();
|
|
|
188 |
this->GroupList->SuspendLayout();
|
|
|
189 |
this->GroupPackage->SuspendLayout();
|
|
|
190 |
this->panel2->SuspendLayout();
|
42 |
cycrow |
191 |
this->panel4->SuspendLayout();
|
1 |
cycrow |
192 |
this->panel3->SuspendLayout();
|
|
|
193 |
this->PanelRating->SuspendLayout();
|
|
|
194 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec4))->BeginInit();
|
|
|
195 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec3))->BeginInit();
|
|
|
196 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange5))->BeginInit();
|
|
|
197 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange3))->BeginInit();
|
|
|
198 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange2))->BeginInit();
|
|
|
199 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec1))->BeginInit();
|
|
|
200 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange1))->BeginInit();
|
|
|
201 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase4))->BeginInit();
|
|
|
202 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase5))->BeginInit();
|
|
|
203 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase3))->BeginInit();
|
|
|
204 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase2))->BeginInit();
|
|
|
205 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase1))->BeginInit();
|
|
|
206 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PictureDisplay))->BeginInit();
|
|
|
207 |
this->panel1->SuspendLayout();
|
|
|
208 |
this->SuspendLayout();
|
|
|
209 |
//
|
|
|
210 |
// PicRec5
|
|
|
211 |
//
|
|
|
212 |
this->PicRec5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec5.Image")));
|
|
|
213 |
this->PicRec5->Location = System::Drawing::Point(238, 46);
|
|
|
214 |
this->PicRec5->Name = L"PicRec5";
|
|
|
215 |
this->PicRec5->Size = System::Drawing::Size(24, 24);
|
|
|
216 |
this->PicRec5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
217 |
this->PicRec5->TabIndex = 25;
|
|
|
218 |
this->PicRec5->TabStop = false;
|
|
|
219 |
//
|
|
|
220 |
// PicRec2
|
|
|
221 |
//
|
|
|
222 |
this->PicRec2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec2.Image")));
|
|
|
223 |
this->PicRec2->Location = System::Drawing::Point(169, 46);
|
|
|
224 |
this->PicRec2->Name = L"PicRec2";
|
|
|
225 |
this->PicRec2->Size = System::Drawing::Size(24, 24);
|
|
|
226 |
this->PicRec2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
227 |
this->PicRec2->TabIndex = 22;
|
|
|
228 |
this->PicRec2->TabStop = false;
|
|
|
229 |
//
|
|
|
230 |
// PicChange4
|
|
|
231 |
//
|
|
|
232 |
this->PicChange4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange4.Image")));
|
|
|
233 |
this->PicChange4->Location = System::Drawing::Point(215, 23);
|
|
|
234 |
this->PicChange4->Name = L"PicChange4";
|
|
|
235 |
this->PicChange4->Size = System::Drawing::Size(24, 24);
|
|
|
236 |
this->PicChange4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
237 |
this->PicChange4->TabIndex = 20;
|
|
|
238 |
this->PicChange4->TabStop = false;
|
|
|
239 |
//
|
|
|
240 |
// GroupList
|
|
|
241 |
//
|
|
|
242 |
this->GroupList->Controls->Add(this->ListPackages);
|
|
|
243 |
this->GroupList->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
244 |
this->GroupList->Location = System::Drawing::Point(0, 0);
|
|
|
245 |
this->GroupList->Name = L"GroupList";
|
|
|
246 |
this->GroupList->Size = System::Drawing::Size(730, 166);
|
|
|
247 |
this->GroupList->TabIndex = 2;
|
|
|
248 |
this->GroupList->TabStop = false;
|
|
|
249 |
this->GroupList->Text = L"Packages to Install";
|
|
|
250 |
//
|
|
|
251 |
// ListPackages
|
|
|
252 |
//
|
|
|
253 |
this->ListPackages->CheckBoxes = true;
|
|
|
254 |
this->ListPackages->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(4) {this->columnHeader1,
|
|
|
255 |
this->columnHeader2, this->columnHeader3, this->columnHeader4});
|
|
|
256 |
this->ListPackages->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
257 |
this->ListPackages->FullRowSelect = true;
|
|
|
258 |
this->ListPackages->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
|
|
|
259 |
this->ListPackages->HoverSelection = true;
|
|
|
260 |
this->ListPackages->Location = System::Drawing::Point(3, 16);
|
|
|
261 |
this->ListPackages->MultiSelect = false;
|
|
|
262 |
this->ListPackages->Name = L"ListPackages";
|
|
|
263 |
this->ListPackages->Size = System::Drawing::Size(724, 147);
|
|
|
264 |
this->ListPackages->Sorting = System::Windows::Forms::SortOrder::Ascending;
|
|
|
265 |
this->ListPackages->TabIndex = 0;
|
|
|
266 |
this->ListPackages->UseCompatibleStateImageBehavior = false;
|
|
|
267 |
this->ListPackages->View = System::Windows::Forms::View::Details;
|
105 |
cycrow |
268 |
this->ListPackages->ItemChecked += gcnew System::Windows::Forms::ItemCheckedEventHandler(this, &InstallPackageDialog::ListPackages_ItemChecked);
|
1 |
cycrow |
269 |
this->ListPackages->SelectedIndexChanged += gcnew System::EventHandler(this, &InstallPackageDialog::ListPackages_SelectedIndexChanged);
|
|
|
270 |
//
|
|
|
271 |
// columnHeader1
|
|
|
272 |
//
|
|
|
273 |
this->columnHeader1->Text = L"Package";
|
|
|
274 |
this->columnHeader1->Width = 200;
|
|
|
275 |
//
|
|
|
276 |
// columnHeader2
|
|
|
277 |
//
|
|
|
278 |
this->columnHeader2->Text = L"Author";
|
|
|
279 |
this->columnHeader2->Width = 120;
|
|
|
280 |
//
|
|
|
281 |
// columnHeader3
|
|
|
282 |
//
|
|
|
283 |
this->columnHeader3->Text = L"Version";
|
|
|
284 |
this->columnHeader3->Width = 90;
|
|
|
285 |
//
|
|
|
286 |
// columnHeader4
|
|
|
287 |
//
|
|
|
288 |
this->columnHeader4->Text = L"Error";
|
|
|
289 |
this->columnHeader4->Width = 200;
|
|
|
290 |
//
|
|
|
291 |
// GroupPackage
|
|
|
292 |
//
|
|
|
293 |
this->GroupPackage->Controls->Add(this->panel2);
|
|
|
294 |
this->GroupPackage->Controls->Add(this->PictureDisplay);
|
|
|
295 |
this->GroupPackage->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
296 |
this->GroupPackage->Location = System::Drawing::Point(0, 166);
|
|
|
297 |
this->GroupPackage->Name = L"GroupPackage";
|
|
|
298 |
this->GroupPackage->Size = System::Drawing::Size(730, 206);
|
|
|
299 |
this->GroupPackage->TabIndex = 3;
|
|
|
300 |
this->GroupPackage->TabStop = false;
|
|
|
301 |
//
|
|
|
302 |
// panel2
|
|
|
303 |
//
|
|
|
304 |
this->panel2->Controls->Add(this->TextDesc);
|
|
|
305 |
this->panel2->Controls->Add(this->panel4);
|
|
|
306 |
this->panel2->Controls->Add(this->panel3);
|
|
|
307 |
this->panel2->Controls->Add(this->TextInstall);
|
|
|
308 |
this->panel2->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
309 |
this->panel2->Location = System::Drawing::Point(129, 16);
|
|
|
310 |
this->panel2->Name = L"panel2";
|
|
|
311 |
this->panel2->Size = System::Drawing::Size(598, 187);
|
|
|
312 |
this->panel2->TabIndex = 2;
|
|
|
313 |
//
|
|
|
314 |
// TextDesc
|
|
|
315 |
//
|
|
|
316 |
this->TextDesc->BackColor = System::Drawing::SystemColors::Info;
|
|
|
317 |
this->TextDesc->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
318 |
this->TextDesc->Location = System::Drawing::Point(0, 111);
|
|
|
319 |
this->TextDesc->Name = L"TextDesc";
|
|
|
320 |
this->TextDesc->ReadOnly = true;
|
|
|
321 |
this->TextDesc->ScrollBars = System::Windows::Forms::RichTextBoxScrollBars::Vertical;
|
|
|
322 |
this->TextDesc->Size = System::Drawing::Size(598, 42);
|
|
|
323 |
this->TextDesc->TabIndex = 1;
|
|
|
324 |
this->TextDesc->Text = L"";
|
|
|
325 |
//
|
42 |
cycrow |
326 |
// panel4
|
|
|
327 |
//
|
|
|
328 |
this->panel4->Controls->Add(this->LabGames);
|
|
|
329 |
this->panel4->Controls->Add(this->label8);
|
|
|
330 |
this->panel4->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
331 |
this->panel4->Location = System::Drawing::Point(0, 90);
|
|
|
332 |
this->panel4->Name = L"panel4";
|
|
|
333 |
this->panel4->Size = System::Drawing::Size(598, 21);
|
|
|
334 |
this->panel4->TabIndex = 11;
|
|
|
335 |
//
|
|
|
336 |
// LabGames
|
|
|
337 |
//
|
|
|
338 |
this->LabGames->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
339 |
this->LabGames->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
340 |
static_cast<System::Byte>(0)));
|
74 |
cycrow |
341 |
this->LabGames->Location = System::Drawing::Point(124, 0);
|
42 |
cycrow |
342 |
this->LabGames->Name = L"LabGames";
|
74 |
cycrow |
343 |
this->LabGames->Size = System::Drawing::Size(474, 21);
|
42 |
cycrow |
344 |
this->LabGames->TabIndex = 11;
|
|
|
345 |
this->LabGames->Text = L"label6";
|
|
|
346 |
this->LabGames->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
347 |
//
|
|
|
348 |
// label8
|
|
|
349 |
//
|
|
|
350 |
this->label8->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
351 |
this->label8->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
352 |
static_cast<System::Byte>(0)));
|
|
|
353 |
this->label8->Location = System::Drawing::Point(0, 0);
|
|
|
354 |
this->label8->Name = L"label8";
|
74 |
cycrow |
355 |
this->label8->Size = System::Drawing::Size(124, 21);
|
42 |
cycrow |
356 |
this->label8->TabIndex = 10;
|
74 |
cycrow |
357 |
this->label8->Text = L" Games:";
|
42 |
cycrow |
358 |
this->label8->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
74 |
cycrow |
359 |
this->label8->Click += gcnew System::EventHandler(this, &InstallPackageDialog::label8_Click);
|
42 |
cycrow |
360 |
//
|
1 |
cycrow |
361 |
// panel3
|
|
|
362 |
//
|
|
|
363 |
this->panel3->Controls->Add(this->label9);
|
|
|
364 |
this->panel3->Controls->Add(this->LabPluginType);
|
|
|
365 |
this->panel3->Controls->Add(this->PanelRating);
|
|
|
366 |
this->panel3->Controls->Add(this->LabType);
|
|
|
367 |
this->panel3->Controls->Add(this->LabDate);
|
|
|
368 |
this->panel3->Controls->Add(this->LabVersion);
|
|
|
369 |
this->panel3->Controls->Add(this->label3);
|
|
|
370 |
this->panel3->Controls->Add(this->label2);
|
|
|
371 |
this->panel3->Controls->Add(this->label1);
|
|
|
372 |
this->panel3->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
373 |
this->panel3->Location = System::Drawing::Point(0, 0);
|
|
|
374 |
this->panel3->Name = L"panel3";
|
|
|
375 |
this->panel3->Size = System::Drawing::Size(598, 90);
|
|
|
376 |
this->panel3->TabIndex = 3;
|
|
|
377 |
//
|
42 |
cycrow |
378 |
// label9
|
|
|
379 |
//
|
|
|
380 |
this->label9->AutoSize = true;
|
|
|
381 |
this->label9->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
382 |
static_cast<System::Byte>(0)));
|
|
|
383 |
this->label9->Location = System::Drawing::Point(6, 68);
|
|
|
384 |
this->label9->Name = L"label9";
|
|
|
385 |
this->label9->Size = System::Drawing::Size(87, 16);
|
|
|
386 |
this->label9->TabIndex = 27;
|
|
|
387 |
this->label9->Text = L"Plugin Type:";
|
|
|
388 |
//
|
|
|
389 |
// LabPluginType
|
|
|
390 |
//
|
|
|
391 |
this->LabPluginType->AutoSize = true;
|
|
|
392 |
this->LabPluginType->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
393 |
static_cast<System::Byte>(0)));
|
|
|
394 |
this->LabPluginType->Location = System::Drawing::Point(123, 68);
|
|
|
395 |
this->LabPluginType->Name = L"LabPluginType";
|
|
|
396 |
this->LabPluginType->Size = System::Drawing::Size(43, 16);
|
|
|
397 |
this->LabPluginType->TabIndex = 28;
|
|
|
398 |
this->LabPluginType->Text = L"label6";
|
|
|
399 |
//
|
1 |
cycrow |
400 |
// PanelRating
|
|
|
401 |
//
|
|
|
402 |
this->PanelRating->Controls->Add(this->label6);
|
|
|
403 |
this->PanelRating->Controls->Add(this->PicRec5);
|
|
|
404 |
this->PanelRating->Controls->Add(this->PicRec4);
|
|
|
405 |
this->PanelRating->Controls->Add(this->PicRec3);
|
|
|
406 |
this->PanelRating->Controls->Add(this->PicRec2);
|
|
|
407 |
this->PanelRating->Controls->Add(this->PicChange5);
|
|
|
408 |
this->PanelRating->Controls->Add(this->PicChange4);
|
|
|
409 |
this->PanelRating->Controls->Add(this->PicChange3);
|
|
|
410 |
this->PanelRating->Controls->Add(this->PicChange2);
|
|
|
411 |
this->PanelRating->Controls->Add(this->PicRec1);
|
|
|
412 |
this->PanelRating->Controls->Add(this->PicChange1);
|
|
|
413 |
this->PanelRating->Controls->Add(this->label5);
|
|
|
414 |
this->PanelRating->Controls->Add(this->PicEase4);
|
|
|
415 |
this->PanelRating->Controls->Add(this->PicEase5);
|
|
|
416 |
this->PanelRating->Controls->Add(this->PicEase3);
|
|
|
417 |
this->PanelRating->Controls->Add(this->PicEase2);
|
|
|
418 |
this->PanelRating->Controls->Add(this->PicEase1);
|
|
|
419 |
this->PanelRating->Controls->Add(this->label4);
|
|
|
420 |
this->PanelRating->Dock = System::Windows::Forms::DockStyle::Right;
|
|
|
421 |
this->PanelRating->Location = System::Drawing::Point(336, 0);
|
|
|
422 |
this->PanelRating->Name = L"PanelRating";
|
|
|
423 |
this->PanelRating->Size = System::Drawing::Size(262, 90);
|
|
|
424 |
this->PanelRating->TabIndex = 7;
|
|
|
425 |
//
|
|
|
426 |
// label6
|
|
|
427 |
//
|
|
|
428 |
this->label6->AutoSize = true;
|
|
|
429 |
this->label6->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
430 |
static_cast<System::Byte>(0)));
|
|
|
431 |
this->label6->Location = System::Drawing::Point(3, 48);
|
|
|
432 |
this->label6->Name = L"label6";
|
|
|
433 |
this->label6->Size = System::Drawing::Size(104, 16);
|
|
|
434 |
this->label6->TabIndex = 26;
|
|
|
435 |
this->label6->Text = L"Recommended";
|
|
|
436 |
//
|
|
|
437 |
// PicRec4
|
|
|
438 |
//
|
|
|
439 |
this->PicRec4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec4.Image")));
|
|
|
440 |
this->PicRec4->Location = System::Drawing::Point(215, 46);
|
|
|
441 |
this->PicRec4->Name = L"PicRec4";
|
|
|
442 |
this->PicRec4->Size = System::Drawing::Size(24, 24);
|
|
|
443 |
this->PicRec4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
444 |
this->PicRec4->TabIndex = 24;
|
|
|
445 |
this->PicRec4->TabStop = false;
|
|
|
446 |
//
|
|
|
447 |
// PicRec3
|
|
|
448 |
//
|
|
|
449 |
this->PicRec3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec3.Image")));
|
|
|
450 |
this->PicRec3->Location = System::Drawing::Point(192, 46);
|
|
|
451 |
this->PicRec3->Name = L"PicRec3";
|
|
|
452 |
this->PicRec3->Size = System::Drawing::Size(24, 24);
|
|
|
453 |
this->PicRec3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
454 |
this->PicRec3->TabIndex = 23;
|
|
|
455 |
this->PicRec3->TabStop = false;
|
|
|
456 |
//
|
|
|
457 |
// PicChange5
|
|
|
458 |
//
|
|
|
459 |
this->PicChange5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange5.Image")));
|
|
|
460 |
this->PicChange5->Location = System::Drawing::Point(238, 23);
|
|
|
461 |
this->PicChange5->Name = L"PicChange5";
|
|
|
462 |
this->PicChange5->Size = System::Drawing::Size(24, 24);
|
|
|
463 |
this->PicChange5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
464 |
this->PicChange5->TabIndex = 21;
|
|
|
465 |
this->PicChange5->TabStop = false;
|
|
|
466 |
//
|
|
|
467 |
// PicChange3
|
|
|
468 |
//
|
|
|
469 |
this->PicChange3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange3.Image")));
|
|
|
470 |
this->PicChange3->Location = System::Drawing::Point(192, 23);
|
|
|
471 |
this->PicChange3->Name = L"PicChange3";
|
|
|
472 |
this->PicChange3->Size = System::Drawing::Size(24, 24);
|
|
|
473 |
this->PicChange3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
474 |
this->PicChange3->TabIndex = 19;
|
|
|
475 |
this->PicChange3->TabStop = false;
|
|
|
476 |
//
|
|
|
477 |
// PicChange2
|
|
|
478 |
//
|
|
|
479 |
this->PicChange2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange2.Image")));
|
|
|
480 |
this->PicChange2->Location = System::Drawing::Point(169, 23);
|
|
|
481 |
this->PicChange2->Name = L"PicChange2";
|
|
|
482 |
this->PicChange2->Size = System::Drawing::Size(24, 24);
|
|
|
483 |
this->PicChange2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
484 |
this->PicChange2->TabIndex = 18;
|
|
|
485 |
this->PicChange2->TabStop = false;
|
|
|
486 |
//
|
|
|
487 |
// PicRec1
|
|
|
488 |
//
|
|
|
489 |
this->PicRec1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicRec1.Image")));
|
|
|
490 |
this->PicRec1->Location = System::Drawing::Point(146, 46);
|
|
|
491 |
this->PicRec1->Name = L"PicRec1";
|
|
|
492 |
this->PicRec1->Size = System::Drawing::Size(24, 24);
|
|
|
493 |
this->PicRec1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
494 |
this->PicRec1->TabIndex = 17;
|
|
|
495 |
this->PicRec1->TabStop = false;
|
|
|
496 |
//
|
|
|
497 |
// PicChange1
|
|
|
498 |
//
|
|
|
499 |
this->PicChange1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicChange1.Image")));
|
|
|
500 |
this->PicChange1->Location = System::Drawing::Point(146, 23);
|
|
|
501 |
this->PicChange1->Name = L"PicChange1";
|
|
|
502 |
this->PicChange1->Size = System::Drawing::Size(24, 24);
|
|
|
503 |
this->PicChange1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
504 |
this->PicChange1->TabIndex = 16;
|
|
|
505 |
this->PicChange1->TabStop = false;
|
|
|
506 |
//
|
|
|
507 |
// label5
|
|
|
508 |
//
|
|
|
509 |
this->label5->AutoSize = true;
|
|
|
510 |
this->label5->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
511 |
static_cast<System::Byte>(0)));
|
|
|
512 |
this->label5->Location = System::Drawing::Point(2, 28);
|
|
|
513 |
this->label5->Name = L"label5";
|
|
|
514 |
this->label5->Size = System::Drawing::Size(111, 16);
|
|
|
515 |
this->label5->TabIndex = 15;
|
|
|
516 |
this->label5->Text = L"Game Changing";
|
|
|
517 |
//
|
|
|
518 |
// PicEase4
|
|
|
519 |
//
|
|
|
520 |
this->PicEase4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase4.Image")));
|
|
|
521 |
this->PicEase4->Location = System::Drawing::Point(215, 0);
|
|
|
522 |
this->PicEase4->Name = L"PicEase4";
|
|
|
523 |
this->PicEase4->Size = System::Drawing::Size(24, 24);
|
|
|
524 |
this->PicEase4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
525 |
this->PicEase4->TabIndex = 14;
|
|
|
526 |
this->PicEase4->TabStop = false;
|
|
|
527 |
//
|
|
|
528 |
// PicEase5
|
|
|
529 |
//
|
|
|
530 |
this->PicEase5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase5.Image")));
|
|
|
531 |
this->PicEase5->Location = System::Drawing::Point(238, 0);
|
|
|
532 |
this->PicEase5->Name = L"PicEase5";
|
|
|
533 |
this->PicEase5->Size = System::Drawing::Size(24, 24);
|
|
|
534 |
this->PicEase5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
535 |
this->PicEase5->TabIndex = 13;
|
|
|
536 |
this->PicEase5->TabStop = false;
|
|
|
537 |
//
|
|
|
538 |
// PicEase3
|
|
|
539 |
//
|
|
|
540 |
this->PicEase3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase3.Image")));
|
|
|
541 |
this->PicEase3->Location = System::Drawing::Point(192, 0);
|
|
|
542 |
this->PicEase3->Name = L"PicEase3";
|
|
|
543 |
this->PicEase3->Size = System::Drawing::Size(24, 24);
|
|
|
544 |
this->PicEase3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
545 |
this->PicEase3->TabIndex = 12;
|
|
|
546 |
this->PicEase3->TabStop = false;
|
|
|
547 |
//
|
|
|
548 |
// PicEase2
|
|
|
549 |
//
|
|
|
550 |
this->PicEase2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase2.Image")));
|
|
|
551 |
this->PicEase2->Location = System::Drawing::Point(169, 0);
|
|
|
552 |
this->PicEase2->Name = L"PicEase2";
|
|
|
553 |
this->PicEase2->Size = System::Drawing::Size(24, 24);
|
|
|
554 |
this->PicEase2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
555 |
this->PicEase2->TabIndex = 11;
|
|
|
556 |
this->PicEase2->TabStop = false;
|
|
|
557 |
//
|
|
|
558 |
// PicEase1
|
|
|
559 |
//
|
|
|
560 |
this->PicEase1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"PicEase1.Image")));
|
|
|
561 |
this->PicEase1->Location = System::Drawing::Point(146, 0);
|
|
|
562 |
this->PicEase1->Name = L"PicEase1";
|
|
|
563 |
this->PicEase1->Size = System::Drawing::Size(24, 24);
|
|
|
564 |
this->PicEase1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
565 |
this->PicEase1->TabIndex = 10;
|
|
|
566 |
this->PicEase1->TabStop = false;
|
|
|
567 |
//
|
|
|
568 |
// label4
|
|
|
569 |
//
|
|
|
570 |
this->label4->AutoSize = true;
|
|
|
571 |
this->label4->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
572 |
static_cast<System::Byte>(0)));
|
|
|
573 |
this->label4->Location = System::Drawing::Point(3, 6);
|
|
|
574 |
this->label4->Name = L"label4";
|
|
|
575 |
this->label4->Size = System::Drawing::Size(81, 16);
|
|
|
576 |
this->label4->TabIndex = 6;
|
|
|
577 |
this->label4->Text = L"Ease of Use";
|
|
|
578 |
//
|
|
|
579 |
// LabType
|
|
|
580 |
//
|
|
|
581 |
this->LabType->AutoSize = true;
|
|
|
582 |
this->LabType->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
583 |
static_cast<System::Byte>(0)));
|
|
|
584 |
this->LabType->Location = System::Drawing::Point(123, 46);
|
|
|
585 |
this->LabType->Name = L"LabType";
|
|
|
586 |
this->LabType->Size = System::Drawing::Size(43, 16);
|
|
|
587 |
this->LabType->TabIndex = 5;
|
|
|
588 |
this->LabType->Text = L"label6";
|
|
|
589 |
//
|
|
|
590 |
// LabDate
|
|
|
591 |
//
|
|
|
592 |
this->LabDate->AutoSize = true;
|
|
|
593 |
this->LabDate->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
594 |
static_cast<System::Byte>(0)));
|
|
|
595 |
this->LabDate->Location = System::Drawing::Point(123, 26);
|
|
|
596 |
this->LabDate->Name = L"LabDate";
|
|
|
597 |
this->LabDate->Size = System::Drawing::Size(43, 16);
|
|
|
598 |
this->LabDate->TabIndex = 4;
|
|
|
599 |
this->LabDate->Text = L"label5";
|
|
|
600 |
//
|
|
|
601 |
// LabVersion
|
|
|
602 |
//
|
|
|
603 |
this->LabVersion->AutoSize = true;
|
|
|
604 |
this->LabVersion->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
605 |
static_cast<System::Byte>(0)));
|
|
|
606 |
this->LabVersion->Location = System::Drawing::Point(123, 6);
|
|
|
607 |
this->LabVersion->Name = L"LabVersion";
|
|
|
608 |
this->LabVersion->Size = System::Drawing::Size(43, 16);
|
|
|
609 |
this->LabVersion->TabIndex = 3;
|
|
|
610 |
this->LabVersion->Text = L"label4";
|
|
|
611 |
//
|
|
|
612 |
// label3
|
|
|
613 |
//
|
|
|
614 |
this->label3->AutoSize = true;
|
|
|
615 |
this->label3->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
616 |
static_cast<System::Byte>(0)));
|
|
|
617 |
this->label3->Location = System::Drawing::Point(6, 46);
|
|
|
618 |
this->label3->Name = L"label3";
|
|
|
619 |
this->label3->Size = System::Drawing::Size(42, 16);
|
|
|
620 |
this->label3->TabIndex = 2;
|
|
|
621 |
this->label3->Text = L"Type:";
|
|
|
622 |
//
|
|
|
623 |
// label2
|
|
|
624 |
//
|
|
|
625 |
this->label2->AutoSize = true;
|
|
|
626 |
this->label2->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
627 |
static_cast<System::Byte>(0)));
|
|
|
628 |
this->label2->Location = System::Drawing::Point(6, 26);
|
|
|
629 |
this->label2->Name = L"label2";
|
|
|
630 |
this->label2->Size = System::Drawing::Size(99, 16);
|
|
|
631 |
this->label2->TabIndex = 1;
|
|
|
632 |
this->label2->Text = L"Creation Date:";
|
|
|
633 |
//
|
|
|
634 |
// label1
|
|
|
635 |
//
|
|
|
636 |
this->label1->AutoSize = true;
|
|
|
637 |
this->label1->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
638 |
static_cast<System::Byte>(0)));
|
|
|
639 |
this->label1->Location = System::Drawing::Point(6, 6);
|
|
|
640 |
this->label1->Name = L"label1";
|
|
|
641 |
this->label1->Size = System::Drawing::Size(59, 16);
|
|
|
642 |
this->label1->TabIndex = 0;
|
|
|
643 |
this->label1->Text = L"Version:";
|
|
|
644 |
//
|
|
|
645 |
// TextInstall
|
|
|
646 |
//
|
|
|
647 |
this->TextInstall->BackColor = System::Drawing::SystemColors::Info;
|
|
|
648 |
this->TextInstall->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
649 |
this->TextInstall->Location = System::Drawing::Point(0, 153);
|
|
|
650 |
this->TextInstall->Name = L"TextInstall";
|
|
|
651 |
this->TextInstall->ReadOnly = true;
|
|
|
652 |
this->TextInstall->ScrollBars = System::Windows::Forms::RichTextBoxScrollBars::Vertical;
|
|
|
653 |
this->TextInstall->Size = System::Drawing::Size(598, 34);
|
|
|
654 |
this->TextInstall->TabIndex = 2;
|
|
|
655 |
this->TextInstall->Text = L"";
|
|
|
656 |
//
|
|
|
657 |
// PictureDisplay
|
|
|
658 |
//
|
|
|
659 |
this->PictureDisplay->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
660 |
this->PictureDisplay->Location = System::Drawing::Point(3, 16);
|
|
|
661 |
this->PictureDisplay->Name = L"PictureDisplay";
|
|
|
662 |
this->PictureDisplay->Size = System::Drawing::Size(126, 187);
|
|
|
663 |
this->PictureDisplay->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
664 |
this->PictureDisplay->TabIndex = 0;
|
|
|
665 |
this->PictureDisplay->TabStop = false;
|
|
|
666 |
//
|
|
|
667 |
// panel1
|
|
|
668 |
//
|
|
|
669 |
this->panel1->Controls->Add(this->LabError);
|
|
|
670 |
this->panel1->Controls->Add(this->ButInstall);
|
|
|
671 |
this->panel1->Controls->Add(this->ButCancel);
|
|
|
672 |
this->panel1->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
673 |
this->panel1->Location = System::Drawing::Point(0, 372);
|
|
|
674 |
this->panel1->Name = L"panel1";
|
|
|
675 |
this->panel1->Size = System::Drawing::Size(730, 27);
|
|
|
676 |
this->panel1->TabIndex = 5;
|
|
|
677 |
//
|
|
|
678 |
// LabError
|
|
|
679 |
//
|
|
|
680 |
this->LabError->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
681 |
this->LabError->Font = (gcnew System::Drawing::Font(L"Arial", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
682 |
static_cast<System::Byte>(0)));
|
42 |
cycrow |
683 |
this->LabError->ForeColor = System::Drawing::Color::Red;
|
1 |
cycrow |
684 |
this->LabError->Location = System::Drawing::Point(0, 0);
|
|
|
685 |
this->LabError->Name = L"LabError";
|
|
|
686 |
this->LabError->RightToLeft = System::Windows::Forms::RightToLeft::Yes;
|
|
|
687 |
this->LabError->Size = System::Drawing::Size(534, 27);
|
|
|
688 |
this->LabError->TabIndex = 2;
|
|
|
689 |
this->LabError->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
690 |
//
|
|
|
691 |
// ButInstall
|
|
|
692 |
//
|
|
|
693 |
this->ButInstall->DialogResult = System::Windows::Forms::DialogResult::OK;
|
|
|
694 |
this->ButInstall->Dock = System::Windows::Forms::DockStyle::Right;
|
|
|
695 |
this->ButInstall->Location = System::Drawing::Point(534, 0);
|
|
|
696 |
this->ButInstall->Name = L"ButInstall";
|
|
|
697 |
this->ButInstall->Size = System::Drawing::Size(99, 27);
|
|
|
698 |
this->ButInstall->TabIndex = 1;
|
|
|
699 |
this->ButInstall->Text = L"Install";
|
|
|
700 |
this->ButInstall->UseVisualStyleBackColor = true;
|
|
|
701 |
this->ButInstall->Click += gcnew System::EventHandler(this, &InstallPackageDialog::ButInstall_Click);
|
|
|
702 |
//
|
|
|
703 |
// ButCancel
|
|
|
704 |
//
|
|
|
705 |
this->ButCancel->DialogResult = System::Windows::Forms::DialogResult::Cancel;
|
|
|
706 |
this->ButCancel->Dock = System::Windows::Forms::DockStyle::Right;
|
|
|
707 |
this->ButCancel->Location = System::Drawing::Point(633, 0);
|
|
|
708 |
this->ButCancel->Name = L"ButCancel";
|
|
|
709 |
this->ButCancel->Size = System::Drawing::Size(97, 27);
|
|
|
710 |
this->ButCancel->TabIndex = 0;
|
|
|
711 |
this->ButCancel->Text = L"Cancel";
|
|
|
712 |
this->ButCancel->UseVisualStyleBackColor = true;
|
|
|
713 |
//
|
|
|
714 |
// InstallPackageDialog
|
|
|
715 |
//
|
|
|
716 |
this->AcceptButton = this->ButInstall;
|
|
|
717 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
|
|
718 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
|
|
719 |
this->CancelButton = this->ButCancel;
|
|
|
720 |
this->ClientSize = System::Drawing::Size(730, 399);
|
|
|
721 |
this->ControlBox = false;
|
|
|
722 |
this->Controls->Add(this->GroupList);
|
|
|
723 |
this->Controls->Add(this->GroupPackage);
|
|
|
724 |
this->Controls->Add(this->panel1);
|
|
|
725 |
this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));
|
|
|
726 |
this->Name = L"InstallPackageDialog";
|
|
|
727 |
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
|
|
|
728 |
this->Text = L"Install Package";
|
|
|
729 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec5))->EndInit();
|
|
|
730 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec2))->EndInit();
|
|
|
731 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange4))->EndInit();
|
|
|
732 |
this->GroupList->ResumeLayout(false);
|
|
|
733 |
this->GroupPackage->ResumeLayout(false);
|
|
|
734 |
this->panel2->ResumeLayout(false);
|
42 |
cycrow |
735 |
this->panel4->ResumeLayout(false);
|
1 |
cycrow |
736 |
this->panel3->ResumeLayout(false);
|
|
|
737 |
this->panel3->PerformLayout();
|
|
|
738 |
this->PanelRating->ResumeLayout(false);
|
|
|
739 |
this->PanelRating->PerformLayout();
|
|
|
740 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec4))->EndInit();
|
|
|
741 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec3))->EndInit();
|
|
|
742 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange5))->EndInit();
|
|
|
743 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange3))->EndInit();
|
|
|
744 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange2))->EndInit();
|
|
|
745 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicRec1))->EndInit();
|
|
|
746 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicChange1))->EndInit();
|
|
|
747 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase4))->EndInit();
|
|
|
748 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase5))->EndInit();
|
|
|
749 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase3))->EndInit();
|
|
|
750 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase2))->EndInit();
|
|
|
751 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PicEase1))->EndInit();
|
|
|
752 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->PictureDisplay))->EndInit();
|
|
|
753 |
this->panel1->ResumeLayout(false);
|
|
|
754 |
this->ResumeLayout(false);
|
|
|
755 |
|
|
|
756 |
}
|
|
|
757 |
#pragma endregion
|
|
|
758 |
private: System::Void ListPackages_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
759 |
if ( ListPackages->SelectedItems->Count )
|
|
|
760 |
{
|
|
|
761 |
if ( ListPackages->Items->Count == 1 )
|
|
|
762 |
this->DisplayPackage(m_pPackages->GetInstallPackageList()->Get(0));
|
|
|
763 |
else
|
|
|
764 |
{
|
|
|
765 |
ListViewItem ^item = ListPackages->SelectedItems[0];
|
|
|
766 |
if ( item )
|
|
|
767 |
{
|
225 |
cycrow |
768 |
Utils::WString sNum = _WS(System::Convert::ToString(item->Tag));
|
|
|
769 |
int num = sNum.toInt();
|
1 |
cycrow |
770 |
|
|
|
771 |
this->DisplayPackage(m_pPackages->GetInstallPackageList()->Get(num));
|
|
|
772 |
}
|
|
|
773 |
}
|
|
|
774 |
}
|
|
|
775 |
}
|
|
|
776 |
private: System::Void ButInstall_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
777 |
this->DoClose();
|
|
|
778 |
}
|
74 |
cycrow |
779 |
private: System::Void label8_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
780 |
}
|
105 |
cycrow |
781 |
private: System::Void ListPackages_ItemChecked(System::Object^ sender, System::Windows::Forms::ItemCheckedEventArgs^ e) {
|
|
|
782 |
this->updateUI();
|
|
|
783 |
}
|
1 |
cycrow |
784 |
};
|
|
|
785 |
}
|