Subversion Repositories spk

Rev

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