Subversion Repositories spk

Rev

Rev 1 | Rev 74 | Go to most recent revision | 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());
42 cycrow 156
			this->panel4 = (gcnew System::Windows::Forms::Panel());
157
			this->LabGames = (gcnew System::Windows::Forms::Label());
158
			this->label8 = (gcnew System::Windows::Forms::Label());
1 cycrow 159
			this->panel3 = (gcnew System::Windows::Forms::Panel());
42 cycrow 160
			this->label9 = (gcnew System::Windows::Forms::Label());
161
			this->LabPluginType = (gcnew System::Windows::Forms::Label());
1 cycrow 162
			this->PanelRating = (gcnew System::Windows::Forms::Panel());
163
			this->label6 = (gcnew System::Windows::Forms::Label());
164
			this->PicRec4 = (gcnew System::Windows::Forms::PictureBox());
165
			this->PicRec3 = (gcnew System::Windows::Forms::PictureBox());
166
			this->PicChange5 = (gcnew System::Windows::Forms::PictureBox());
167
			this->PicChange3 = (gcnew System::Windows::Forms::PictureBox());
168
			this->PicChange2 = (gcnew System::Windows::Forms::PictureBox());
169
			this->PicRec1 = (gcnew System::Windows::Forms::PictureBox());
170
			this->PicChange1 = (gcnew System::Windows::Forms::PictureBox());
171
			this->label5 = (gcnew System::Windows::Forms::Label());
172
			this->PicEase4 = (gcnew System::Windows::Forms::PictureBox());
173
			this->PicEase5 = (gcnew System::Windows::Forms::PictureBox());
174
			this->PicEase3 = (gcnew System::Windows::Forms::PictureBox());
175
			this->PicEase2 = (gcnew System::Windows::Forms::PictureBox());
176
			this->PicEase1 = (gcnew System::Windows::Forms::PictureBox());
177
			this->label4 = (gcnew System::Windows::Forms::Label());
178
			this->LabType = (gcnew System::Windows::Forms::Label());
179
			this->LabDate = (gcnew System::Windows::Forms::Label());
180
			this->LabVersion = (gcnew System::Windows::Forms::Label());
181
			this->label3 = (gcnew System::Windows::Forms::Label());
182
			this->label2 = (gcnew System::Windows::Forms::Label());
183
			this->label1 = (gcnew System::Windows::Forms::Label());
184
			this->TextInstall = (gcnew System::Windows::Forms::RichTextBox());
185
			this->PictureDisplay = (gcnew System::Windows::Forms::PictureBox());
186
			this->panel1 = (gcnew System::Windows::Forms::Panel());
187
			this->LabError = (gcnew System::Windows::Forms::Label());
188
			this->ButInstall = (gcnew System::Windows::Forms::Button());
189
			this->ButCancel = (gcnew System::Windows::Forms::Button());
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();
42 cycrow 196
			this->panel4->SuspendLayout();
1 cycrow 197
			this->panel3->SuspendLayout();
198
			this->PanelRating->SuspendLayout();
199
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicRec4))->BeginInit();
200
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicRec3))->BeginInit();
201
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicChange5))->BeginInit();
202
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicChange3))->BeginInit();
203
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicChange2))->BeginInit();
204
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicRec1))->BeginInit();
205
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicChange1))->BeginInit();
206
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicEase4))->BeginInit();
207
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicEase5))->BeginInit();
208
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicEase3))->BeginInit();
209
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicEase2))->BeginInit();
210
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicEase1))->BeginInit();
211
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PictureDisplay))->BeginInit();
212
			this->panel1->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
			// 
42 cycrow 330
			// panel4
331
			// 
332
			this->panel4->Controls->Add(this->LabGames);
333
			this->panel4->Controls->Add(this->label8);
334
			this->panel4->Dock = System::Windows::Forms::DockStyle::Top;
335
			this->panel4->Location = System::Drawing::Point(0, 90);
336
			this->panel4->Name = L"panel4";
337
			this->panel4->Size = System::Drawing::Size(598, 21);
338
			this->panel4->TabIndex = 11;
339
			// 
340
			// LabGames
