Subversion Repositories spk

Rev

Rev 1 | Details | Compare with Previous | Last modification | View Log | RSS feed

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