341
			// 
342
			this->LabGames->Dock = System::Windows::Forms::DockStyle::Fill;
343
			this->LabGames->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
344
				static_cast<System::Byte>(0)));
345
			this->LabGames->Location = System::Drawing::Point(87, 0);
346
			this->LabGames->Name = L"LabGames";
347
			this->LabGames->Size = System::Drawing::Size(511, 21);
348
			this->LabGames->TabIndex = 11;
349
			this->LabGames->Text = L"label6";
350
			this->LabGames->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
351
			// 
352
			// label8
353
			// 
354
			this->label8->Dock = System::Windows::Forms::DockStyle::Left;
355
			this->label8->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
356
				static_cast<System::Byte>(0)));
357
			this->label8->Location = System::Drawing::Point(0, 0);
358
			this->label8->Name = L"label8";
359
			this->label8->Size = System::Drawing::Size(87, 21);
360
			this->label8->TabIndex = 10;
361
			this->label8->Text = L"Games:";
362
			this->label8->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
363
			// 
1 cycrow 364
			// panel3
365
			// 
366
			this->panel3->Controls->Add(this->label9);
367
			this->panel3->Controls->Add(this->LabPluginType);
368
			this->panel3->Controls->Add(this->PanelRating);
369
			this->panel3->Controls->Add(this->LabType);
370
			this->panel3->Controls->Add(this->LabDate);
371
			this->panel3->Controls->Add(this->LabVersion);
372
			this->panel3->Controls->Add(this->label3);
373
			this->panel3->Controls->Add(this->label2);
374
			this->panel3->Controls->Add(this->label1);
375
			this->panel3->Dock = System::Windows::Forms::DockStyle::Top;
376
			this->panel3->Location = System::Drawing::Point(0, 0);
377
			this->panel3->Name = L"panel3";
378
			this->panel3->Size = System::Drawing::Size(598, 90);
379
			this->panel3->TabIndex = 3;
380
			// 
42 cycrow 381
			// label9
382
			// 
383
			this->label9->AutoSize = true;
384
			this->label9->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
385
				static_cast<System::Byte>(0)));
386
			this->label9->Location = System::Drawing::Point(6, 68);
387
			this->label9->Name = L"label9";
388
			this->label9->Size = System::Drawing::Size(87, 16);
389
			this->label9->TabIndex = 27;
390
			this->label9->Text = L"Plugin Type:";
391
			// 
392
			// LabPluginType
393
			// 
394
			this->LabPluginType->AutoSize = true;
395
			this->LabPluginType->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
396
				static_cast<System::Byte>(0)));
397
			this->LabPluginType->Location = System::Drawing::Point(123, 68);
398
			this->LabPluginType->Name = L"LabPluginType";
399
			this->LabPluginType->Size = System::Drawing::Size(43, 16);
400
			this->LabPluginType->TabIndex = 28;
401
			this->LabPluginType->Text = L"label6";
402
			// 
1 cycrow 403
			// PanelRating
404
			// 
405
			this->PanelRating->Controls->Add(this->label6);
406
			this->PanelRating->Controls->Add(this->PicRec5);
407
			this->PanelRating->Controls->Add(this->PicRec4);
408
			this->PanelRating->Controls->Add(this->PicRec3);
409
			this->PanelRating->Controls->Add(this->PicRec2);
410
			this->PanelRating->Controls->Add(this->PicChange5);
411
			this->PanelRating->Controls->Add(this->PicChange4);
412
			this->PanelRating->Controls->Add(this->PicChange3);
413
			this->PanelRating->Controls->Add(this->PicChange2);
414
			this->PanelRating->Controls->Add(this->PicRec1);
415
			this->PanelRating->Controls->Add(this->PicChange1);
416
			this->PanelRating->Controls->Add(this->label5);
417
			this->PanelRating->Controls->Add(this->PicEase4);
418
			this->PanelRating->Controls->Add(this->PicEase5);
419
			this->PanelRating->Controls->Add(this->PicEase3);
420
			this->PanelRating->Controls->Add(this->PicEase2);
421
			this->PanelRating->Controls->Add(this->PicEase1);
422
			this->PanelRating->Controls->Add(this->label4);
423
			this->PanelRating->Dock = System::Windows::Forms::DockStyle::Right;
424
			this->PanelRating->Location = System::Drawing::Point(336, 0);
425
			this->PanelRating->Name = L"PanelRating";
426
			this->PanelRating->Size = System::Drawing::Size(262, 90);
427
			this->PanelRating->TabIndex = 7;
428
			// 
429
			// label6
430
			// 
431
			this->label6->AutoSize = true;
432
			this->label6->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
433
				static_cast<System::Byte>(0)));
434
			this->label6->Location = System::Drawing::Point(3, 48);
435
			this->label6->Name = L"label6";
436
			this->label6->Size = System::Drawing::Size(104, 16);
437
			this->label6->TabIndex = 26;
438
			this->label6->Text = L"Recommended";
439
			// 
440
			// PicRec4
441
			// 
442
			this->PicRec4->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicRec4.Image")));
443
			this->PicRec4->Location = System::Drawing::Point(215, 46);
444
			this->PicRec4->Name = L"PicRec4";
445
			this->PicRec4->Size = System::Drawing::Size(24, 24);
446
			this->PicRec4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
447
			this->PicRec4->TabIndex = 24;
448
			this->PicRec4->TabStop = false;
449
			// 
450
			// PicRec3
451
			// 
452
			this->PicRec3->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicRec3.Image")));
453
			this->PicRec3->Location = System::Drawing::Point(192, 46);
454
			this->PicRec3->Name = L"PicRec3";
455
			this->PicRec3->Size = System::Drawing::Size(24, 24);
456
			this->PicRec3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
457
			this->PicRec3->TabIndex = 23;
458
			this->PicRec3->TabStop = false;
459
			// 
460
			// PicChange5
461
			// 
462
			this->PicChange5->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicChange5.Image")));
463
			this->PicChange5->Location = System::Drawing::Point(238, 23);
464
			this->PicChange5->Name = L"PicChange5";
465
			this->PicChange5->Size = System::Drawing::Size(24, 24);
466
			this->PicChange5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
467
			this->PicChange5->TabIndex = 21;
468
			this->PicChange5->TabStop = false;
469
			// 
470
			// PicChange3
471
			// 
472
			this->PicChange3->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicChange3.Image")));
473
			this->PicChange3->Location = System::Drawing::Point(192, 23);
474
			this->PicChange3->Name = L"PicChange3";
475
			this->PicChange3->Size = System::Drawing::Size(24, 24);
476
			this->PicChange3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
477
			this->PicChange3->TabIndex = 19;
478
			this->PicChange3->TabStop = false;
479
			// 
480
			// PicChange2
481
			// 
482
			this->PicChange2->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicChange2.Image")));
483
			this->PicChange2->Location = System::Drawing::Point(169, 23);
484
			this->PicChange2->Name = L"PicChange2";
485
			this->PicChange2->Size = System::Drawing::Size(24, 24);
486
			this->PicChange2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
487
			this->PicChange2->TabIndex = 18;
488
			this->PicChange2->TabStop = false;
489
			// 
490
			// PicRec1
491
			// 
492
			this->PicRec1->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicRec1.Image")));
493
			this->PicRec1->Location = System::Drawing::Point(146, 46);
494
			this->PicRec1->Name = L"PicRec1";
495
			this->PicRec1->Size = System::Drawing::Size(24, 24);
496
			this->PicRec1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
497
			this->PicRec1->TabIndex = 17;
498
			this->PicRec1->TabStop = false;
499
			// 
500
			// PicChange1
501
			// 
502
			this->PicChange1->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicChange1.Image")));
503
			this->PicChange1->Location = System::Drawing::Point(146, 23);
504
			this->PicChange1->Name = L"PicChange1";
505
			this->PicChange1->Size = System::Drawing::Size(24, 24);
506
			this->PicChange1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
507
			this->PicChange1->TabIndex = 16;
508
			this->PicChange1->TabStop = false;
509
			// 
510
			// label5
511
			// 
512
			this->label5->AutoSize = true;
513
			this->label5->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
514
				static_cast<System::Byte>(0)));
515
			this->label5->Location = System::Drawing::Point(2, 28);
516
			this->label5->Name = L"label5";
517
			this->label5->Size = System::Drawing::Size(111, 16);
518
			this->label5->TabIndex = 15;
519
			this->label5->Text = L"Game Changing";
520
			// 
521
			// PicEase4
522
			// 
523
			this->PicEase4->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicEase4.Image")));
524
			this->PicEase4->Location = System::Drawing::Point(215, 0);
525
			this->PicEase4->Name = L"PicEase4";
526
			this->PicEase4->Size = System::Drawing::Size(24, 24);
527
			this->PicEase4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
528
			this->PicEase4->TabIndex = 14;
529
			this->PicEase4->TabStop = false;
530
			// 
531
			// PicEase5
532
			// 
533
			this->PicEase5->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicEase5.Image")));
534
			this->PicEase5->Location = System::Drawing::Point(238, 0);
535
			this->PicEase5->Name = L"PicEase5";
536
			this->PicEase5->Size = System::Drawing::Size(24, 24);
537
			this->PicEase5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
538
			this->PicEase5->TabIndex = 13;
539
			this->PicEase5->TabStop = false;
540
			// 
541
			// PicEase3
542
			// 
543
			this->PicEase3->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicEase3.Image")));
544
			this->PicEase3->Location = System::Drawing::Point(192, 0);
545
			this->PicEase3->Name = L"PicEase3";
546
			this->PicEase3->Size = System::Drawing::Size(24, 24);
547
			this->PicEase3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
548
			this->PicEase3->TabIndex = 12;
549
			this->PicEase3->TabStop = false;
550
			// 
551
			// PicEase2
552
			// 
553
			this->PicEase2->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicEase2.Image")));
554
			this->PicEase2->Location = System::Drawing::Point(169, 0);
555
			this->PicEase2->Name = L"PicEase2";
556
			this->PicEase2->Size = System::Drawing::Size(24, 24);
557
			this->PicEase2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
558
			this->PicEase2->TabIndex = 11;
559
			this->PicEase2->TabStop = false;
560
			// 
561
			// PicEase1
562
			// 
563
			this->PicEase1->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"PicEase1.Image")));
564
			this->PicEase1->Location = System::Drawing::Point(146, 0);
565
			this->PicEase1->Name = L"PicEase1";
566
			this->PicEase1->Size = System::Drawing::Size(24, 24);
567
			this->PicEase1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
568
			this->PicEase1->TabIndex = 10;
569
			this->PicEase1->TabStop = false;
570
			// 
571
			// label4
572
			// 
573
			this->label4->AutoSize = true;
574
			this->label4->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
575
				static_cast<System::Byte>(0)));
576
			this->label4->Location = System::Drawing::Point(3, 6);
577
			this->label4->Name = L"label4";
578
			this->label4->Size = System::Drawing::Size(81, 16);
579
			this->label4->TabIndex = 6;
580
			this->label4->Text = L"Ease of Use";
581
			// 
582
			// LabType
583
			// 
584
			this->LabType->AutoSize = true;
585
			this->LabType->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
586
				static_cast<System::Byte>(0)));
587
			this->LabType->Location = System::Drawing::Point(123, 46);
588
			this->LabType->Name = L"LabType";
589
			this->LabType->Size = System::Drawing::Size(43, 16);
590
			this->LabType->TabIndex = 5;
591
			this->LabType->Text = L"label6";
592
			// 
593
			// LabDate
594
			// 
595
			this->LabDate->AutoSize = true;
596
			this->LabDate->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
597
				static_cast<System::Byte>(0)));
598
			this->LabDate->Location = System::Drawing::Point(123, 26);
599
			this->LabDate->Name = L"LabDate";
600
			this->LabDate->Size = System::Drawing::Size(43, 16);
601
			this->LabDate->TabIndex = 4;
602
			this->LabDate->Text = L"label5";
603
			// 
604
			// LabVersion
605
			// 
606
			this->LabVersion->AutoSize = true;
607
			this->LabVersion->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
608
				static_cast<System::Byte>(0)));
609
			this->LabVersion->Location = System::Drawing::Point(123, 6);
610
			this->LabVersion->Name = L"LabVersion";
611
			this->LabVersion->Size = System::Drawing::Size(43, 16);
612
			this->LabVersion->TabIndex = 3;
613
			this->LabVersion->Text = L"label4";
614
			// 
615
			// label3
616
			// 
617
			this->label3->AutoSize = true;
618
			this->label3->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
619
				static_cast<System::Byte>(0)));
620
			this->label3->Location = System::Drawing::Point(6, 46);
621
			this->label3->Name = L"label3";
622
			this->label3->Size = System::Drawing::Size(42, 16);
623
			this->label3->TabIndex = 2;
624
			this->label3->Text = L"Type:";
625
			// 
626
			// label2
627
			// 
628
			this->label2->AutoSize = true;
629
			this->label2->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
630
				static_cast<System::Byte>(0)));
631
			this->label2->Location = System::Drawing::Point(6, 26);
632
			this->label2->Name = L"label2";
633
			this->label2->Size = System::Drawing::Size(99, 16);
634
			this->label2->TabIndex = 1;
635
			this->label2->Text = L"Creation Date:";
636
			// 
637
			// label1
638
			// 
639
			this->label1->AutoSize = true;
640
			this->label1->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
641
				static_cast<System::Byte>(0)));
642
			this->label1->Location = System::Drawing::Point(6, 6);
643
			this->label1->Name = L"label1";
644
			this->label1->Size = System::Drawing::Size(59, 16);
645
			this->label1->TabIndex = 0;
646
			this->label1->Text = L"Version:";
647
			// 
648
			// TextInstall
649
			// 
650
			this->TextInstall->BackColor = System::Drawing::SystemColors::Info;
651
			this->TextInstall->Dock = System::Windows::Forms::DockStyle::Bottom;
652
			this->TextInstall->Location = System::Drawing::Point(0, 153);
653
			this->TextInstall->Name = L"TextInstall";
654
			this->TextInstall->ReadOnly = true;
655
			this->TextInstall->ScrollBars = System::Windows::Forms::RichTextBoxScrollBars::Vertical;
656
			this->TextInstall->Size = System::Drawing::Size(598, 34);
657
			this->TextInstall->TabIndex = 2;
658
			this->TextInstall->Text = L"";
659
			// 
660
			// PictureDisplay
661
			// 
662
			this->PictureDisplay->Dock = System::Windows::Forms::DockStyle::Left;
663
			this->PictureDisplay->Location = System::Drawing::Point(3, 16);
664
			this->PictureDisplay->Name = L"PictureDisplay";
665
			this->PictureDisplay->Size = System::Drawing::Size(126, 187);
666
			this->PictureDisplay->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
667
			this->PictureDisplay->TabIndex = 0;
668
			this->PictureDisplay->TabStop = false;
669
			// 
670
			// panel1
671
			// 
672
			this->panel1->Controls->Add(this->LabError);
673
			this->panel1->Controls->Add(this->ButInstall);
674
			this->panel1->Controls->Add(this->ButCancel);
675
			this->panel1->Dock = System::Windows::Forms::DockStyle::Bottom;
676
			this->panel1->Location = System::Drawing::Point(0, 372);
677
			this->panel1->Name = L"panel1";
678
			this->panel1->Size = System::Drawing::Size(730, 27);
679
			this->panel1->TabIndex = 5;
680
			// 
681
			// LabError
682
			// 
683
			this->LabError->Dock = System::Windows::Forms::DockStyle::Fill;
684
			this->LabError->Font = (gcnew System::Drawing::Font(L"Arial", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
685
				static_cast<System::Byte>(0)));
42 cycrow 686
			this->LabError->ForeColor = System::Drawing::Color::Red;
1 cycrow 687
			this->LabError->Location = System::Drawing::Point(0, 0);
688
			this->LabError->Name = L"LabError";
689
			this->LabError->RightToLeft = System::Windows::Forms::RightToLeft::Yes;
690
			this->LabError->Size = System::Drawing::Size(534, 27);
691
			this->LabError->TabIndex = 2;
692
			this->LabError->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
693
			// 
694
			// ButInstall
695
			// 
696
			this->ButInstall->DialogResult = System::Windows::Forms::DialogResult::OK;
697
			this->ButInstall->Dock = System::Windows::Forms::DockStyle::Right;
698
			this->ButInstall->Location = System::Drawing::Point(534, 0);
699
			this->ButInstall->Name = L"ButInstall";
700
			this->ButInstall->Size = System::Drawing::Size(99, 27);
701
			this->ButInstall->TabIndex = 1;
702
			this->ButInstall->Text = L"Install";
703
			this->ButInstall->UseVisualStyleBackColor = true;
704
			this->ButInstall->Click += gcnew System::EventHandler(this, &InstallPackageDialog::ButInstall_Click);
705
			// 
706
			// ButCancel
707
			// 
708
			this->ButCancel->DialogResult = System::Windows::Forms::DialogResult::Cancel;
709
			this->ButCancel->Dock = System::Windows::Forms::DockStyle::Right;
710
			this->ButCancel->Location = System::Drawing::Point(633, 0);
711
			this->ButCancel->Name = L"ButCancel";
712
			this->ButCancel->Size = System::Drawing::Size(97, 27);
713
			this->ButCancel->TabIndex = 0;
714
			this->ButCancel->Text = L"Cancel";
715
			this->ButCancel->UseVisualStyleBackColor = true;
716
			// 
717
			// InstallPackageDialog
718
			// 
719
			this->AcceptButton = this->ButInstall;
720
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
721
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
722
			this->CancelButton = this->ButCancel;
723
			this->ClientSize = System::Drawing::Size(730, 399);
724
			this->ControlBox = false;
725
			this->Controls->Add(this->GroupList);
726
			this->Controls->Add(this->GroupPackage);
727
			this->Controls->Add(this->panel1);
728
			this->Icon = (cli::safe_cast<System::Drawing::Icon^  >(resources->GetObject(L"$this.Icon")));
729
			this->Name = L"InstallPackageDialog";
730
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
731
			this->Text = L"Install Package";
732
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicRec5))->EndInit();
733
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicRec2))->EndInit();
734
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicChange4))->EndInit();
735
			this->GroupList->ResumeLayout(false);
736
			this->GroupPackage->ResumeLayout(false);
737
			this->panel2->ResumeLayout(false);
42 cycrow 738
			this->panel4->ResumeLayout(false);
1 cycrow 739
			this->panel3->ResumeLayout(false);
740
			this->panel3->PerformLayout();
741
			this->PanelRating->ResumeLayout(false);
742
			this->PanelRating->PerformLayout();
743
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicRec4))->EndInit();
744
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicRec3))->EndInit();
745
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicChange5))->EndInit();
746
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicChange3))->EndInit();
747
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicChange2))->EndInit();
748
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicRec1))->EndInit();
749
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicChange1))->EndInit();
750
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicEase4))->EndInit();
751
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicEase5))->EndInit();
752
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicEase3))->EndInit();
753
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicEase2))->EndInit();
754
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PicEase1))->EndInit();
755
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->PictureDisplay))->EndInit();
756
			this->panel1->ResumeLayout(false);
757
			this->ResumeLayout(false);
758
 
759
		}
760
#pragma endregion
761
	private: System::Void ListPackages_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
762
		if ( ListPackages->SelectedItems->Count )
763
		{
764
			if ( ListPackages->Items->Count == 1 )
765
				this->DisplayPackage(m_pPackages->GetInstallPackageList()->Get(0));
766
			else
767
			{
768
				ListViewItem ^item = ListPackages->SelectedItems[0];
769
				if ( item )
770
				{
771
					CyString sNum = CyStringFromSystemString(System::Convert::ToString(item->Tag));
772
					int num = sNum.ToInt();
773
 
774
					this->DisplayPackage(m_pPackages->GetInstallPackageList()->Get(num));
775
				}
776
			}
777
		}
778
	 }
779
private: System::Void ButInstall_Click(System::Object^  sender, System::EventArgs^  e) {
780
			 this->DoClose();
781
		 }
782
};
783
}