Subversion Repositories spk

Rev

Rev 127 | Rev 130 | 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 "../../common/listviewsorter.h"
11
#include "../../SpkExplorer/src/Forms/DropFileDialog.h"
12
#include "../../SpkExplorer/src/Forms/AddDialog.h"
13
#include "InputBox.h"
14
#include "AddWare.h"
15
#include "AddWareText.h"
16
#include "AddShipText.h"
17
#include "LoadShip.h"
18
#include "AddShipPart.h"
19
#include "AddDepend.h"
20
 
21
#include "BaseForm.h"
22
#include "Options.h"
23
#include "CustomiseShip.h"
24
#include "SelectGame.h"
25
 
26
#undef GetTempPath
27
 
28
namespace Creator {
29
	/// <summary>
30
	/// Summary for PackageForm
31
	///
32
	/// WARNING: If you change the name of this class, you will need to change the
33
	///          'Resource File Name' property for the managed resource compiler tool
34
	///          associated with all .resx files this class depends on.  Otherwise,
35
	///          the designers will not be able to interact properly with localized
36
	///          resources associated with this form.
37
	/// </summary>
38
//#define DESIGNER
39
#ifdef DESIGNER
40
	public ref class PackageForm : public System::Windows::Forms::Form
41
#else
42
	public ref class PackageForm : public Creator::BaseForm
43
#endif	
44
	{
45
	public:
127 cycrow 46
		PackageForm(System::Windows::Forms::Form ^parent, System::Windows::Forms::TabControl ^ctrl, System::Windows::Forms::TabPage ^page, System::Windows::Forms::ToolStripMenuItem ^tool, CPackages *p, Windows::Forms::ImageList ^imagelist, SSettings *set);
1 cycrow 47
 
48
		void SetImageLists(ImageList ^smallList, ImageList ^largeList, ImageList ^gameList, ImageList ^fileList)
49
		{
50
			BaseForm::SetImageLists(smallList, largeList, gameList);
51
 
52
			this->ListGames->SmallImageList = this->imageListGames;
53
			this->ListGames->LargeImageList = this->imageListGames;
54
			this->ListNames->SmallImageList = this->imageListSmall;
55
			this->ListMirrors->SmallImageList = this->imageListSmall;
56
			this->ListWares->SmallImageList = this->imageListSmall;
57
			this->ListWareText->SmallImageList = this->imageListSmall;
58
			this->ListShipText->SmallImageList = this->imageListSmall;
59
			this->ListShipPart->SmallImageList = this->imageListSmall;
60
 
61
			this->ListNames->LargeImageList = this->imageListLarge;
62
			this->ListMirrors->LargeImageList = this->imageListLarge;
63
			this->ListWares->LargeImageList = this->imageListLarge;
64
			this->ListWareText->LargeImageList = this->imageListLarge;
65
			this->ListShipText->LargeImageList = this->imageListLarge;
66
			this->ListShipPart->LargeImageList = this->imageListLarge;
67
 
68
			this->ButGame->ImageList = this->imageListGames;
69
 
70
			this->imageListFiles = fileList;
71
			this->ListFiles->LargeImageList = this->imageListFiles;
72
			this->ListFiles->SmallImageList = this->imageListFiles;
73
 
74
			this->Setup();
75
		}
76
 
94 cycrow 77
		CGameDirectories *gameDirectories();
1 cycrow 78
 
79
		void CreateShip() { 
80
			if ( m_pPackage ) delete m_pPackage; 
81
			m_pPackage = new CXspFile; 
94 cycrow 82
			((CXspFile *)m_pPackage)->SetShipData("0;0;0;0;0;0;0;0;0;106;1;5;37;0;112;202;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;0;35;36;1;0;0;0;0;0;1;0;25;1;0;0;0;0;0;SC_NEW_SHIP;");
1 cycrow 83
		}
84
		void CreatePackage() { 
85
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(PackageForm::typeid));
86
			this->Icon = (cli::safe_cast<System::Drawing::Icon^  >(resources->GetObject(L"$this.Icon")));
87
			if ( m_pPackage ) delete m_pPackage; 
88
			m_pPackage = new CSpkFile; 
89
		}
90
		void CreateBase() { if ( m_pPackage ) delete m_pPackage; m_pPackage = new CBaseFile; this->UpdateView(); }
91
 
92
		bool LoadPackage(CBaseFile *base, System::String ^filename);
93
		CBaseFile *GetPackage() { return m_pPackage; }
94
 
95
		virtual void Save() new;
96
		virtual void SaveAs() new;
97
 
98
		void UpdateChanged()
99
		{
100
			if ( m_bLoading )
101
				return;
102
			if ( !m_pPackage )
103
				return;
104
 
50 cycrow 105
			String ^text = SystemStringFromCyString(CFileIO(m_pPackage->filename()).GetFilename());
1 cycrow 106
			String ^addonText = "";
107
			if ( text->Length < 1 )
108
			{
109
				if ( m_pPackage->GetType() == TYPE_XSP )
110
					text = "New Ship";
111
				else
112
					text = "New Package";
113
			}
114
 
50 cycrow 115
			if ( m_pPackage->hasChanged() )
1 cycrow 116
				addonText += "*";
117
			if ( m_pPackage->IsSigned() )
118
				addonText += " (Signed)";
119
			m_pTabPage->Text = text + addonText;
120
			this->Text = m_sFilename + addonText;
121
		}
122
 
123
		void Export()
124
		{
125
			int game = 0;
126
			if ( m_pPackage->IsMultipleGamesInPackage() ) {
50 cycrow 127
				SelectGame ^selGame = gcnew SelectGame("Select game to extract package:\n" + _US(m_pPackage->filename()), m_pP);
1 cycrow 128
				if ( selGame->ShowDialog(this) == Windows::Forms::DialogResult::OK ) {
129
					game = selGame->GetGame() + 1;
130
				}
131
				else
132
					return;
133
			}
134
			else if ( m_pPackage->IsAnyGameInPackage() ) {
135
				game = m_pPackage->FindFirstGameInPackage();
136
			}
137
 
138
			SaveFileDialog ^ofd = gcnew SaveFileDialog();
139
			ofd->Filter = "Zip Archive (*.zip)|*.zip";
102 cycrow 140
			ofd->FileName = _US((CFileIO(m_pPackage->filename()).dir() + "/" + CFileIO(m_pPackage->filename()).baseName() + "_" + CBaseFile::ConvertGameToString(game) + ".zip").findReplace("/", "\\"));
1 cycrow 141
			ofd->FilterIndex = 1;
142
			ofd->RestoreDirectory = true;
143
			ofd->AddExtension =  true;
144
			ofd->Title = "Select the archive to export to";
145
			if ( ofd->ShowDialog(this) == Windows::Forms::DialogResult::OK )
146
			{
126 cycrow 147
				if ( m_pPackage->SaveToArchive(CyStringFromSystemString(ofd->FileName), game, m_pP->GetGameExe()) )
1 cycrow 148
					MessageBox::Show(this, "Package saved to archive, " + ofd->FileName, "Package Exported", MessageBoxButtons::OK, MessageBoxIcon::Information);
149
				else
150
					MessageBox::Show(this, "Unable to export to archive, " + ofd->FileName, "Export Failed", MessageBoxButtons::OK, MessageBoxIcon::Error);
151
			}
152
		}
153
 
127 cycrow 154
	protected:
155
		/// <summary>
156
		/// Clean up any resources being used.
157
		/// </summary>
158
		~PackageForm();
159
 
1 cycrow 160
	private:
161
		void DropGetDirectories(String ^dir, CyStringList *list, bool packages);
162
		void UpdateMirrors();
163
		void UpdatePackageNames();
164
		void UpdateView();
165
		void Setup();
166
		void AddFile(C_File *file);
167
		void UpdateFileList();
168
		void UpdateGamesList();
169
		void AddNewFile();
170
		bool CheckSave();
171
		void UpdateGameVersion();
172
		void AddDisplayPic();
173
		void UpdateDisplayPic();
174
		void UpdateDisplayIcon();
175
		void AddDisplayIcon();
176
		void UpdateRatings();
177
		void UpdateText();
178
		void UpdateTextLang();
179
		void SaveText();
180
		void UpdateWares();
181
		void UpdateWareText();
182
		void UpdateShipText();
183
		void LoadShipData();
184
		void UpdateShipPartList();
185
		void UpdateDependacies();
186
		void DoToolTips();
187
		void EditShipParts(bool edit);
188
		void RemoveSelectedFiles();
189
		void UpdateScriptType();
190
		void ImportData(String ^file, int type);
191
		void ImportAnimations(String ^file);
192
		String ^ExtractImport(String ^text, String ^type);
193
		void EditDepend();
194
 
195
		Windows::Forms::ImageList ^imageListFiles;
196
		CBaseFile *m_pPackage;
197
		bool	m_bSortingAsc;
198
		int		m_iSortingCol;
199
		CyStringList *m_pTypeList;
200
		C_File *m_pDisplayFile;
201
		int		m_iSelectedGame;
127 cycrow 202
		CPackages *_pPackages;
1 cycrow 203
 
127 cycrow 204
		ToolStripMenuItem ^_addGameItem;
205
		ToolStripMenuItem ^_removeGameItem;
206
 
1 cycrow 207
	private: System::Windows::Forms::ContextMenuStrip^  ContextShipText;
208
	private: System::Windows::Forms::ToolStripMenuItem^  addLanguageToolStripMenuItem;
209
	private: System::Windows::Forms::ToolStripSeparator^  ContextShipTextSep1;
210
	private: System::Windows::Forms::ToolStripMenuItem^  ContextShipTextEdit;
211
 
212
 
213
private: System::Windows::Forms::ToolStripMenuItem^  ContextShipTextRemove;
214
 
215
private: System::Windows::Forms::ToolStripSeparator^  ContextShipTextSep2;
216
private: System::Windows::Forms::ToolStripMenuItem^  ContextShipTextClear;
217
private: System::Windows::Forms::TabPage^  PageRaw;
218
private: System::Windows::Forms::Panel^  panel23;
219
private: System::Windows::Forms::RichTextBox^  TextShipData;
220
 
221
private: System::Windows::Forms::CheckBox^  checkBox1;
222
private: System::Windows::Forms::Button^  button3;
223
private: System::Windows::Forms::Panel^  panel24;
224
private: System::Windows::Forms::Label^  label17;
225
private: System::Windows::Forms::TabPage^  PageShipComp;
226
private: System::Windows::Forms::Panel^  panel25;
227
private: System::Windows::Forms::ComboBox^  ComboShipPart;
228
 
229
private: System::Windows::Forms::Label^  label18;
230
private: System::Windows::Forms::Panel^  panel26;
231
private: System::Windows::Forms::ListView^  ListShipPart;
232
 
233
private: System::Windows::Forms::ColumnHeader^  ColumnPart1;
234
private: System::Windows::Forms::ColumnHeader^  ColumnPart2;
235
private: System::Windows::Forms::ColumnHeader^  ColumnPart3;
236
private: System::Windows::Forms::ToolStrip^  toolStrip1;
237
private: System::Windows::Forms::ToolStripButton^  toolStripButton2;
238
private: System::Windows::Forms::ToolStripButton^  toolStripButton3;
239
private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator3;
240
private: System::Windows::Forms::ToolStripButton^  toolStripButton1;
241
private: System::Windows::Forms::ContextMenuStrip^  ContextShipPart;
242
private: System::Windows::Forms::ToolStripMenuItem^  ContextShipPartAdd;
243
private: System::Windows::Forms::ToolStripSeparator^  ContextShipPartSep1;
244
 
245
private: System::Windows::Forms::ToolStripMenuItem^  ContextShipPartRemove;
246
 
247
private: System::Windows::Forms::ToolStripMenuItem^  ContextShipPartEdit;
248
 
249
private: System::Windows::Forms::ToolStripSeparator^  ContextShipPartSep2;
250
private: System::Windows::Forms::TabPage^  tabPage4;
251
private: System::Windows::Forms::ListView^  ListDep;
252
private: System::Windows::Forms::ColumnHeader^  columnHeader22;
253
private: System::Windows::Forms::ColumnHeader^  columnHeader23;
254
private: System::Windows::Forms::ColumnHeader^  columnHeader24;
255
private: System::Windows::Forms::ContextMenuStrip^  ContextDep;
256
private: System::Windows::Forms::ToolStripSeparator^  ContextDepSep2;
257
private: System::Windows::Forms::ToolStripMenuItem^  ContextDepClear;
258
private: System::Windows::Forms::ToolStripMenuItem^  ContextDepRemove;
259
private: System::Windows::Forms::ToolStripMenuItem^  addToolStripMenuItem1;
260
private: System::Windows::Forms::ToolStripMenuItem^  manualToolStripMenuItem;
261
private: System::Windows::Forms::ToolStripSeparator^  ContextDepSep1;
262
private: System::Windows::Forms::ToolStripMenuItem^  fromPackageToolStripMenuItem;
263
private: System::Windows::Forms::ToolStripMenuItem^  editSelectedToolStripMenuItem;
264
private: System::Windows::Forms::ToolStripSeparator^  ContextFileSep2;
265
private: System::Windows::Forms::ToolStripMenuItem^  ContextFileClear;
266
private: System::Windows::Forms::ToolStripMenuItem^  ContextFileDelete;
267
private: System::Windows::Forms::ToolStripMenuItem^  addFileToolStripMenuItem;
268
private: System::Windows::Forms::ToolStripSeparator^  ContextFileSep1;
269
private: System::Windows::Forms::ToolStripMenuItem^  ContextFileEdit;
270
private: System::Windows::Forms::TextBox^  TextCustomType;
271
private: System::Windows::Forms::ToolStripMenuItem^  importTextToolStripMenuItem;
272
private: System::Windows::Forms::ToolStripMenuItem^  fromFileToolStripMenuItem;
273
private: System::Windows::Forms::ToolStripMenuItem^  fromDirectoryToolStripMenuItem;
274
private: System::Windows::Forms::ToolStripMenuItem^  fromModToolStripMenuItem;
275
private: System::Windows::Forms::ToolStripMenuItem^  importToolStripMenuItem;
276
 
277
 
278
 
279
private: System::Windows::Forms::ToolTip^  toolTip1;
280
private: System::Windows::Forms::ToolTip^  toolTip2;
281
 
282
private: System::Windows::Forms::ToolStripMenuItem^  packFileToolStripMenuItem;
283
private: System::Windows::Forms::ToolStripMenuItem^  unpackFileToolStripMenuItem;
284
private: System::Windows::Forms::ToolStripMenuItem^  convertToFakePatchToolStripMenuItem;
285
private: System::Windows::Forms::ToolStripMenuItem^  convertToNormalModToolStripMenuItem;
286
private: System::Windows::Forms::ToolStripMenuItem^  renameFileToolStripMenuItem;
287
private: System::Windows::Forms::ToolStripButton^  toolStripButton4;
288
private: System::Windows::Forms::Label^  LabelShipWarning;
289
private: System::Windows::Forms::FlowLayoutPanel^  flowLayoutPanel3;
290
private: System::Windows::Forms::Button^  button5;
291
private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator4;
292
private: System::Windows::Forms::ToolStripButton^  ToolCustomise;
293
private: System::Windows::Forms::ToolStripButton^  toolStripButton5;
294
private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator5;
295
private: System::Windows::Forms::ToolStripMenuItem^  convertToAutoTextFileToolStripMenuItem;
296
private: System::Windows::Forms::ColumnHeader^  columnHeader25;
297
private: System::Windows::Forms::TabPage^  tabPage5;
298
 
299
private: System::Windows::Forms::GroupBox^  groupBox8;
300
private: System::Windows::Forms::Panel^  panel10;
301
private: System::Windows::Forms::Panel^  panel21;
302
private: System::Windows::Forms::ComboBox^  ComboVersion;
303
private: System::Windows::Forms::TextBox^  TextExactVersion;
304
private: System::Windows::Forms::Button^  ButGame;
305
 
306
private: System::Windows::Forms::ListView^  ListGames;
307
private: System::Windows::Forms::ColumnHeader^  columnHeader26;
308
private: System::Windows::Forms::ColumnHeader^  columnHeader27;
309
 
310
private: System::Windows::Forms::Button^  ButGameAdd;
311
private: System::Windows::Forms::ColumnHeader^  columnHeader28;
312
private: System::Windows::Forms::ToolStripMenuItem^  ToolGame;
313
private: System::Windows::Forms::ComboBox^  ComboGameFilter;
314
private: System::Windows::Forms::ToolStripMenuItem^  ContextShipPartClear;
315
 
316
	private: System::Windows::Forms::Panel^  panel6;
317
	private: System::Windows::Forms::Button^  ButRemoveFile;
318
	private: System::Windows::Forms::Button^  button2;
319
	private: System::Windows::Forms::Button^  button1;
320
 
321
	private: System::Windows::Forms::ColumnHeader^  columnHeader18;
322
	private: System::Windows::Forms::Panel^  panel22;
323
	private: System::Windows::Forms::Label^  label15;
324
	private: System::Windows::Forms::ComboBox^  ComboPluginType;
325
	private: System::Windows::Forms::TabPage^  PageShip;
326
	private: System::Windows::Forms::CheckBox^  CheckShipID;
327
	private: System::Windows::Forms::FlowLayoutPanel^  flowLayoutPanel2;
328
	private: System::Windows::Forms::CheckBox^  CheckSYArgon;
329
	private: System::Windows::Forms::CheckBox^  CheckSYBoron;
330
	private: System::Windows::Forms::CheckBox^  CheckSYParanid;
331
	private: System::Windows::Forms::CheckBox^  CheckSYTeladi;
332
	private: System::Windows::Forms::CheckBox^  CheckSYSplit;
333
	private: System::Windows::Forms::CheckBox^  CheckSYPirate;
334
	private: System::Windows::Forms::CheckBox^  CheckSYFriend;
335
	private: System::Windows::Forms::CheckBox^  CheckSYXenon;
336
	private: System::Windows::Forms::CheckBox^  CheckSYTerran;
337
	private: System::Windows::Forms::CheckBox^  CheckSYATF;
338
	private: System::Windows::Forms::ListView^  ListShipText;
339
	private: System::Windows::Forms::CheckBox^  CheckSYYaki;
340
	private: System::Windows::Forms::CheckBox^  CheckExistingText;
341
	private: System::Windows::Forms::ColumnHeader^  columnHeader19;
342
	private: System::Windows::Forms::ColumnHeader^  columnHeader20;
343
	private: System::Windows::Forms::ColumnHeader^  columnHeader21;
344
	private: System::Windows::Forms::Panel^  PanelTextID;
345
	private: System::Windows::Forms::NumericUpDown^  NumTextID;
346
	private: System::Windows::Forms::Label^  label6;
347
	private: System::Windows::Forms::Panel^  PanelShip;
348
	private: System::Windows::Forms::TextBox^  TextShipID;
349
	private: System::Windows::Forms::Label^  label16;
350
	private: System::Windows::Forms::Panel^  panel7;
351
	private: System::Windows::Forms::GroupBox^  groupBox2;
352
	private: System::Windows::Forms::RichTextBox^  TextDesc;
353
	private: System::Windows::Forms::Panel^  panel8;
354
	private: System::Windows::Forms::Label^  label7;
355
	private: System::Windows::Forms::RadioButton^  RadioTypeUpdate;
356
	private: System::Windows::Forms::RadioButton^  RadioTypeStart;
357
	private: System::Windows::Forms::RadioButton^  RadioTypeScript;
358
	private: System::Windows::Forms::FlowLayoutPanel^  flowLayoutPanel1;
359
	private: System::Windows::Forms::RadioButton^  RadioTypeLibrary;
360
	private: System::Windows::Forms::RadioButton^  RadioTypePatch;
361
 
362
	private: System::Windows::Forms::Panel^  panel9;
363
	private: System::Windows::Forms::ComboBox^  ComboType;
364
	private: System::Windows::Forms::TabPage^  PagePackage;
365
	private: System::Windows::Forms::TabPage^  tabPage2;
366
 
367
 
368
 
369
	private: System::Windows::Forms::Panel^  panel12;
370
 
371
 
372
 
373
	private: System::Windows::Forms::Label^  label10;
374
	private: System::Windows::Forms::Panel^  panel11;
375
 
376
 
377
	private: System::Windows::Forms::Label^  label9;
378
 
379
	private: System::Windows::Forms::Panel^  panel13;
380
 
381
 
382
	private: System::Windows::Forms::Label^  label11;
383
private: System::Windows::Forms::TabPage^  tabPage3;
384
private: System::Windows::Forms::GroupBox^  groupBox3;
385
private: System::Windows::Forms::CheckBox^  CheckOther;
386
 
387
private: System::Windows::Forms::Label^  label13;
388
private: System::Windows::Forms::TextBox^  TextOtherName;
389
 
390
private: System::Windows::Forms::Label^  label12;
391
private: System::Windows::Forms::TextBox^  TextOtherAuthor;
392
 
393
private: System::Windows::Forms::Button^  ButFromFile;
394
private: System::Windows::Forms::GroupBox^  groupBox4;
395
private: System::Windows::Forms::Label^  label14;
396
private: System::Windows::Forms::ListView^  ListNames;
397
private: System::Windows::Forms::ColumnHeader^  columnHeader7;
398
private: System::Windows::Forms::ColumnHeader^  columnHeader8;
399
private: System::Windows::Forms::ListView^  ListMirrors;
400
private: System::Windows::Forms::ColumnHeader^  columnHeader6;
401
private: System::Windows::Forms::Panel^  panel14;
402
 
403
private: System::Windows::Forms::ContextMenuStrip^  ContextMirror;
404
private: System::Windows::Forms::ContextMenuStrip^  ContextLangName;
405
private: System::Windows::Forms::ToolStripMenuItem^  addMirrorToolStripMenuItem;
406
private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator1;
407
private: System::Windows::Forms::ToolStripMenuItem^  clearAllToolStripMenuItem;
408
private: System::Windows::Forms::ToolStripMenuItem^  ContextRemoveMirror;
409
private: System::Windows::Forms::ToolStripMenuItem^  addToolStripMenuItem;
410
private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator2;
411
private: System::Windows::Forms::ToolStripMenuItem^  ContextEditName;
412
private: System::Windows::Forms::ToolStripMenuItem^  ContextRemoveName;
413
private: System::Windows::Forms::ToolStripSeparator^  ContextNameSep;
414
private: System::Windows::Forms::ToolStripMenuItem^  clearAllToolStripMenuItem1;
415
private: System::Windows::Forms::Panel^  panel15;
416
private: System::Windows::Forms::Panel^  panel16;
417
private: System::Windows::Forms::Button^  ButPicAdd;
418
private: System::Windows::Forms::Button^  ButPicDel;
419
private: System::Windows::Forms::Button^  ButPicNext;
420
private: System::Windows::Forms::Button^  ButPicBack;
421
private: System::Windows::Forms::PictureBox^  DisplayPicture;
422
private: System::Windows::Forms::GroupBox^  groupBox5;
423
private: System::Windows::Forms::PictureBox^  DisplayIcon;
424
private: System::Windows::Forms::Button^  button4;
425
private: System::Windows::Forms::Button^  ButIconDel;
426
private: System::Windows::Forms::GroupBox^  groupBox6;
427
private: System::Windows::Forms::Panel^  panel17;
428
private: System::Windows::Forms::GroupBox^  GroupChange;
429
private: System::Windows::Forms::GroupBox^  GroupRec;
430
private: System::Windows::Forms::GroupBox^  GroupEase;
431
private: System::Windows::Forms::PictureBox^  PicRec4;
432
private: System::Windows::Forms::PictureBox^  PicRec3;
433
private: System::Windows::Forms::PictureBox^  PicRec2;
434
private: System::Windows::Forms::PictureBox^  PicRec1;
435
private: System::Windows::Forms::PictureBox^  PicEase5;
436
private: System::Windows::Forms::PictureBox^  PicEase4;
437
private: System::Windows::Forms::PictureBox^  PicEase3;
438
private: System::Windows::Forms::PictureBox^  PicEase2;
439
private: System::Windows::Forms::PictureBox^  PicEase1;
440
private: System::Windows::Forms::PictureBox^  PicChange4;
441
private: System::Windows::Forms::PictureBox^  PicChange3;
442
private: System::Windows::Forms::PictureBox^  PicChange2;
443
private: System::Windows::Forms::PictureBox^  PicChange5;
444
private: System::Windows::Forms::PictureBox^  PicChange1;
445
private: System::Windows::Forms::GroupBox^  groupBox7;
446
private: System::Windows::Forms::Panel^  panel19;
447
private: System::Windows::Forms::Button^  ButTextAdd;
448
private: System::Windows::Forms::Button^  ButTextDel;
449
private: System::Windows::Forms::ListBox^  ListLang;
450
private: System::Windows::Forms::RichTextBox^  TextText;
451
private: System::Windows::Forms::Panel^  panel18;
452
private: System::Windows::Forms::RadioButton^  RadioInstallAfter;
453
private: System::Windows::Forms::RadioButton^  RadioInstallBefore;
454
private: System::Windows::Forms::Panel^  panel20;
455
private: System::Windows::Forms::RadioButton^  RadioUninstallAfter;
456
private: System::Windows::Forms::RadioButton^  RadioUninstallBefore;
457
private: System::Windows::Forms::TabPage^  PageWares;
458
private: System::Windows::Forms::SplitContainer^  splitContainer1;
459
private: System::Windows::Forms::ListView^  ListWares;
460
private: System::Windows::Forms::ColumnHeader^  columnHeader9;
461
private: System::Windows::Forms::ColumnHeader^  columnHeader10;
462
private: System::Windows::Forms::ColumnHeader^  columnHeader11;
463
private: System::Windows::Forms::ColumnHeader^  columnHeader12;
464
private: System::Windows::Forms::ColumnHeader^  columnHeader13;
465
private: System::Windows::Forms::ColumnHeader^  columnHeader14;
466
private: System::Windows::Forms::ListView^  ListWareText;
467
 
468
private: System::Windows::Forms::ColumnHeader^  columnHeader15;
469
private: System::Windows::Forms::ColumnHeader^  columnHeader16;
470
private: System::Windows::Forms::ColumnHeader^  columnHeader17;
471
private: System::Windows::Forms::ContextMenuStrip^  ContextWare;
472
private: System::Windows::Forms::ToolStripMenuItem^  addWareToolStripMenuItem;
473
private: System::Windows::Forms::ToolStripSeparator^  ContextWareSep1;
474
 
475
private: System::Windows::Forms::ToolStripMenuItem^  ContextWareEdit;
476
private: System::Windows::Forms::ToolStripMenuItem^  ContextWareRemove;
477
private: System::Windows::Forms::ToolStripSeparator^  ContextWareSep2;
478
private: System::Windows::Forms::ToolStripMenuItem^  ContextWareClear;
479
private: System::Windows::Forms::ContextMenuStrip^  ContextWareText;
480
private: System::Windows::Forms::ToolStripMenuItem^  addTextToolStripMenuItem;
481
private: System::Windows::Forms::ToolStripSeparator^  ContextWTSep1;
482
 
483
private: System::Windows::Forms::ToolStripMenuItem^  ContextWTRemove;
484
private: System::Windows::Forms::ToolStripMenuItem^  ContextWTEdit;
485
private: System::Windows::Forms::ToolStripSeparator^  ContextWTSep2;
486
private: System::Windows::Forms::ToolStripMenuItem^  ContextWTClear;
487
private: System::Windows::Forms::PictureBox^  PicRec5;
488
private: System::Windows::Forms::RichTextBox^  TextForum;
489
private: System::Windows::Forms::RichTextBox^  TextEmail;
490
private: System::Windows::Forms::RichTextBox^  TextWebsite;
491
private: System::Windows::Forms::ContextMenuStrip^  ContextFiles;
492
private: System::Windows::Forms::RichTextBox^  TextWebAddress;
493
 
494
 
495
 
496
 
497
private: System::Windows::Forms::ContextMenuStrip^  ContextGames;
498
 
499
private: System::Windows::Forms::ToolStripMenuItem^  testToolStripMenuItem;
500
 
501
private: System::Windows::Forms::GroupBox^  groupBox1;
502
	private: System::Windows::Forms::TabControl^  tabControl1;
503
	private: System::Windows::Forms::TabPage^  tabPage1;
504
 
505
	private: System::Windows::Forms::Panel^  panel1;
506
	private: System::Windows::Forms::TextBox^  TextName;
507
	private: System::Windows::Forms::Label^  label1;
508
	private: System::Windows::Forms::Panel^  panel2;
509
	private: System::Windows::Forms::TextBox^  TextAuthor;
510
	private: System::Windows::Forms::Label^  label2;
511
	private: System::Windows::Forms::Panel^  panel3;
512
	private: System::Windows::Forms::TextBox^  TextVersion;
513
 
514
	private: System::Windows::Forms::Label^  label3;
515
	private: System::Windows::Forms::Panel^  panel4;
516
 
517
	private: System::Windows::Forms::Label^  label4;
518
	private: System::Windows::Forms::ListView^  ListFiles;
519
 
520
	private: System::Windows::Forms::Panel^  panel5;
521
	private: System::Windows::Forms::ComboBox^  ComboFileType;
522
	private: System::Windows::Forms::Label^  label5;
523
	private: System::Windows::Forms::DateTimePicker^  CreationDate;
524
	private: System::Windows::Forms::ColumnHeader^  columnHeader1;
525
	private: System::Windows::Forms::ColumnHeader^  columnHeader2;
526
	private: System::Windows::Forms::ColumnHeader^  columnHeader3;
527
	private: System::Windows::Forms::ColumnHeader^  columnHeader4;
528
	private: System::Windows::Forms::ColumnHeader^  columnHeader5;
529
private: System::ComponentModel::IContainer^  components;
530
		 /// <summary>
531
		/// Required designer variable.
532
		/// </summary>
533
 
534
 
535
#pragma region Windows Form Designer generated code
536
		/// <summary>
537
		/// Required method for Designer support - do not modify
538
		/// the contents of this method with the code editor.
539
		/// </summary>
540
		void InitializeComponent(void)
541
		{
542
			this->components = (gcnew System::ComponentModel::Container());
543
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(PackageForm::typeid));
544
			this->PicChange5 = (gcnew System::Windows::Forms::PictureBox());
545
			this->PicChange1 = (gcnew System::Windows::Forms::PictureBox());
546
			this->PicRec5 = (gcnew System::Windows::Forms::PictureBox());
547
			this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
548
			this->ListFiles = (gcnew System::Windows::Forms::ListView());
549
			this->columnHeader1 = (gcnew System::Windows::Forms::ColumnHeader());
550
			this->columnHeader2 = (gcnew System::Windows::Forms::ColumnHeader());
551
			this->columnHeader3 = (gcnew System::Windows::Forms::ColumnHeader());
552
			this->columnHeader4 = (gcnew System::Windows::Forms::ColumnHeader());
553
			this->columnHeader5 = (gcnew System::Windows::Forms::ColumnHeader());
554
			this->columnHeader25 = (gcnew System::Windows::Forms::ColumnHeader());
555
			this->columnHeader28 = (gcnew System::Windows::Forms::ColumnHeader());
556
			this->ContextFiles = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
557
			this->addFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
558
			this->ContextFileSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
559
			this->ContextFileEdit = (gcnew System::Windows::Forms::ToolStripMenuItem());
560
			this->ContextFileDelete = (gcnew System::Windows::Forms::ToolStripMenuItem());
561
			this->renameFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
562
			this->toolStripSeparator5 = (gcnew System::Windows::Forms::ToolStripSeparator());
563
			this->ToolGame = (gcnew System::Windows::Forms::ToolStripMenuItem());
564
			this->packFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
565
			this->unpackFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
566
			this->convertToFakePatchToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
567
			this->convertToAutoTextFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
568
			this->convertToNormalModToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
569
			this->ContextFileSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
570
			this->ContextFileClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
571
			this->panel6 = (gcnew System::Windows::Forms::Panel());
572
			this->ButRemoveFile = (gcnew System::Windows::Forms::Button());
573
			this->button2 = (gcnew System::Windows::Forms::Button());
574
			this->button1 = (gcnew System::Windows::Forms::Button());
575
			this->panel5 = (gcnew System::Windows::Forms::Panel());
576
			this->ComboFileType = (gcnew System::Windows::Forms::ComboBox());
577
			this->ComboGameFilter = (gcnew System::Windows::Forms::ComboBox());
578
			this->label5 = (gcnew System::Windows::Forms::Label());
579
			this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
580
			this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
581
			this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
582
			this->TextDesc = (gcnew System::Windows::Forms::RichTextBox());
583
			this->panel13 = (gcnew System::Windows::Forms::Panel());
584
			this->TextForum = (gcnew System::Windows::Forms::RichTextBox());
585
			this->label11 = (gcnew System::Windows::Forms::Label());
586
			this->panel12 = (gcnew System::Windows::Forms::Panel());
587
			this->TextEmail = (gcnew System::Windows::Forms::RichTextBox());
588
			this->label10 = (gcnew System::Windows::Forms::Label());
589
			this->panel11 = (gcnew System::Windows::Forms::Panel());
590
			this->TextWebsite = (gcnew System::Windows::Forms::RichTextBox());
591
			this->label9 = (gcnew System::Windows::Forms::Label());
592
			this->LabelShipWarning = (gcnew System::Windows::Forms::Label());
593
			this->tabPage5 = (gcnew System::Windows::Forms::TabPage());
594
			this->ListGames = (gcnew System::Windows::Forms::ListView());
595
			this->columnHeader26 = (gcnew System::Windows::Forms::ColumnHeader());
596
			this->columnHeader27 = (gcnew System::Windows::Forms::ColumnHeader());
597
			this->groupBox8 = (gcnew System::Windows::Forms::GroupBox());
598
			this->panel10 = (gcnew System::Windows::Forms::Panel());
599
			this->panel21 = (gcnew System::Windows::Forms::Panel());
600
			this->ComboVersion = (gcnew System::Windows::Forms::ComboBox());
601
			this->TextExactVersion = (gcnew System::Windows::Forms::TextBox());
602
			this->ButGameAdd = (gcnew System::Windows::Forms::Button());
603
			this->ButGame = (gcnew System::Windows::Forms::Button());
604
			this->ContextGames = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
605
			this->testToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
606
			this->PagePackage = (gcnew System::Windows::Forms::TabPage());
607
			this->groupBox3 = (gcnew System::Windows::Forms::GroupBox());
608
			this->TextOtherName = (gcnew System::Windows::Forms::TextBox());
609
			this->label13 = (gcnew System::Windows::Forms::Label());
610
			this->label12 = (gcnew System::Windows::Forms::Label());
611
			this->CheckOther = (gcnew System::Windows::Forms::CheckBox());
612
			this->TextOtherAuthor = (gcnew System::Windows::Forms::TextBox());
613
			this->ButFromFile = (gcnew System::Windows::Forms::Button());
614
			this->panel22 = (gcnew System::Windows::Forms::Panel());
615
			this->ComboPluginType = (gcnew System::Windows::Forms::ComboBox());
616
			this->label15 = (gcnew System::Windows::Forms::Label());
617
			this->panel7 = (gcnew System::Windows::Forms::Panel());
618
			this->panel8 = (gcnew System::Windows::Forms::Panel());
619
			this->flowLayoutPanel1 = (gcnew System::Windows::Forms::FlowLayoutPanel());
620
			this->RadioTypeUpdate = (gcnew System::Windows::Forms::RadioButton());
621
			this->RadioTypeLibrary = (gcnew System::Windows::Forms::RadioButton());
622
			this->RadioTypeStart = (gcnew System::Windows::Forms::RadioButton());
623
			this->RadioTypePatch = (gcnew System::Windows::Forms::RadioButton());
624
			this->panel9 = (gcnew System::Windows::Forms::Panel());
625
			this->TextCustomType = (gcnew System::Windows::Forms::TextBox());
626
			this->ComboType = (gcnew System::Windows::Forms::ComboBox());
627
			this->RadioTypeScript = (gcnew System::Windows::Forms::RadioButton());
628
			this->label7 = (gcnew System::Windows::Forms::Label());
629
			this->tabPage3 = (gcnew System::Windows::Forms::TabPage());
630
			this->groupBox7 = (gcnew System::Windows::Forms::GroupBox());
631
			this->TextText = (gcnew System::Windows::Forms::RichTextBox());
632
			this->panel19 = (gcnew System::Windows::Forms::Panel());
633
			this->ListLang = (gcnew System::Windows::Forms::ListBox());
634
			this->panel20 = (gcnew System::Windows::Forms::Panel());
635
			this->ButTextDel = (gcnew System::Windows::Forms::Button());
636
			this->ButTextAdd = (gcnew System::Windows::Forms::Button());
637
			this->panel18 = (gcnew System::Windows::Forms::Panel());
638
			this->RadioUninstallAfter = (gcnew System::Windows::Forms::RadioButton());
639
			this->RadioUninstallBefore = (gcnew System::Windows::Forms::RadioButton());
640
			this->RadioInstallAfter = (gcnew System::Windows::Forms::RadioButton());
641
			this->RadioInstallBefore = (gcnew System::Windows::Forms::RadioButton());
642
			this->groupBox6 = (gcnew System::Windows::Forms::GroupBox());
643
			this->panel17 = (gcnew System::Windows::Forms::Panel());
644
			this->GroupChange = (gcnew System::Windows::Forms::GroupBox());
645
			this->PicChange4 = (gcnew System::Windows::Forms::PictureBox());
646
			this->PicChange3 = (gcnew System::Windows::Forms::PictureBox());
647
			this->PicChange2 = (gcnew System::Windows::Forms::PictureBox());
648
			this->GroupRec = (gcnew System::Windows::Forms::GroupBox());
649
			this->PicRec4 = (gcnew System::Windows::Forms::PictureBox());
650
			this->PicRec3 = (gcnew System::Windows::Forms::PictureBox());
651
			this->PicRec2 = (gcnew System::Windows::Forms::PictureBox());
652
			this->PicRec1 = (gcnew System::Windows::Forms::PictureBox());
653
			this->GroupEase = (gcnew System::Windows::Forms::GroupBox());
654
			this->PicEase5 = (gcnew System::Windows::Forms::PictureBox());
655
			this->PicEase4 = (gcnew System::Windows::Forms::PictureBox());
656
			this->PicEase3 = (gcnew System::Windows::Forms::PictureBox());
657
			this->PicEase2 = (gcnew System::Windows::Forms::PictureBox());
658
			this->PicEase1 = (gcnew System::Windows::Forms::PictureBox());
659
			this->groupBox5 = (gcnew System::Windows::Forms::GroupBox());
660
			this->ButIconDel = (gcnew System::Windows::Forms::Button());
661
			this->DisplayIcon = (gcnew System::Windows::Forms::PictureBox());
662
			this->button4 = (gcnew System::Windows::Forms::Button());
663
			this->panel15 = (gcnew System::Windows::Forms::Panel());
664
			this->DisplayPicture = (gcnew System::Windows::Forms::PictureBox());
665
			this->panel16 = (gcnew System::Windows::Forms::Panel());
666
			this->ButPicAdd = (gcnew System::Windows::Forms::Button());
667
			this->ButPicDel = (gcnew System::Windows::Forms::Button());
668
			this->ButPicNext = (gcnew System::Windows::Forms::Button());
669
			this->ButPicBack = (gcnew System::Windows::Forms::Button());
670
			this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
671
			this->ListNames = (gcnew System::Windows::Forms::ListView());
672
			this->columnHeader7 = (gcnew System::Windows::Forms::ColumnHeader());
673
			this->columnHeader8 = (gcnew System::Windows::Forms::ColumnHeader());
674
			this->ContextLangName = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
675
			this->addToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
676
			this->toolStripSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
677
			this->ContextEditName = (gcnew System::Windows::Forms::ToolStripMenuItem());
678
			this->ContextRemoveName = (gcnew System::Windows::Forms::ToolStripMenuItem());
679
			this->ContextNameSep = (gcnew System::Windows::Forms::ToolStripSeparator());
680
			this->clearAllToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
681
			this->groupBox4 = (gcnew System::Windows::Forms::GroupBox());
682
			this->ListMirrors = (gcnew System::Windows::Forms::ListView());
683
			this->columnHeader6 = (gcnew System::Windows::Forms::ColumnHeader());
684
			this->ContextMirror = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
685
			this->addMirrorToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
686
			this->toolStripSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
687
			this->ContextRemoveMirror = (gcnew System::Windows::Forms::ToolStripMenuItem());
688
			this->clearAllToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
689
			this->panel14 = (gcnew System::Windows::Forms::Panel());
690
			this->TextWebAddress = (gcnew System::Windows::Forms::RichTextBox());
691
			this->label14 = (gcnew System::Windows::Forms::Label());
692
			this->tabPage4 = (gcnew System::Windows::Forms::TabPage());
693
			this->ListDep = (gcnew System::Windows::Forms::ListView());
694
			this->columnHeader22 = (gcnew System::Windows::Forms::ColumnHeader());
695
			this->columnHeader23 = (gcnew System::Windows::Forms::ColumnHeader());
696
			this->columnHeader24 = (gcnew System::Windows::Forms::ColumnHeader());
697
			this->ContextDep = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
698
			this->addToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
699
			this->manualToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
700
			this->fromPackageToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
701
			this->ContextDepSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
702
			this->editSelectedToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
703
			this->ContextDepRemove = (gcnew System::Windows::Forms::ToolStripMenuItem());
704
			this->ContextDepSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
705
			this->ContextDepClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
706
			this->PageWares = (gcnew System::Windows::Forms::TabPage());
707
			this->splitContainer1 = (gcnew System::Windows::Forms::SplitContainer());
708
			this->ListWares = (gcnew System::Windows::Forms::ListView());
709
			this->columnHeader9 = (gcnew System::Windows::Forms::ColumnHeader());
710
			this->columnHeader10 = (gcnew System::Windows::Forms::ColumnHeader());
711
			this->columnHeader11 = (gcnew System::Windows::Forms::ColumnHeader());
712
			this->columnHeader12 = (gcnew System::Windows::Forms::ColumnHeader());
713
			this->columnHeader13 = (gcnew System::Windows::Forms::ColumnHeader());
714
			this->columnHeader14 = (gcnew System::Windows::Forms::ColumnHeader());
715
			this->columnHeader18 = (gcnew System::Windows::Forms::ColumnHeader());
716
			this->ContextWare = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
717
			this->addWareToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
718
			this->ContextWareSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
719
			this->ContextWareEdit = (gcnew System::Windows::Forms::ToolStripMenuItem());
720
			this->ContextWareRemove = (gcnew System::Windows::Forms::ToolStripMenuItem());
721
			this->ContextWareSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
722
			this->ContextWareClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
723
			this->ListWareText = (gcnew System::Windows::Forms::ListView());
724
			this->columnHeader15 = (gcnew System::Windows::Forms::ColumnHeader());
725
			this->columnHeader16 = (gcnew System::Windows::Forms::ColumnHeader());
726
			this->columnHeader17 = (gcnew System::Windows::Forms::ColumnHeader());
727
			this->ContextWareText = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
728
			this->addTextToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
729
			this->ContextWTSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
730
			this->ContextWTRemove = (gcnew System::Windows::Forms::ToolStripMenuItem());
731
			this->ContextWTEdit = (gcnew System::Windows::Forms::ToolStripMenuItem());
732
			this->ContextWTSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
733
			this->ContextWTClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
734
			this->PageShip = (gcnew System::Windows::Forms::TabPage());
735
			this->ListShipText = (gcnew System::Windows::Forms::ListView());
736
			this->columnHeader19 = (gcnew System::Windows::Forms::ColumnHeader());
737
			this->columnHeader20 = (gcnew System::Windows::Forms::ColumnHeader());
738
			this->columnHeader21 = (gcnew System::Windows::Forms::ColumnHeader());
739
			this->ContextShipText = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
740
			this->importTextToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
741
			this->fromFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
742
			this->fromDirectoryToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
743
			this->fromModToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
744
			this->addLanguageToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
745
			this->ContextShipTextSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
746
			this->ContextShipTextEdit = (gcnew System::Windows::Forms::ToolStripMenuItem());
747
			this->ContextShipTextRemove = (gcnew System::Windows::Forms::ToolStripMenuItem());
748
			this->ContextShipTextSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
749
			this->ContextShipTextClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
750
			this->PanelTextID = (gcnew System::Windows::Forms::Panel());
751
			this->NumTextID = (gcnew System::Windows::Forms::NumericUpDown());
752
			this->CheckExistingText = (gcnew System::Windows::Forms::CheckBox());
753
			this->flowLayoutPanel2 = (gcnew System::Windows::Forms::FlowLayoutPanel());
754
			this->label16 = (gcnew System::Windows::Forms::Label());
755
			this->CheckSYArgon = (gcnew System::Windows::Forms::CheckBox());
756
			this->CheckSYBoron = (gcnew System::Windows::Forms::CheckBox());
757
			this->CheckSYParanid = (gcnew System::Windows::Forms::CheckBox());
758
			this->CheckSYTeladi = (gcnew System::Windows::Forms::CheckBox());
759
			this->CheckSYSplit = (gcnew System::Windows::Forms::CheckBox());
760
			this->CheckSYPirate = (gcnew System::Windows::Forms::CheckBox());
761
			this->CheckSYFriend = (gcnew System::Windows::Forms::CheckBox());
762
			this->CheckSYXenon = (gcnew System::Windows::Forms::CheckBox());
763
			this->CheckSYTerran = (gcnew System::Windows::Forms::CheckBox());
764
			this->CheckSYATF = (gcnew System::Windows::Forms::CheckBox());
765
			this->CheckSYYaki = (gcnew System::Windows::Forms::CheckBox());
766
			this->PageRaw = (gcnew System::Windows::Forms::TabPage());
767
			this->panel23 = (gcnew System::Windows::Forms::Panel());
768
			this->TextShipData = (gcnew System::Windows::Forms::RichTextBox());
769
			this->panel24 = (gcnew System::Windows::Forms::Panel());
770
			this->label17 = (gcnew System::Windows::Forms::Label());
771
			this->checkBox1 = (gcnew System::Windows::Forms::CheckBox());
772
			this->flowLayoutPanel3 = (gcnew System::Windows::Forms::FlowLayoutPanel());
773
			this->button3 = (gcnew System::Windows::Forms::Button());
774
			this->button5 = (gcnew System::Windows::Forms::Button());
775
			this->PageShipComp = (gcnew System::Windows::Forms::TabPage());
776
			this->panel26 = (gcnew System::Windows::Forms::Panel());
777
			this->ListShipPart = (gcnew System::Windows::Forms::ListView());
778
			this->ColumnPart1 = (gcnew System::Windows::Forms::ColumnHeader());
779
			this->ColumnPart2 = (gcnew System::Windows::Forms::ColumnHeader());
780
			this->ColumnPart3 = (gcnew System::Windows::Forms::ColumnHeader());
781
			this->ContextShipPart = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
782
			this->importToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
783
			this->ContextShipPartAdd = (gcnew System::Windows::Forms::ToolStripMenuItem());
784
			this->ContextShipPartSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
785
			this->ContextShipPartRemove = (gcnew System::Windows::Forms::ToolStripMenuItem());
786
			this->ContextShipPartEdit = (gcnew System::Windows::Forms::ToolStripMenuItem());
787
			this->ContextShipPartSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
788
			this->ContextShipPartClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
789
			this->panel25 = (gcnew System::Windows::Forms::Panel());
790
			this->ComboShipPart = (gcnew System::Windows::Forms::ComboBox());
791
			this->label18 = (gcnew System::Windows::Forms::Label());
792
			this->CheckShipID = (gcnew System::Windows::Forms::CheckBox());
793
			this->panel1 = (gcnew System::Windows::Forms::Panel());
794
			this->TextName = (gcnew System::Windows::Forms::TextBox());
795
			this->label1 = (gcnew System::Windows::Forms::Label());
796
			this->panel2 = (gcnew System::Windows::Forms::Panel());
797
			this->TextAuthor = (gcnew System::Windows::Forms::TextBox());
798
			this->label2 = (gcnew System::Windows::Forms::Label());
799
			this->panel3 = (gcnew System::Windows::Forms::Panel());
800
			this->TextVersion = (gcnew System::Windows::Forms::TextBox());
801
			this->label3 = (gcnew System::Windows::Forms::Label());
802
			this->panel4 = (gcnew System::Windows::Forms::Panel());
803
			this->CreationDate = (gcnew System::Windows::Forms::DateTimePicker());
804
			this->label4 = (gcnew System::Windows::Forms::Label());
805
			this->label6 = (gcnew System::Windows::Forms::Label());
806
			this->PanelShip = (gcnew System::Windows::Forms::Panel());
807
			this->TextShipID = (gcnew System::Windows::Forms::TextBox());
808
			this->toolStrip1 = (gcnew System::Windows::Forms::ToolStrip());
809
			this->toolStripButton2 = (gcnew System::Windows::Forms::ToolStripButton());
810
			this->toolStripButton3 = (gcnew System::Windows::Forms::ToolStripButton());
811
			this->toolStripButton5 = (gcnew System::Windows::Forms::ToolStripButton());
812
			this->toolStripSeparator3 = (gcnew System::Windows::Forms::ToolStripSeparator());
813
			this->toolStripButton1 = (gcnew System::Windows::Forms::ToolStripButton());
814
			this->toolStripButton4 = (gcnew System::Windows::Forms::ToolStripButton());
815
			this->toolStripSeparator4 = (gcnew System::Windows::Forms::ToolStripSeparator());
816
			this->ToolCustomise = (gcnew System::Windows::Forms::ToolStripButton());
817
			this->toolTip1 = (gcnew System::Windows::Forms::ToolTip(this->components));
818
			this->toolTip2 = (gcnew System::Windows::Forms::ToolTip(this->components));
126 cycrow 819
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange5))->BeginInit();
820
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange1))->BeginInit();
821
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec5))->BeginInit();
1 cycrow 822
			this->groupBox1->SuspendLayout();
823
			this->ContextFiles->SuspendLayout();
824
			this->panel6->SuspendLayout();
825
			this->panel5->SuspendLayout();
826
			this->tabControl1->SuspendLayout();
827
			this->tabPage1->SuspendLayout();
828
			this->groupBox2->SuspendLayout();
829
			this->panel13->SuspendLayout();
830
			this->panel12->SuspendLayout();
831
			this->panel11->SuspendLayout();
832
			this->tabPage5->SuspendLayout();
833
			this->groupBox8->SuspendLayout();
834
			this->panel10->SuspendLayout();
835
			this->panel21->SuspendLayout();
836
			this->ContextGames->SuspendLayout();
837
			this->PagePackage->SuspendLayout();
838
			this->groupBox3->SuspendLayout();
839
			this->panel22->SuspendLayout();
840
			this->panel7->SuspendLayout();
841
			this->panel8->SuspendLayout();
842
			this->flowLayoutPanel1->SuspendLayout();
843
			this->panel9->SuspendLayout();
844
			this->tabPage3->SuspendLayout();
845
			this->groupBox7->SuspendLayout();
846
			this->panel19->SuspendLayout();
847
			this->panel20->SuspendLayout();
848
			this->panel18->SuspendLayout();
849
			this->groupBox6->SuspendLayout();
850
			this->panel17->SuspendLayout();
851
			this->GroupChange->SuspendLayout();
126 cycrow 852
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange4))->BeginInit();
853
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange3))->BeginInit();
854
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange2))->BeginInit();
1 cycrow 855
			this->GroupRec->SuspendLayout();
126 cycrow 856
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec4))->BeginInit();
857
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec3))->BeginInit();
858
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec2))->BeginInit();
859
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec1))->BeginInit();
1 cycrow 860
			this->GroupEase->SuspendLayout();
126 cycrow 861
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase5))->BeginInit();
862
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase4))->BeginInit();
863
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase3))->BeginInit();
864
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase2))->BeginInit();
865
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase1))->BeginInit();
1 cycrow 866
			this->groupBox5->SuspendLayout();
126 cycrow 867
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->DisplayIcon))->BeginInit();
1 cycrow 868
			this->panel15->SuspendLayout();
126 cycrow 869
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->DisplayPicture))->BeginInit();
1 cycrow 870
			this->panel16->SuspendLayout();
871
			this->tabPage2->SuspendLayout();
872
			this->ContextLangName->SuspendLayout();
873
			this->groupBox4->SuspendLayout();
874
			this->ContextMirror->SuspendLayout();
875
			this->panel14->SuspendLayout();
876
			this->tabPage4->SuspendLayout();
877
			this->ContextDep->SuspendLayout();
878
			this->PageWares->SuspendLayout();
126 cycrow 879
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->splitContainer1))->BeginInit();
1 cycrow 880
			this->splitContainer1->Panel1->SuspendLayout();
881
			this->splitContainer1->Panel2->SuspendLayout();
882
			this->splitContainer1->SuspendLayout();
883
			this->ContextWare->SuspendLayout();
884
			this->ContextWareText->SuspendLayout();
885
			this->PageShip->SuspendLayout();
886
			this->ContextShipText->SuspendLayout();
887
			this->PanelTextID->SuspendLayout();
126 cycrow 888
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->NumTextID))->BeginInit();
1 cycrow 889
			this->flowLayoutPanel2->SuspendLayout();
890
			this->PageRaw->SuspendLayout();
891
			this->panel23->SuspendLayout();
892
			this->panel24->SuspendLayout();
893
			this->flowLayoutPanel3->SuspendLayout();
894
			this->PageShipComp->SuspendLayout();
895
			this->panel26->SuspendLayout();
896
			this->ContextShipPart->SuspendLayout();
897
			this->panel25->SuspendLayout();
898
			this->panel1->SuspendLayout();
899
			this->panel2->SuspendLayout();
900
			this->panel3->SuspendLayout();
901
			this->panel4->SuspendLayout();
902
			this->PanelShip->SuspendLayout();
903
			this->toolStrip1->SuspendLayout();
904
			this->SuspendLayout();
905
			// 
906
			// PicChange5
907
			// 
908
			this->PicChange5->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 909
			this->PicChange5->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicChange5.Image")));
910
			this->PicChange5->Location = System::Drawing::Point(132, 19);
127 cycrow 911
			this->PicChange5->Margin = System::Windows::Forms::Padding(4);
1 cycrow 912
			this->PicChange5->Name = L"PicChange5";
126 cycrow 913
			this->PicChange5->Size = System::Drawing::Size(32, 32);
1 cycrow 914
			this->PicChange5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
915
			this->PicChange5->TabIndex = 18;
916
			this->PicChange5->TabStop = false;
917
			this->PicChange5->Click += gcnew System::EventHandler(this, &PackageForm::PicChange5_Click);
918
			// 
919
			// PicChange1
920
			// 
921
			this->PicChange1->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 922
			this->PicChange1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicChange1.Image")));
923
			this->PicChange1->Location = System::Drawing::Point(4, 19);
127 cycrow 924
			this->PicChange1->Margin = System::Windows::Forms::Padding(4);
1 cycrow 925
			this->PicChange1->Name = L"PicChange1";
126 cycrow 926
			this->PicChange1->Size = System::Drawing::Size(32, 32);
1 cycrow 927
			this->PicChange1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
928
			this->PicChange1->TabIndex = 14;
929
			this->PicChange1->TabStop = false;
930
			this->PicChange1->Click += gcnew System::EventHandler(this, &PackageForm::PicChange1_Click);
931
			// 
932
			// PicRec5
933
			// 
934
			this->PicRec5->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 935
			this->PicRec5->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicRec5.Image")));
936
			this->PicRec5->Location = System::Drawing::Point(132, 19);
127 cycrow 937
			this->PicRec5->Margin = System::Windows::Forms::Padding(4);
1 cycrow 938
			this->PicRec5->Name = L"PicRec5";
126 cycrow 939
			this->PicRec5->Size = System::Drawing::Size(32, 32);
1 cycrow 940
			this->PicRec5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
941
			this->PicRec5->TabIndex = 18;
942
			this->PicRec5->TabStop = false;
943
			this->PicRec5->Click += gcnew System::EventHandler(this, &PackageForm::PicRec5_Click);
944
			// 
945
			// groupBox1
946
			// 
947
			this->groupBox1->Controls->Add(this->ListFiles);
948
			this->groupBox1->Controls->Add(this->panel6);
949
			this->groupBox1->Controls->Add(this->panel5);
950
			this->groupBox1->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 951
			this->groupBox1->Location = System::Drawing::Point(7, 456);
127 cycrow 952
			this->groupBox1->Margin = System::Windows::Forms::Padding(4);
1 cycrow 953
			this->groupBox1->Name = L"groupBox1";
127 cycrow 954
			this->groupBox1->Padding = System::Windows::Forms::Padding(4);
126 cycrow 955
			this->groupBox1->Size = System::Drawing::Size(1007, 412);
1 cycrow 956
			this->groupBox1->TabIndex = 0;
957
			this->groupBox1->TabStop = false;
958
			this->groupBox1->Text = L"Files";
959
			// 
960
			// ListFiles
961
			// 
962
			this->ListFiles->AllowDrop = true;
126 cycrow 963
			this->ListFiles->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(7) {
964
				this->columnHeader1, this->columnHeader2,
965
					this->columnHeader3, this->columnHeader4, this->columnHeader5, this->columnHeader25, this->columnHeader28
966
			});
1 cycrow 967
			this->ListFiles->ContextMenuStrip = this->ContextFiles;
968
			this->ListFiles->Dock = System::Windows::Forms::DockStyle::Fill;
969
			this->ListFiles->FullRowSelect = true;
970
			this->ListFiles->HideSelection = false;
126 cycrow 971
			this->ListFiles->Location = System::Drawing::Point(4, 50);
127 cycrow 972
			this->ListFiles->Margin = System::Windows::Forms::Padding(4);
1 cycrow 973
			this->ListFiles->Name = L"ListFiles";
126 cycrow 974
			this->ListFiles->Size = System::Drawing::Size(999, 309);
1 cycrow 975
			this->ListFiles->Sorting = System::Windows::Forms::SortOrder::Ascending;
976
			this->ListFiles->TabIndex = 1;
977
			this->ListFiles->UseCompatibleStateImageBehavior = false;
978
			this->ListFiles->View = System::Windows::Forms::View::Details;
979
			this->ListFiles->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ListFiles_SelectedIndexChanged);
980
			this->ListFiles->DragDrop += gcnew System::Windows::Forms::DragEventHandler(this, &PackageForm::ListFiles_DragDrop);
981
			this->ListFiles->DragOver += gcnew System::Windows::Forms::DragEventHandler(this, &PackageForm::ListFiles_DragOver);
126 cycrow 982
			this->ListFiles->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListFiles_MouseDoubleClick);
1 cycrow 983
			// 
984
			// columnHeader1
985
			// 
986
			this->columnHeader1->Text = L"";
987
			this->columnHeader1->Width = 53;
988
			// 
989
			// columnHeader2
990
			// 
991
			this->columnHeader2->Text = L"Filename";
992
			// 
993
			// columnHeader3
994
			// 
995
			this->columnHeader3->Text = L"Size";
996
			this->columnHeader3->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
997
			// 
998
			// columnHeader4
999
			// 
1000
			this->columnHeader4->Text = L"Filetype";
1001
			// 
1002
			// columnHeader5
1003
			// 
1004
			this->columnHeader5->Text = L"Directory";
1005
			// 
1006
			// columnHeader25
1007
			// 
1008
			this->columnHeader25->Text = L"Signed";
1009
			// 
1010
			// columnHeader28
1011
			// 
1012
			this->columnHeader28->Text = L"Game";
1013
			// 
1014
			// ContextFiles
1015
			// 
126 cycrow 1016
			this->ContextFiles->ImageScalingSize = System::Drawing::Size(20, 20);
1017
			this->ContextFiles->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(14) {
1018
				this->addFileToolStripMenuItem,
1019
					this->ContextFileSep1, this->ContextFileEdit, this->ContextFileDelete, this->renameFileToolStripMenuItem, this->toolStripSeparator5,
1020
					this->ToolGame, this->packFileToolStripMenuItem, this->unpackFileToolStripMenuItem, this->convertToFakePatchToolStripMenuItem,
1021
					this->convertToAutoTextFileToolStripMenuItem, this->convertToNormalModToolStripMenuItem, this->ContextFileSep2, this->ContextFileClear
1022
			});
1 cycrow 1023
			this->ContextFiles->Name = L"ContextFiles";
127 cycrow 1024
			this->ContextFiles->Size = System::Drawing::Size(260, 468);
1 cycrow 1025
			this->ContextFiles->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextFiles_Opening);
1026
			// 
1027
			// addFileToolStripMenuItem
1028
			// 
126 cycrow 1029
			this->addFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addFileToolStripMenuItem.Image")));
1 cycrow 1030
			this->addFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1031
			this->addFileToolStripMenuItem->Name = L"addFileToolStripMenuItem";
126 cycrow 1032
			this->addFileToolStripMenuItem->Size = System::Drawing::Size(259, 38);
1 cycrow 1033
			this->addFileToolStripMenuItem->Text = L"Add File";
1034
			this->addFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addFileToolStripMenuItem_Click);
1035
			// 
1036
			// ContextFileSep1
1037
			// 
1038
			this->ContextFileSep1->Name = L"ContextFileSep1";
126 cycrow 1039
			this->ContextFileSep1->Size = System::Drawing::Size(256, 6);
1 cycrow 1040
			// 
1041
			// ContextFileEdit
1042
			// 
126 cycrow 1043
			this->ContextFileEdit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextFileEdit.Image")));
1 cycrow 1044
			this->ContextFileEdit->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1045
			this->ContextFileEdit->Name = L"ContextFileEdit";
126 cycrow 1046
			this->ContextFileEdit->Size = System::Drawing::Size(259, 38);
1 cycrow 1047
			this->ContextFileEdit->Text = L"Edit Directory";
1048
			this->ContextFileEdit->Click += gcnew System::EventHandler(this, &PackageForm::ContextFileEdit_Click);
1049
			// 
1050
			// ContextFileDelete
1051
			// 
126 cycrow 1052
			this->ContextFileDelete->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextFileDelete.Image")));
1 cycrow 1053
			this->ContextFileDelete->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1054
			this->ContextFileDelete->Name = L"ContextFileDelete";
126 cycrow 1055
			this->ContextFileDelete->Size = System::Drawing::Size(259, 38);
1 cycrow 1056
			this->ContextFileDelete->Text = L"Remove Selected";
1057
			this->ContextFileDelete->Click += gcnew System::EventHandler(this, &PackageForm::ContextFileDelete_Click);
1058
			// 
1059
			// renameFileToolStripMenuItem
1060
			// 
126 cycrow 1061
			this->renameFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"renameFileToolStripMenuItem.Image")));
1 cycrow 1062
			this->renameFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1063
			this->renameFileToolStripMenuItem->Name = L"renameFileToolStripMenuItem";
126 cycrow 1064
			this->renameFileToolStripMenuItem->Size = System::Drawing::Size(259, 38);
1 cycrow 1065
			this->renameFileToolStripMenuItem->Text = L"Rename File";
1066
			this->renameFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::renameFileToolStripMenuItem_Click);
1067
			// 
1068
			// toolStripSeparator5
1069
			// 
1070
			this->toolStripSeparator5->Name = L"toolStripSeparator5";
126 cycrow 1071
			this->toolStripSeparator5->Size = System::Drawing::Size(256, 6);
1 cycrow 1072
			// 
1073
			// ToolGame
1074
			// 
126 cycrow 1075
			this->ToolGame->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ToolGame.Image")));
1 cycrow 1076
			this->ToolGame->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1077
			this->ToolGame->Name = L"ToolGame";
126 cycrow 1078
			this->ToolGame->Size = System::Drawing::Size(259, 38);
1 cycrow 1079
			this->ToolGame->Text = L"Set Game";
1080
			// 
1081
			// packFileToolStripMenuItem
1082
			// 
126 cycrow 1083
			this->packFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"packFileToolStripMenuItem.Image")));
1 cycrow 1084
			this->packFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1085
			this->packFileToolStripMenuItem->Name = L"packFileToolStripMenuItem";
126 cycrow 1086
			this->packFileToolStripMenuItem->Size = System::Drawing::Size(259, 38);
1 cycrow 1087
			this->packFileToolStripMenuItem->Text = L"Pack File";
1088
			this->packFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::packFileToolStripMenuItem_Click);
1089
			// 
1090
			// unpackFileToolStripMenuItem
1091
			// 
126 cycrow 1092
			this->unpackFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"unpackFileToolStripMenuItem.Image")));
1 cycrow 1093
			this->unpackFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1094
			this->unpackFileToolStripMenuItem->Name = L"unpackFileToolStripMenuItem";
126 cycrow 1095
			this->unpackFileToolStripMenuItem->Size = System::Drawing::Size(259, 38);
1 cycrow 1096
			this->unpackFileToolStripMenuItem->Text = L"Unpack File";
1097
			this->unpackFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::unpackFileToolStripMenuItem_Click);
1098
			// 
1099
			// convertToFakePatchToolStripMenuItem
1100
			// 
126 cycrow 1101
			this->convertToFakePatchToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"convertToFakePatchToolStripMenuItem.Image")));
1 cycrow 1102
			this->convertToFakePatchToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1103
			this->convertToFakePatchToolStripMenuItem->Name = L"convertToFakePatchToolStripMenuItem";
126 cycrow 1104
			this->convertToFakePatchToolStripMenuItem->Size = System::Drawing::Size(259, 38);
1 cycrow 1105
			this->convertToFakePatchToolStripMenuItem->Text = L"Convert To Fake Patch";
1106
			this->convertToFakePatchToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::convertToFakePatchToolStripMenuItem_Click);
1107
			// 
1108
			// convertToAutoTextFileToolStripMenuItem
1109
			// 
126 cycrow 1110
			this->convertToAutoTextFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"convertToAutoTextFileToolStripMenuItem.Image")));
1 cycrow 1111
			this->convertToAutoTextFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1112
			this->convertToAutoTextFileToolStripMenuItem->Name = L"convertToAutoTextFileToolStripMenuItem";
126 cycrow 1113
			this->convertToAutoTextFileToolStripMenuItem->Size = System::Drawing::Size(259, 38);
1 cycrow 1114
			this->convertToAutoTextFileToolStripMenuItem->Text = L"Convert To Auto Text File";
1115
			this->convertToAutoTextFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::convertToAutoTextFileToolStripMenuItem_Click);
1116
			// 
1117
			// convertToNormalModToolStripMenuItem
1118
			// 
126 cycrow 1119
			this->convertToNormalModToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"convertToNormalModToolStripMenuItem.Image")));
1 cycrow 1120
			this->convertToNormalModToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1121
			this->convertToNormalModToolStripMenuItem->Name = L"convertToNormalModToolStripMenuItem";
126 cycrow 1122
			this->convertToNormalModToolStripMenuItem->Size = System::Drawing::Size(259, 38);
1 cycrow 1123
			this->convertToNormalModToolStripMenuItem->Text = L"Convert To Normal Mod";
1124
			this->convertToNormalModToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::convertToNormalModToolStripMenuItem_Click);
1125
			// 
1126
			// ContextFileSep2
1127
			// 
1128
			this->ContextFileSep2->Name = L"ContextFileSep2";
126 cycrow 1129
			this->ContextFileSep2->Size = System::Drawing::Size(256, 6);
1 cycrow 1130
			// 
1131
			// ContextFileClear
1132
			// 
126 cycrow 1133
			this->ContextFileClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextFileClear.Image")));
1 cycrow 1134
			this->ContextFileClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
1135
			this->ContextFileClear->Name = L"ContextFileClear";
126 cycrow 1136
			this->ContextFileClear->Size = System::Drawing::Size(259, 38);
1 cycrow 1137
			this->ContextFileClear->Text = L"Clear All";
1138
			this->ContextFileClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextFileClear_Click);
1139
			// 
1140
			// panel6
1141
			// 
1142
			this->panel6->Controls->Add(this->ButRemoveFile);
1143
			this->panel6->Controls->Add(this->button2);
1144
			this->panel6->Controls->Add(this->button1);
1145
			this->panel6->Dock = System::Windows::Forms::DockStyle::Bottom;
126 cycrow 1146
			this->panel6->Location = System::Drawing::Point(4, 359);
127 cycrow 1147
			this->panel6->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1148
			this->panel6->Name = L"panel6";
126 cycrow 1149
			this->panel6->Padding = System::Windows::Forms::Padding(7, 6, 7, 6);
1150
			this->panel6->Size = System::Drawing::Size(999, 49);
1 cycrow 1151
			this->panel6->TabIndex = 2;
1152
			// 
1153
			// ButRemoveFile
1154
			// 
1155
			this->ButRemoveFile->Dock = System::Windows::Forms::DockStyle::Right;
126 cycrow 1156
			this->ButRemoveFile->Location = System::Drawing::Point(655, 6);
127 cycrow 1157
			this->ButRemoveFile->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1158
			this->ButRemoveFile->Name = L"ButRemoveFile";
126 cycrow 1159
			this->ButRemoveFile->Size = System::Drawing::Size(173, 37);
1 cycrow 1160
			this->ButRemoveFile->TabIndex = 2;
1161
			this->ButRemoveFile->Text = L"Remove Selected";
1162
			this->ButRemoveFile->UseVisualStyleBackColor = true;
1163
			this->ButRemoveFile->Click += gcnew System::EventHandler(this, &PackageForm::ButRemoveFile_Click);
1164
			// 
1165
			// button2
1166
			// 
1167
			this->button2->Dock = System::Windows::Forms::DockStyle::Right;
126 cycrow 1168
			this->button2->Location = System::Drawing::Point(828, 6);
127 cycrow 1169
			this->button2->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1170
			this->button2->Name = L"button2";
126 cycrow 1171
			this->button2->Size = System::Drawing::Size(164, 37);
1 cycrow 1172
			this->button2->TabIndex = 1;
1173
			this->button2->Text = L"Clear All";
1174
			this->button2->UseVisualStyleBackColor = true;
1175
			this->button2->Click += gcnew System::EventHandler(this, &PackageForm::button2_Click);
1176
			// 
1177
			// button1
1178
			// 
1179
			this->button1->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1180
			this->button1->Location = System::Drawing::Point(7, 6);
127 cycrow 1181
			this->button1->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1182
			this->button1->Name = L"button1";
126 cycrow 1183
			this->button1->Size = System::Drawing::Size(151, 37);
1 cycrow 1184
			this->button1->TabIndex = 0;
1185
			this->button1->Text = L"Add File(s)";
1186
			this->button1->UseVisualStyleBackColor = true;
1187
			this->button1->Click += gcnew System::EventHandler(this, &PackageForm::button1_Click);
1188
			// 
1189
			// panel5
1190
			// 
1191
			this->panel5->Controls->Add(this->ComboFileType);
1192
			this->panel5->Controls->Add(this->ComboGameFilter);
1193
			this->panel5->Controls->Add(this->label5);
1194
			this->panel5->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1195
			this->panel5->Location = System::Drawing::Point(4, 19);
127 cycrow 1196
			this->panel5->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1197
			this->panel5->Name = L"panel5";
126 cycrow 1198
			this->panel5->Size = System::Drawing::Size(999, 31);
1 cycrow 1199
			this->panel5->TabIndex = 0;
1200
			// 
1201
			// ComboFileType
1202
			// 
1203
			this->ComboFileType->Dock = System::Windows::Forms::DockStyle::Fill;
1204
			this->ComboFileType->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
1205
			this->ComboFileType->FormattingEnabled = true;
126 cycrow 1206
			this->ComboFileType->Location = System::Drawing::Point(133, 0);
127 cycrow 1207
			this->ComboFileType->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1208
			this->ComboFileType->Name = L"ComboFileType";
126 cycrow 1209
			this->ComboFileType->Size = System::Drawing::Size(593, 24);
1 cycrow 1210
			this->ComboFileType->TabIndex = 1;
1211
			this->ComboFileType->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboFileType_SelectedIndexChanged);
1212
			// 
1213
			// ComboGameFilter
1214
			// 
1215
			this->ComboGameFilter->Dock = System::Windows::Forms::DockStyle::Right;
1216
			this->ComboGameFilter->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
1217
			this->ComboGameFilter->FormattingEnabled = true;
126 cycrow 1218
			this->ComboGameFilter->Location = System::Drawing::Point(726, 0);
127 cycrow 1219
			this->ComboGameFilter->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1220
			this->ComboGameFilter->Name = L"ComboGameFilter";
126 cycrow 1221
			this->ComboGameFilter->Size = System::Drawing::Size(273, 24);
1 cycrow 1222
			this->ComboGameFilter->TabIndex = 2;
1223
			this->ComboGameFilter->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboGameFilter_SelectedIndexChanged);
1224
			// 
1225
			// label5
1226
			// 
1227
			this->label5->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1228
			this->label5->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 1229
				static_cast<System::Byte>(0)));
1230
			this->label5->Location = System::Drawing::Point(0, 0);
126 cycrow 1231
			this->label5->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 1232
			this->label5->Name = L"label5";
126 cycrow 1233
			this->label5->Size = System::Drawing::Size(133, 31);
1 cycrow 1234
			this->label5->TabIndex = 0;
1235
			this->label5->Text = L"Filters";
1236
			this->label5->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
1237
			// 
1238
			// tabControl1
1239
			// 
1240
			this->tabControl1->Controls->Add(this->tabPage1);
1241
			this->tabControl1->Controls->Add(this->tabPage5);
1242
			this->tabControl1->Controls->Add(this->PagePackage);
1243
			this->tabControl1->Controls->Add(this->tabPage3);
1244
			this->tabControl1->Controls->Add(this->tabPage2);
1245
			this->tabControl1->Controls->Add(this->tabPage4);
1246
			this->tabControl1->Controls->Add(this->PageWares);
1247
			this->tabControl1->Controls->Add(this->PageShip);
1248
			this->tabControl1->Controls->Add(this->PageRaw);
1249
			this->tabControl1->Controls->Add(this->PageShipComp);
1250
			this->tabControl1->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1251
			this->tabControl1->Location = System::Drawing::Point(7, 158);
1252
			this->tabControl1->Margin = System::Windows::Forms::Padding(8, 7, 8, 7);
1 cycrow 1253
			this->tabControl1->Multiline = true;
1254
			this->tabControl1->Name = L"tabControl1";
1255
			this->tabControl1->SelectedIndex = 0;
126 cycrow 1256
			this->tabControl1->Size = System::Drawing::Size(1007, 298);
1 cycrow 1257
			this->tabControl1->TabIndex = 1;
1258
			// 
1259
			// tabPage1
1260
			// 
1261
			this->tabPage1->Controls->Add(this->groupBox2);
1262
			this->tabPage1->Controls->Add(this->panel13);
1263
			this->tabPage1->Controls->Add(this->panel12);
1264
			this->tabPage1->Controls->Add(this->panel11);
1265
			this->tabPage1->Controls->Add(this->LabelShipWarning);
126 cycrow 1266
			this->tabPage1->Location = System::Drawing::Point(4, 25);
127 cycrow 1267
			this->tabPage1->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1268
			this->tabPage1->Name = L"tabPage1";
126 cycrow 1269
			this->tabPage1->Padding = System::Windows::Forms::Padding(11, 10, 11, 10);
1270
			this->tabPage1->Size = System::Drawing::Size(999, 269);
1 cycrow 1271
			this->tabPage1->TabIndex = 0;
1272
			this->tabPage1->Text = L"Basic Settings";
1273
			this->tabPage1->UseVisualStyleBackColor = true;
1274
			// 
1275
			// groupBox2
1276
			// 
1277
			this->groupBox2->Controls->Add(this->TextDesc);
1278
			this->groupBox2->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1279
			this->groupBox2->Location = System::Drawing::Point(11, 109);
127 cycrow 1280
			this->groupBox2->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1281
			this->groupBox2->Name = L"groupBox2";
126 cycrow 1282
			this->groupBox2->Padding = System::Windows::Forms::Padding(7, 6, 7, 6);
1283
			this->groupBox2->Size = System::Drawing::Size(977, 150);
1 cycrow 1284
			this->groupBox2->TabIndex = 1;
1285
			this->groupBox2->TabStop = false;
1286
			this->groupBox2->Text = L"Description";
1287
			// 
1288
			// TextDesc
1289
			// 
1290
			this->TextDesc->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1291
			this->TextDesc->Location = System::Drawing::Point(7, 21);
127 cycrow 1292
			this->TextDesc->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1293
			this->TextDesc->Name = L"TextDesc";
126 cycrow 1294
			this->TextDesc->Size = System::Drawing::Size(963, 123);
1 cycrow 1295
			this->TextDesc->TabIndex = 0;
1296
			this->TextDesc->Text = L"";
1297
			this->TextDesc->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextDesc_TextChanged);
1298
			// 
1299
			// panel13
1300
			// 
1301
			this->panel13->Controls->Add(this->TextForum);
1302
			this->panel13->Controls->Add(this->label11);
1303
			this->panel13->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1304
			this->panel13->Location = System::Drawing::Point(11, 82);
127 cycrow 1305
			this->panel13->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1306
			this->panel13->Name = L"panel13";
126 cycrow 1307
			this->panel13->Size = System::Drawing::Size(977, 27);
1 cycrow 1308
			this->panel13->TabIndex = 46;
1309
			// 
1310
			// TextForum
1311
			// 
1312
			this->TextForum->DetectUrls = false;
1313
			this->TextForum->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1314
			this->TextForum->Location = System::Drawing::Point(167, 0);
127 cycrow 1315
			this->TextForum->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1316
			this->TextForum->Name = L"TextForum";
126 cycrow 1317
			this->TextForum->Size = System::Drawing::Size(810, 27);
1 cycrow 1318
			this->TextForum->TabIndex = 43;
1319
			this->TextForum->Text = L"";
1320
			this->TextForum->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextForum_TextChanged);
1321
			// 
1322
			// label11
1323
			// 
1324
			this->label11->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1325
			this->label11->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 1326
				static_cast<System::Byte>(0)));
1327
			this->label11->Location = System::Drawing::Point(0, 0);
126 cycrow 1328
			this->label11->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 1329
			this->label11->Name = L"label11";
126 cycrow 1330
			this->label11->Size = System::Drawing::Size(167, 27);
1 cycrow 1331
			this->label11->TabIndex = 42;
1332
			this->label11->Text = L"Forum Link";
1333
			// 
1334
			// panel12
1335
			// 
1336
			this->panel12->Controls->Add(this->TextEmail);
1337
			this->panel12->Controls->Add(this->label10);
1338
			this->panel12->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1339
			this->panel12->Location = System::Drawing::Point(11, 55);
127 cycrow 1340
			this->panel12->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1341
			this->panel12->Name = L"panel12";
126 cycrow 1342
			this->panel12->Size = System::Drawing::Size(977, 27);
1 cycrow 1343
			this->panel12->TabIndex = 45;
1344
			// 
1345
			// TextEmail
1346
			// 
1347
			this->TextEmail->DetectUrls = false;
1348
			this->TextEmail->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1349
			this->TextEmail->Location = System::Drawing::Point(167, 0);
127 cycrow 1350
			this->TextEmail->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1351
			this->TextEmail->Name = L"TextEmail";
126 cycrow 1352
			this->TextEmail->Size = System::Drawing::Size(810, 27);
1 cycrow 1353
			this->TextEmail->TabIndex = 43;
1354
			this->TextEmail->Text = L"";
1355
			this->TextEmail->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextEmail_TextChanged);
1356
			// 
1357
			// label10
1358
			// 
1359
			this->label10->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1360
			this->label10->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 1361
				static_cast<System::Byte>(0)));
1362
			this->label10->Location = System::Drawing::Point(0, 0);
126 cycrow 1363
			this->label10->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 1364
			this->label10->Name = L"label10";
126 cycrow 1365
			this->label10->Size = System::Drawing::Size(167, 27);
1 cycrow 1366
			this->label10->TabIndex = 42;
1367
			this->label10->Text = L"Email Address";
1368
			// 
1369
			// panel11
1370
			// 
1371
			this->panel11->Controls->Add(this->TextWebsite);
1372
			this->panel11->Controls->Add(this->label9);
1373
			this->panel11->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1374
			this->panel11->Location = System::Drawing::Point(11, 32);
127 cycrow 1375
			this->panel11->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1376
			this->panel11->Name = L"panel11";
126 cycrow 1377
			this->panel11->Size = System::Drawing::Size(977, 23);
1 cycrow 1378
			this->panel11->TabIndex = 44;
1379
			// 
1380
			// TextWebsite
1381
			// 
1382
			this->TextWebsite->DetectUrls = false;
1383
			this->TextWebsite->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1384
			this->TextWebsite->Location = System::Drawing::Point(167, 0);
127 cycrow 1385
			this->TextWebsite->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1386
			this->TextWebsite->Name = L"TextWebsite";
126 cycrow 1387
			this->TextWebsite->Size = System::Drawing::Size(810, 23);
1 cycrow 1388
			this->TextWebsite->TabIndex = 41;
1389
			this->TextWebsite->Text = L"";
1390
			this->TextWebsite->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextWebsite_TextChanged);
1391
			// 
1392
			// label9
1393
			// 
1394
			this->label9->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1395
			this->label9->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 1396
				static_cast<System::Byte>(0)));
1397
			this->label9->Location = System::Drawing::Point(0, 0);
126 cycrow 1398
			this->label9->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 1399
			this->label9->Name = L"label9";
126 cycrow 1400
			this->label9->Size = System::Drawing::Size(167, 23);
1 cycrow 1401
			this->label9->TabIndex = 40;
1402
			this->label9->Text = L"Web Site";
1403
			// 
1404
			// LabelShipWarning
1405
			// 
1406
			this->LabelShipWarning->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1407
			this->LabelShipWarning->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
1 cycrow 1408
				static_cast<System::Byte>(0)));
1409
			this->LabelShipWarning->ForeColor = System::Drawing::Color::Red;
126 cycrow 1410
			this->LabelShipWarning->Location = System::Drawing::Point(11, 10);
1411
			this->LabelShipWarning->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 1412
			this->LabelShipWarning->Name = L"LabelShipWarning";
126 cycrow 1413
			this->LabelShipWarning->Size = System::Drawing::Size(977, 22);
1 cycrow 1414
			this->LabelShipWarning->TabIndex = 47;
1415
			this->LabelShipWarning->Text = L"NOTE: Ship files are not valid for X2, and only work in later games";
1416
			this->LabelShipWarning->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
1417
			// 
1418
			// tabPage5
1419
			// 
1420
			this->tabPage5->Controls->Add(this->ListGames);
1421
			this->tabPage5->Controls->Add(this->groupBox8);
127 cycrow 1422
			this->tabPage5->Location = System::Drawing::Point(4, 25);
1423
			this->tabPage5->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1424
			this->tabPage5->Name = L"tabPage5";
127 cycrow 1425
			this->tabPage5->Padding = System::Windows::Forms::Padding(4);
1426
			this->tabPage5->Size = System::Drawing::Size(999, 269);
1 cycrow 1427
			this->tabPage5->TabIndex = 10;
1428
			this->tabPage5->Text = L"Game Compatability";
1429
			this->tabPage5->UseVisualStyleBackColor = true;
1430
			// 
1431
			// ListGames
1432
			// 
126 cycrow 1433
			this->ListGames->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(2) { this->columnHeader26, this->columnHeader27 });
1 cycrow 1434
			this->ListGames->Dock = System::Windows::Forms::DockStyle::Fill;
1435
			this->ListGames->FullRowSelect = true;
126 cycrow 1436
			this->ListGames->HideSelection = false;
1437
			this->ListGames->Location = System::Drawing::Point(4, 4);
127 cycrow 1438
			this->ListGames->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1439
			this->ListGames->MultiSelect = false;
1440
			this->ListGames->Name = L"ListGames";
127 cycrow 1441
			this->ListGames->Size = System::Drawing::Size(991, 175);
1 cycrow 1442
			this->ListGames->TabIndex = 2;
1443
			this->ListGames->UseCompatibleStateImageBehavior = false;
1444
			this->ListGames->View = System::Windows::Forms::View::Details;
1445
			this->ListGames->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ListGames_SelectedIndexChanged);
1446
			this->ListGames->DoubleClick += gcnew System::EventHandler(this, &PackageForm::ListGames_DoubleClick);
1447
			// 
1448
			// columnHeader26
1449
			// 
1450
			this->columnHeader26->Text = L"Game";
1451
			// 
1452
			// columnHeader27
1453
			// 
1454
			this->columnHeader27->Text = L"Version";
1455
			// 
1456
			// groupBox8
1457
			// 
1458
			this->groupBox8->Controls->Add(this->panel10);
1459
			this->groupBox8->Dock = System::Windows::Forms::DockStyle::Bottom;
127 cycrow 1460
			this->groupBox8->Location = System::Drawing::Point(4, 179);
1461
			this->groupBox8->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1462
			this->groupBox8->Name = L"groupBox8";
127 cycrow 1463
			this->groupBox8->Padding = System::Windows::Forms::Padding(4);
1464
			this->groupBox8->Size = System::Drawing::Size(991, 86);
1 cycrow 1465
			this->groupBox8->TabIndex = 1;
1466
			this->groupBox8->TabStop = false;
1467
			this->groupBox8->Text = L"Add/Edit Game";
1468
			// 
1469
			// panel10
1470
			// 
1471
			this->panel10->Controls->Add(this->panel21);
1472
			this->panel10->Controls->Add(this->ButGame);
1473
			this->panel10->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1474
			this->panel10->Location = System::Drawing::Point(4, 19);
127 cycrow 1475
			this->panel10->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1476
			this->panel10->Name = L"panel10";
127 cycrow 1477
			this->panel10->Size = System::Drawing::Size(983, 53);
1 cycrow 1478
			this->panel10->TabIndex = 44;
1479
			// 
1480
			// panel21
1481
			// 
1482
			this->panel21->Controls->Add(this->ComboVersion);
1483
			this->panel21->Controls->Add(this->TextExactVersion);
1484
			this->panel21->Controls->Add(this->ButGameAdd);
1485
			this->panel21->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1486
			this->panel21->Location = System::Drawing::Point(291, 0);
127 cycrow 1487
			this->panel21->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1488
			this->panel21->Name = L"panel21";
127 cycrow 1489
			this->panel21->Size = System::Drawing::Size(692, 53);
1 cycrow 1490
			this->panel21->TabIndex = 44;
1491
			// 
1492
			// ComboVersion
1493
			// 
1494
			this->ComboVersion->Dock = System::Windows::Forms::DockStyle::Fill;
1495
			this->ComboVersion->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
1496
			this->ComboVersion->Enabled = false;
1497
			this->ComboVersion->FormattingEnabled = true;
1498
			this->ComboVersion->Location = System::Drawing::Point(0, 0);
127 cycrow 1499
			this->ComboVersion->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1500
			this->ComboVersion->Name = L"ComboVersion";
127 cycrow 1501
			this->ComboVersion->Size = System::Drawing::Size(621, 24);
1 cycrow 1502
			this->ComboVersion->TabIndex = 41;
1503
			this->ComboVersion->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboVersion_SelectedIndexChanged);
1504
			// 
1505
			// TextExactVersion
1506
			// 
1507
			this->TextExactVersion->Dock = System::Windows::Forms::DockStyle::Bottom;
126 cycrow 1508
			this->TextExactVersion->Location = System::Drawing::Point(0, 31);
127 cycrow 1509
			this->TextExactVersion->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1510
			this->TextExactVersion->Name = L"TextExactVersion";
127 cycrow 1511
			this->TextExactVersion->Size = System::Drawing::Size(621, 22);
1 cycrow 1512
			this->TextExactVersion->TabIndex = 42;
1513
			// 
1514
			// ButGameAdd
1515
			// 
1516
			this->ButGameAdd->Dock = System::Windows::Forms::DockStyle::Right;
1517
			this->ButGameAdd->ForeColor = System::Drawing::Color::Green;
127 cycrow 1518
			this->ButGameAdd->Location = System::Drawing::Point(621, 0);
1519
			this->ButGameAdd->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1520
			this->ButGameAdd->Name = L"ButGameAdd";
126 cycrow 1521
			this->ButGameAdd->Size = System::Drawing::Size(71, 53);
1 cycrow 1522
			this->ButGameAdd->TabIndex = 43;
1523
			this->ButGameAdd->Text = L"Save!";
1524
			this->ButGameAdd->UseVisualStyleBackColor = true;
1525
			this->ButGameAdd->Click += gcnew System::EventHandler(this, &PackageForm::ButGameAdd_Click);
1526
			// 
1527
			// ButGame
1528
			// 
1529
			this->ButGame->ContextMenuStrip = this->ContextGames;
1530
			this->ButGame->Dock = System::Windows::Forms::DockStyle::Left;
1531
			this->ButGame->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
1532
			this->ButGame->Location = System::Drawing::Point(0, 0);
127 cycrow 1533
			this->ButGame->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1534
			this->ButGame->Name = L"ButGame";
126 cycrow 1535
			this->ButGame->Size = System::Drawing::Size(291, 53);
1 cycrow 1536
			this->ButGame->TabIndex = 43;
1537
			this->ButGame->UseVisualStyleBackColor = true;
1538
			this->ButGame->Click += gcnew System::EventHandler(this, &PackageForm::ButGame_Click);
1539
			// 
1540
			// ContextGames
1541
			// 
1542
			this->ContextGames->ImageScalingSize = System::Drawing::Size(32, 32);
126 cycrow 1543
			this->ContextGames->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) { this->testToolStripMenuItem });
1 cycrow 1544
			this->ContextGames->Name = L"ContextGames";
126 cycrow 1545
			this->ContextGames->Size = System::Drawing::Size(105, 28);
1 cycrow 1546
			// 
1547
			// testToolStripMenuItem
1548
			// 
1549
			this->testToolStripMenuItem->Name = L"testToolStripMenuItem";
126 cycrow 1550
			this->testToolStripMenuItem->Size = System::Drawing::Size(104, 24);
1 cycrow 1551
			this->testToolStripMenuItem->Text = L"Test";
1552
			// 
1553
			// PagePackage
1554
			// 
1555
			this->PagePackage->Controls->Add(this->groupBox3);
1556
			this->PagePackage->Controls->Add(this->panel22);
1557
			this->PagePackage->Controls->Add(this->panel7);
127 cycrow 1558
			this->PagePackage->Location = System::Drawing::Point(4, 25);
1559
			this->PagePackage->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1560
			this->PagePackage->Name = L"PagePackage";
127 cycrow 1561
			this->PagePackage->Padding = System::Windows::Forms::Padding(4);
1562
			this->PagePackage->Size = System::Drawing::Size(999, 269);
1 cycrow 1563
			this->PagePackage->TabIndex = 2;
1564
			this->PagePackage->Text = L"Package Settings";
1565
			this->PagePackage->UseVisualStyleBackColor = true;
1566
			// 
1567
			// groupBox3
1568
			// 
1569
			this->groupBox3->Controls->Add(this->TextOtherName);
1570
			this->groupBox3->Controls->Add(this->label13);
1571
			this->groupBox3->Controls->Add(this->label12);
1572
			this->groupBox3->Controls->Add(this->CheckOther);
1573
			this->groupBox3->Controls->Add(this->TextOtherAuthor);
1574
			this->groupBox3->Controls->Add(this->ButFromFile);
1575
			this->groupBox3->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1576
			this->groupBox3->Location = System::Drawing::Point(4, 117);
1577
			this->groupBox3->Margin = System::Windows::Forms::Padding(13, 12, 13, 12);
1 cycrow 1578
			this->groupBox3->Name = L"groupBox3";
126 cycrow 1579
			this->groupBox3->Padding = System::Windows::Forms::Padding(13, 12, 13, 12);
127 cycrow 1580
			this->groupBox3->Size = System::Drawing::Size(991, 65);
1 cycrow 1581
			this->groupBox3->TabIndex = 1;
1582
			this->groupBox3->TabStop = false;
1583
			this->groupBox3->Text = L"Requires Parent Mod/Package";
1584
			// 
1585
			// TextOtherName
1586
			// 
1587
			this->TextOtherName->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1588
			this->TextOtherName->Location = System::Drawing::Point(140, 27);
127 cycrow 1589
			this->TextOtherName->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1590
			this->TextOtherName->Name = L"TextOtherName";
127 cycrow 1591
			this->TextOtherName->Size = System::Drawing::Size(451, 22);
1 cycrow 1592
			this->TextOtherName->TabIndex = 1;
1593
			this->TextOtherName->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextOtherName_TextChanged);
1594
			// 
1595
			// label13
1596
			// 
1597
			this->label13->Dock = System::Windows::Forms::DockStyle::Right;
126 cycrow 1598
			this->label13->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 1599
				static_cast<System::Byte>(0)));
127 cycrow 1600
			this->label13->Location = System::Drawing::Point(591, 27);
126 cycrow 1601
			this->label13->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 1602
			this->label13->Name = L"label13";
126 cycrow 1603
			this->label13->Size = System::Drawing::Size(103, 26);
1 cycrow 1604
			this->label13->TabIndex = 3;
1605
			this->label13->Text = L"Author";
1606
			this->label13->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
1607
			// 
1608
			// label12
1609
			// 
1610
			this->label12->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1611
			this->label12->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 1612
				static_cast<System::Byte>(0)));
1613
			this->label12->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
126 cycrow 1614
			this->label12->Location = System::Drawing::Point(31, 27);
1615
			this->label12->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 1616
			this->label12->Name = L"label12";
1617
			this->label12->RightToLeft = System::Windows::Forms::RightToLeft::No;
126 cycrow 1618
			this->label12->Size = System::Drawing::Size(109, 26);
1 cycrow 1619
			this->label12->TabIndex = 2;
1620
			this->label12->Text = L"Package";
1621
			this->label12->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
1622
			// 
1623
			// CheckOther
1624
			// 
1625
			this->CheckOther->AutoSize = true;
1626
			this->CheckOther->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1627
			this->CheckOther->Location = System::Drawing::Point(13, 27);
127 cycrow 1628
			this->CheckOther->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1629
			this->CheckOther->Name = L"CheckOther";
126 cycrow 1630
			this->CheckOther->Size = System::Drawing::Size(18, 26);
1 cycrow 1631
			this->CheckOther->TabIndex = 0;
1632
			this->CheckOther->UseVisualStyleBackColor = true;
1633
			this->CheckOther->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckOther_CheckedChanged);
1634
			// 
1635
			// TextOtherAuthor
1636
			// 
1637
			this->TextOtherAuthor->Dock = System::Windows::Forms::DockStyle::Right;
127 cycrow 1638
			this->TextOtherAuthor->Location = System::Drawing::Point(694, 27);
1639
			this->TextOtherAuthor->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1640
			this->TextOtherAuthor->Name = L"TextOtherAuthor";
126 cycrow 1641
			this->TextOtherAuthor->Size = System::Drawing::Size(184, 22);
1 cycrow 1642
			this->TextOtherAuthor->TabIndex = 4;
1643
			this->TextOtherAuthor->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextOtherName_TextChanged);
1644
			// 
1645
			// ButFromFile
1646
			// 
1647
			this->ButFromFile->Dock = System::Windows::Forms::DockStyle::Right;
127 cycrow 1648
			this->ButFromFile->Location = System::Drawing::Point(878, 27);
1649
			this->ButFromFile->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1650
			this->ButFromFile->Name = L"ButFromFile";
126 cycrow 1651
			this->ButFromFile->Size = System::Drawing::Size(100, 26);
1 cycrow 1652
			this->ButFromFile->TabIndex = 5;
1653
			this->ButFromFile->Text = L"From File";
1654
			this->ButFromFile->UseVisualStyleBackColor = true;
1655
			this->ButFromFile->Click += gcnew System::EventHandler(this, &PackageForm::ButFromFile_Click);
1656
			// 
1657
			// panel22
1658
			// 
1659
			this->panel22->Controls->Add(this->ComboPluginType);
1660
			this->panel22->Controls->Add(this->label15);
1661
			this->panel22->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1662
			this->panel22->Location = System::Drawing::Point(4, 78);
127 cycrow 1663
			this->panel22->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1664
			this->panel22->Name = L"panel22";
127 cycrow 1665
			this->panel22->Size = System::Drawing::Size(991, 39);
1 cycrow 1666
			this->panel22->TabIndex = 2;
1667
			// 
1668
			// ComboPluginType
1669
			// 
1670
			this->ComboPluginType->Dock = System::Windows::Forms::DockStyle::Fill;
1671
			this->ComboPluginType->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
1672
			this->ComboPluginType->FormattingEnabled = true;
126 cycrow 1673
			this->ComboPluginType->Items->AddRange(gcnew cli::array< System::Object^  >(5) {
1674
				L"Normal", L"Stable", L"Experimental", L"Cheat",
1675
					L"Mod"
1676
			});
1677
			this->ComboPluginType->Location = System::Drawing::Point(209, 0);
127 cycrow 1678
			this->ComboPluginType->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1679
			this->ComboPluginType->Name = L"ComboPluginType";
127 cycrow 1680
			this->ComboPluginType->Size = System::Drawing::Size(782, 24);
1 cycrow 1681
			this->ComboPluginType->TabIndex = 7;
1682
			this->ComboPluginType->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboPluginType_SelectedIndexChanged);
1683
			// 
1684
			// label15
1685
			// 
1686
			this->label15->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1687
			this->label15->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 1688
				static_cast<System::Byte>(0)));
1689
			this->label15->Location = System::Drawing::Point(0, 0);
126 cycrow 1690
			this->label15->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 1691
			this->label15->Name = L"label15";
126 cycrow 1692
			this->label15->Size = System::Drawing::Size(209, 39);
1 cycrow 1693
			this->label15->TabIndex = 2;
1694
			this->label15->Text = L"Plugin Type";
1695
			// 
1696
			// panel7
1697
			// 
1698
			this->panel7->Controls->Add(this->panel8);
1699
			this->panel7->Controls->Add(this->label7);
1700
			this->panel7->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1701
			this->panel7->Location = System::Drawing::Point(4, 4);
127 cycrow 1702
			this->panel7->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1703
			this->panel7->Name = L"panel7";
126 cycrow 1704
			this->panel7->Padding = System::Windows::Forms::Padding(7, 6, 7, 12);
127 cycrow 1705
			this->panel7->Size = System::Drawing::Size(991, 74);
1 cycrow 1706
			this->panel7->TabIndex = 0;
1707
			// 
1708
			// panel8
1709
			// 
1710
			this->panel8->Controls->Add(this->flowLayoutPanel1);
1711
			this->panel8->Controls->Add(this->panel9);
1712
			this->panel8->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1713
			this->panel8->Location = System::Drawing::Point(216, 6);
127 cycrow 1714
			this->panel8->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1715
			this->panel8->Name = L"panel8";
127 cycrow 1716
			this->panel8->Size = System::Drawing::Size(768, 56);
1 cycrow 1717
			this->panel8->TabIndex = 2;
1718
			// 
1719
			// flowLayoutPanel1
1720
			// 
1721
			this->flowLayoutPanel1->Controls->Add(this->RadioTypeUpdate);
1722
			this->flowLayoutPanel1->Controls->Add(this->RadioTypeLibrary);
1723
			this->flowLayoutPanel1->Controls->Add(this->RadioTypeStart);
1724
			this->flowLayoutPanel1->Controls->Add(this->RadioTypePatch);
1725
			this->flowLayoutPanel1->Dock = System::Windows::Forms::DockStyle::Fill;
1726
			this->flowLayoutPanel1->Location = System::Drawing::Point(0, 0);
127 cycrow 1727
			this->flowLayoutPanel1->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1728
			this->flowLayoutPanel1->Name = L"flowLayoutPanel1";
127 cycrow 1729
			this->flowLayoutPanel1->Size = System::Drawing::Size(768, 28);
1 cycrow 1730
			this->flowLayoutPanel1->TabIndex = 4;
1731
			// 
1732
			// RadioTypeUpdate
1733
			// 
1734
			this->RadioTypeUpdate->AutoSize = true;
126 cycrow 1735
			this->RadioTypeUpdate->Location = System::Drawing::Point(4, 4);
127 cycrow 1736
			this->RadioTypeUpdate->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1737
			this->RadioTypeUpdate->Name = L"RadioTypeUpdate";
126 cycrow 1738
			this->RadioTypeUpdate->Size = System::Drawing::Size(134, 21);
1 cycrow 1739
			this->RadioTypeUpdate->TabIndex = 1;
1740
			this->RadioTypeUpdate->TabStop = true;
1741
			this->RadioTypeUpdate->Text = L"Update Package";
1742
			this->RadioTypeUpdate->UseVisualStyleBackColor = true;
1743
			this->RadioTypeUpdate->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioTypeUpdate_CheckedChanged);
1744
			// 
1745
			// RadioTypeLibrary
1746
			// 
1747
			this->RadioTypeLibrary->AutoSize = true;
126 cycrow 1748
			this->RadioTypeLibrary->Location = System::Drawing::Point(146, 4);
127 cycrow 1749
			this->RadioTypeLibrary->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1750
			this->RadioTypeLibrary->Name = L"RadioTypeLibrary";
126 cycrow 1751
			this->RadioTypeLibrary->Size = System::Drawing::Size(113, 21);
1 cycrow 1752
			this->RadioTypeLibrary->TabIndex = 3;
1753
			this->RadioTypeLibrary->TabStop = true;
1754
			this->RadioTypeLibrary->Text = L"Script Library";
1755
			this->RadioTypeLibrary->UseVisualStyleBackColor = true;
1756
			this->RadioTypeLibrary->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioTypeLibrary_CheckedChanged);
1757
			// 
1758
			// RadioTypeStart
1759
			// 
1760
			this->RadioTypeStart->AutoSize = true;
126 cycrow 1761
			this->RadioTypeStart->Location = System::Drawing::Point(267, 4);
127 cycrow 1762
			this->RadioTypeStart->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1763
			this->RadioTypeStart->Name = L"RadioTypeStart";
126 cycrow 1764
			this->RadioTypeStart->Size = System::Drawing::Size(110, 21);
1 cycrow 1765
			this->RadioTypeStart->TabIndex = 0;
1766
			this->RadioTypeStart->TabStop = true;
1767
			this->RadioTypeStart->Text = L"Custom Start";
1768
			this->RadioTypeStart->UseVisualStyleBackColor = true;
1769
			this->RadioTypeStart->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioTypeStart_CheckedChanged);
1770
			// 
1771
			// RadioTypePatch
1772
			// 
1773
			this->RadioTypePatch->AutoSize = true;
126 cycrow 1774
			this->RadioTypePatch->Location = System::Drawing::Point(385, 4);
127 cycrow 1775
			this->RadioTypePatch->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1776
			this->RadioTypePatch->Name = L"RadioTypePatch";
126 cycrow 1777
			this->RadioTypePatch->Size = System::Drawing::Size(96, 21);
1 cycrow 1778
			this->RadioTypePatch->TabIndex = 2;
1779
			this->RadioTypePatch->TabStop = true;
1780
			this->RadioTypePatch->Text = L"Mod Patch";
1781
			this->RadioTypePatch->UseVisualStyleBackColor = true;
1782
			this->RadioTypePatch->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioTypePatch_CheckedChanged);
1783
			// 
1784
			// panel9
1785
			// 
1786
			this->panel9->Controls->Add(this->TextCustomType);
1787
			this->panel9->Controls->Add(this->ComboType);
1788
			this->panel9->Controls->Add(this->RadioTypeScript);
1789
			this->panel9->Dock = System::Windows::Forms::DockStyle::Bottom;
126 cycrow 1790
			this->panel9->Location = System::Drawing::Point(0, 28);
127 cycrow 1791
			this->panel9->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1792
			this->panel9->Name = L"panel9";
127 cycrow 1793
			this->panel9->Size = System::Drawing::Size(768, 28);
1 cycrow 1794
			this->panel9->TabIndex = 6;
1795
			// 
1796
			// TextCustomType
1797
			// 
1798
			this->TextCustomType->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1799
			this->TextCustomType->Location = System::Drawing::Point(192, 0);
127 cycrow 1800
			this->TextCustomType->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1801
			this->TextCustomType->Name = L"TextCustomType";
127 cycrow 1802
			this->TextCustomType->Size = System::Drawing::Size(576, 22);
1 cycrow 1803
			this->TextCustomType->TabIndex = 7;
1804
			this->TextCustomType->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextCustomType_TextChanged);
1805
			// 
1806
			// ComboType
1807
			// 
1808
			this->ComboType->Dock = System::Windows::Forms::DockStyle::Left;
1809
			this->ComboType->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
1810
			this->ComboType->FormattingEnabled = true;
126 cycrow 1811
			this->ComboType->Location = System::Drawing::Point(17, 0);
127 cycrow 1812
			this->ComboType->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1813
			this->ComboType->Name = L"ComboType";
126 cycrow 1814
			this->ComboType->Size = System::Drawing::Size(175, 24);
1 cycrow 1815
			this->ComboType->TabIndex = 6;
1816
			this->ComboType->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboType_SelectedIndexChanged);
1817
			// 
1818
			// RadioTypeScript
1819
			// 
1820
			this->RadioTypeScript->AutoSize = true;
1821
			this->RadioTypeScript->Dock = System::Windows::Forms::DockStyle::Left;
1822
			this->RadioTypeScript->Location = System::Drawing::Point(0, 0);
127 cycrow 1823
			this->RadioTypeScript->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1824
			this->RadioTypeScript->Name = L"RadioTypeScript";
126 cycrow 1825
			this->RadioTypeScript->Size = System::Drawing::Size(17, 28);
1 cycrow 1826
			this->RadioTypeScript->TabIndex = 5;
1827
			this->RadioTypeScript->TabStop = true;
1828
			this->RadioTypeScript->UseVisualStyleBackColor = true;
1829
			this->RadioTypeScript->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioTypeScript_CheckedChanged);
1830
			// 
1831
			// label7
1832
			// 
1833
			this->label7->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1834
			this->label7->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 1835
				static_cast<System::Byte>(0)));
126 cycrow 1836
			this->label7->Location = System::Drawing::Point(7, 6);
1837
			this->label7->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 1838
			this->label7->Name = L"label7";
126 cycrow 1839
			this->label7->Size = System::Drawing::Size(209, 56);
1 cycrow 1840
			this->label7->TabIndex = 1;
1841
			this->label7->Text = L"Package Type";
1842
			this->label7->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
1843
			// 
1844
			// tabPage3
1845
			// 
1846
			this->tabPage3->Controls->Add(this->groupBox7);
1847
			this->tabPage3->Controls->Add(this->groupBox6);
1848
			this->tabPage3->Controls->Add(this->groupBox5);
1849
			this->tabPage3->Controls->Add(this->panel15);
127 cycrow 1850
			this->tabPage3->Location = System::Drawing::Point(4, 25);
1851
			this->tabPage3->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1852
			this->tabPage3->Name = L"tabPage3";
127 cycrow 1853
			this->tabPage3->Padding = System::Windows::Forms::Padding(4);
1854
			this->tabPage3->Size = System::Drawing::Size(999, 269);
1 cycrow 1855
			this->tabPage3->TabIndex = 4;
1856
			this->tabPage3->Text = L"Display";
1857
			this->tabPage3->UseVisualStyleBackColor = true;
1858
			// 
1859
			// groupBox7
1860
			// 
1861
			this->groupBox7->Controls->Add(this->TextText);
1862
			this->groupBox7->Controls->Add(this->panel19);
1863
			this->groupBox7->Controls->Add(this->panel18);
1864
			this->groupBox7->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1865
			this->groupBox7->Location = System::Drawing::Point(280, 82);
127 cycrow 1866
			this->groupBox7->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1867
			this->groupBox7->Name = L"groupBox7";
126 cycrow 1868
			this->groupBox7->Padding = System::Windows::Forms::Padding(7, 0, 7, 6);
127 cycrow 1869
			this->groupBox7->Size = System::Drawing::Size(715, 183);
1 cycrow 1870
			this->groupBox7->TabIndex = 4;
1871
			this->groupBox7->TabStop = false;
1872
			this->groupBox7->Text = L"Text";
1873
			// 
1874
			// TextText
1875
			// 
1876
			this->TextText->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 1877
			this->TextText->Location = System::Drawing::Point(139, 48);
127 cycrow 1878
			this->TextText->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1879
			this->TextText->Name = L"TextText";
127 cycrow 1880
			this->TextText->Size = System::Drawing::Size(569, 129);
1 cycrow 1881
			this->TextText->TabIndex = 3;
1882
			this->TextText->Text = L"";
1883
			this->TextText->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextText_TextChanged);
1884
			// 
1885
			// panel19
1886
			// 
1887
			this->panel19->Controls->Add(this->ListLang);
1888
			this->panel19->Controls->Add(this->panel20);
1889
			this->panel19->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1890
			this->panel19->Location = System::Drawing::Point(7, 48);
127 cycrow 1891
			this->panel19->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1892
			this->panel19->Name = L"panel19";
127 cycrow 1893
			this->panel19->Size = System::Drawing::Size(132, 129);
1 cycrow 1894
			this->panel19->TabIndex = 5;
1895
			// 
1896
			// ListLang
1897
			// 
1898
			this->ListLang->Dock = System::Windows::Forms::DockStyle::Fill;
1899
			this->ListLang->FormattingEnabled = true;
126 cycrow 1900
			this->ListLang->ItemHeight = 16;
1901
			this->ListLang->Items->AddRange(gcnew cli::array< System::Object^  >(1) { L"- Default -" });
1 cycrow 1902
			this->ListLang->Location = System::Drawing::Point(0, 0);
127 cycrow 1903
			this->ListLang->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1904
			this->ListLang->Name = L"ListLang";
127 cycrow 1905
			this->ListLang->Size = System::Drawing::Size(132, 104);
1 cycrow 1906
			this->ListLang->TabIndex = 4;
1907
			this->ListLang->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ListLang_SelectedIndexChanged);
1908
			// 
1909
			// panel20
1910
			// 
1911
			this->panel20->Controls->Add(this->ButTextDel);
1912
			this->panel20->Controls->Add(this->ButTextAdd);
1913
			this->panel20->Dock = System::Windows::Forms::DockStyle::Bottom;
127 cycrow 1914
			this->panel20->Location = System::Drawing::Point(0, 104);
1915
			this->panel20->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1916
			this->panel20->Name = L"panel20";
126 cycrow 1917
			this->panel20->Size = System::Drawing::Size(132, 25);
1 cycrow 1918
			this->panel20->TabIndex = 7;
1919
			// 
1920
			// ButTextDel
1921
			// 
1922
			this->ButTextDel->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1923
			this->ButTextDel->Location = System::Drawing::Point(68, 0);
127 cycrow 1924
			this->ButTextDel->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1925
			this->ButTextDel->Name = L"ButTextDel";
126 cycrow 1926
			this->ButTextDel->Size = System::Drawing::Size(61, 25);
1 cycrow 1927
			this->ButTextDel->TabIndex = 5;
1928
			this->ButTextDel->Text = L"-";
1929
			this->ButTextDel->UseVisualStyleBackColor = true;
1930
			this->ButTextDel->Click += gcnew System::EventHandler(this, &PackageForm::ButTextDel_Click);
1931
			// 
1932
			// ButTextAdd
1933
			// 
1934
			this->ButTextAdd->Dock = System::Windows::Forms::DockStyle::Left;
1935
			this->ButTextAdd->Location = System::Drawing::Point(0, 0);
127 cycrow 1936
			this->ButTextAdd->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1937
			this->ButTextAdd->Name = L"ButTextAdd";
126 cycrow 1938
			this->ButTextAdd->Size = System::Drawing::Size(68, 25);
1 cycrow 1939
			this->ButTextAdd->TabIndex = 6;
1940
			this->ButTextAdd->Text = L"+";
1941
			this->ButTextAdd->UseVisualStyleBackColor = true;
1942
			this->ButTextAdd->Click += gcnew System::EventHandler(this, &PackageForm::ButTextAdd_Click);
1943
			// 
1944
			// panel18
1945
			// 
1946
			this->panel18->Controls->Add(this->RadioUninstallAfter);
1947
			this->panel18->Controls->Add(this->RadioUninstallBefore);
1948
			this->panel18->Controls->Add(this->RadioInstallAfter);
1949
			this->panel18->Controls->Add(this->RadioInstallBefore);
1950
			this->panel18->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 1951
			this->panel18->Location = System::Drawing::Point(7, 15);
127 cycrow 1952
			this->panel18->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1953
			this->panel18->Name = L"panel18";
127 cycrow 1954
			this->panel18->Size = System::Drawing::Size(701, 33);
1 cycrow 1955
			this->panel18->TabIndex = 2;
1956
			// 
1957
			// RadioUninstallAfter
1958
			// 
1959
			this->RadioUninstallAfter->AutoSize = true;
1960
			this->RadioUninstallAfter->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1961
			this->RadioUninstallAfter->Location = System::Drawing::Point(339, 0);
127 cycrow 1962
			this->RadioUninstallAfter->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1963
			this->RadioUninstallAfter->Name = L"RadioUninstallAfter";
126 cycrow 1964
			this->RadioUninstallAfter->Size = System::Drawing::Size(117, 33);
1 cycrow 1965
			this->RadioUninstallAfter->TabIndex = 3;
1966
			this->RadioUninstallAfter->TabStop = true;
1967
			this->RadioUninstallAfter->Text = L"Uninstall After";
1968
			this->RadioUninstallAfter->UseVisualStyleBackColor = true;
1969
			this->RadioUninstallAfter->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioUninstallAfter_CheckedChanged);
1970
			// 
1971
			// RadioUninstallBefore
1972
			// 
1973
			this->RadioUninstallBefore->AutoSize = true;
1974
			this->RadioUninstallBefore->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1975
			this->RadioUninstallBefore->Location = System::Drawing::Point(210, 0);
127 cycrow 1976
			this->RadioUninstallBefore->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1977
			this->RadioUninstallBefore->Name = L"RadioUninstallBefore";
126 cycrow 1978
			this->RadioUninstallBefore->Size = System::Drawing::Size(129, 33);
1 cycrow 1979
			this->RadioUninstallBefore->TabIndex = 2;
1980
			this->RadioUninstallBefore->TabStop = true;
1981
			this->RadioUninstallBefore->Text = L"Uninstall Before";
1982
			this->RadioUninstallBefore->UseVisualStyleBackColor = true;
1983
			this->RadioUninstallBefore->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioUninstallBefore_CheckedChanged);
1984
			// 
1985
			// RadioInstallAfter
1986
			// 
1987
			this->RadioInstallAfter->AutoSize = true;
1988
			this->RadioInstallAfter->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 1989
			this->RadioInstallAfter->Location = System::Drawing::Point(111, 0);
127 cycrow 1990
			this->RadioInstallAfter->Margin = System::Windows::Forms::Padding(4);
1 cycrow 1991
			this->RadioInstallAfter->Name = L"RadioInstallAfter";
126 cycrow 1992
			this->RadioInstallAfter->Size = System::Drawing::Size(99, 33);
1 cycrow 1993
			this->RadioInstallAfter->TabIndex = 1;
1994
			this->RadioInstallAfter->TabStop = true;
1995
			this->RadioInstallAfter->Text = L"Install After";
1996
			this->RadioInstallAfter->UseVisualStyleBackColor = true;
1997
			this->RadioInstallAfter->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioInstallAfter_CheckedChanged);
1998
			// 
1999
			// RadioInstallBefore
2000
			// 
2001
			this->RadioInstallBefore->AutoSize = true;
2002
			this->RadioInstallBefore->Dock = System::Windows::Forms::DockStyle::Left;
2003
			this->RadioInstallBefore->Location = System::Drawing::Point(0, 0);
127 cycrow 2004
			this->RadioInstallBefore->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2005
			this->RadioInstallBefore->Name = L"RadioInstallBefore";
126 cycrow 2006
			this->RadioInstallBefore->Size = System::Drawing::Size(111, 33);
1 cycrow 2007
			this->RadioInstallBefore->TabIndex = 0;
2008
			this->RadioInstallBefore->TabStop = true;
2009
			this->RadioInstallBefore->Text = L"Install Before";
2010
			this->RadioInstallBefore->UseVisualStyleBackColor = true;
2011
			this->RadioInstallBefore->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioInstallBefore_CheckedChanged);
2012
			// 
2013
			// groupBox6
2014
			// 
2015
			this->groupBox6->Controls->Add(this->panel17);
2016
			this->groupBox6->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 2017
			this->groupBox6->Location = System::Drawing::Point(280, 4);
127 cycrow 2018
			this->groupBox6->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2019
			this->groupBox6->Name = L"groupBox6";
127 cycrow 2020
			this->groupBox6->Padding = System::Windows::Forms::Padding(4);
2021
			this->groupBox6->Size = System::Drawing::Size(715, 78);
1 cycrow 2022
			this->groupBox6->TabIndex = 3;
2023
			this->groupBox6->TabStop = false;
2024
			this->groupBox6->Text = L"Ratings";
2025
			// 
2026
			// panel17
2027
			// 
2028
			this->panel17->Controls->Add(this->GroupChange);
2029
			this->panel17->Controls->Add(this->GroupRec);
2030
			this->panel17->Controls->Add(this->GroupEase);
2031
			this->panel17->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 2032
			this->panel17->Location = System::Drawing::Point(4, 19);
127 cycrow 2033
			this->panel17->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2034
			this->panel17->Name = L"panel17";
127 cycrow 2035
			this->panel17->Size = System::Drawing::Size(707, 55);
1 cycrow 2036
			this->panel17->TabIndex = 4;
2037
			// 
2038
			// GroupChange
2039
			// 
2040
			this->GroupChange->Controls->Add(this->PicChange5);
2041
			this->GroupChange->Controls->Add(this->PicChange4);
2042
			this->GroupChange->Controls->Add(this->PicChange3);
2043
			this->GroupChange->Controls->Add(this->PicChange2);
2044
			this->GroupChange->Controls->Add(this->PicChange1);
2045
			this->GroupChange->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2046
			this->GroupChange->Location = System::Drawing::Point(335, 0);
127 cycrow 2047
			this->GroupChange->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2048
			this->GroupChange->Name = L"GroupChange";
127 cycrow 2049
			this->GroupChange->Padding = System::Windows::Forms::Padding(4);
126 cycrow 2050
			this->GroupChange->Size = System::Drawing::Size(168, 55);
1 cycrow 2051
			this->GroupChange->TabIndex = 2;
2052
			this->GroupChange->TabStop = false;
2053
			this->GroupChange->Text = L"Game Changing";
2054
			// 
2055
			// PicChange4
2056
			// 
2057
			this->PicChange4->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2058
			this->PicChange4->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicChange4.Image")));
2059
			this->PicChange4->Location = System::Drawing::Point(100, 19);
127 cycrow 2060
			this->PicChange4->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2061
			this->PicChange4->Name = L"PicChange4";
126 cycrow 2062
			this->PicChange4->Size = System::Drawing::Size(32, 32);
1 cycrow 2063
			this->PicChange4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2064
			this->PicChange4->TabIndex = 17;
2065
			this->PicChange4->TabStop = false;
2066
			this->PicChange4->Click += gcnew System::EventHandler(this, &PackageForm::PicChange4_Click);
2067
			// 
2068
			// PicChange3
2069
			// 
2070
			this->PicChange3->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2071
			this->PicChange3->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicChange3.Image")));
2072
			this->PicChange3->Location = System::Drawing::Point(68, 19);
127 cycrow 2073
			this->PicChange3->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2074
			this->PicChange3->Name = L"PicChange3";
126 cycrow 2075
			this->PicChange3->Size = System::Drawing::Size(32, 32);
1 cycrow 2076
			this->PicChange3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2077
			this->PicChange3->TabIndex = 16;
2078
			this->PicChange3->TabStop = false;
2079
			this->PicChange3->Click += gcnew System::EventHandler(this, &PackageForm::PicChange3_Click);
2080
			// 
2081
			// PicChange2
2082
			// 
2083
			this->PicChange2->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2084
			this->PicChange2->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicChange2.Image")));
2085
			this->PicChange2->Location = System::Drawing::Point(36, 19);
127 cycrow 2086
			this->PicChange2->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2087
			this->PicChange2->Name = L"PicChange2";
126 cycrow 2088
			this->PicChange2->Size = System::Drawing::Size(32, 32);
1 cycrow 2089
			this->PicChange2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2090
			this->PicChange2->TabIndex = 15;
2091
			this->PicChange2->TabStop = false;
2092
			this->PicChange2->Click += gcnew System::EventHandler(this, &PackageForm::PicChange2_Click);
2093
			// 
2094
			// GroupRec
2095
			// 
2096
			this->GroupRec->Controls->Add(this->PicRec5);
2097
			this->GroupRec->Controls->Add(this->PicRec4);
2098
			this->GroupRec->Controls->Add(this->PicRec3);
2099
			this->GroupRec->Controls->Add(this->PicRec2);
2100
			this->GroupRec->Controls->Add(this->PicRec1);
2101
			this->GroupRec->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2102
			this->GroupRec->Location = System::Drawing::Point(168, 0);
127 cycrow 2103
			this->GroupRec->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2104
			this->GroupRec->Name = L"GroupRec";
127 cycrow 2105
			this->GroupRec->Padding = System::Windows::Forms::Padding(4);
126 cycrow 2106
			this->GroupRec->Size = System::Drawing::Size(167, 55);
1 cycrow 2107
			this->GroupRec->TabIndex = 3;
2108
			this->GroupRec->TabStop = false;
2109
			this->GroupRec->Text = L"Recommended";
2110
			// 
2111
			// PicRec4
2112
			// 
2113
			this->PicRec4->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2114
			this->PicRec4->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicRec4.Image")));
2115
			this->PicRec4->Location = System::Drawing::Point(100, 19);
127 cycrow 2116
			this->PicRec4->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2117
			this->PicRec4->Name = L"PicRec4";
126 cycrow 2118
			this->PicRec4->Size = System::Drawing::Size(32, 32);
1 cycrow 2119
			this->PicRec4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2120
			this->PicRec4->TabIndex = 17;
2121
			this->PicRec4->TabStop = false;
2122
			this->PicRec4->Click += gcnew System::EventHandler(this, &PackageForm::PicRec4_Click);
2123
			// 
2124
			// PicRec3
2125
			// 
2126
			this->PicRec3->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2127
			this->PicRec3->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicRec3.Image")));
2128
			this->PicRec3->Location = System::Drawing::Point(68, 19);
127 cycrow 2129
			this->PicRec3->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2130
			this->PicRec3->Name = L"PicRec3";
126 cycrow 2131
			this->PicRec3->Size = System::Drawing::Size(32, 32);
1 cycrow 2132
			this->PicRec3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2133
			this->PicRec3->TabIndex = 16;
2134
			this->PicRec3->TabStop = false;
2135
			this->PicRec3->Click += gcnew System::EventHandler(this, &PackageForm::PicRec3_Click);
2136
			// 
2137
			// PicRec2
2138
			// 
2139
			this->PicRec2->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2140
			this->PicRec2->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicRec2.Image")));
2141
			this->PicRec2->Location = System::Drawing::Point(36, 19);
127 cycrow 2142
			this->PicRec2->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2143
			this->PicRec2->Name = L"PicRec2";
126 cycrow 2144
			this->PicRec2->Size = System::Drawing::Size(32, 32);
1 cycrow 2145
			this->PicRec2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2146
			this->PicRec2->TabIndex = 15;
2147
			this->PicRec2->TabStop = false;
2148
			this->PicRec2->Click += gcnew System::EventHandler(this, &PackageForm::PicRec2_Click);
2149
			// 
2150
			// PicRec1
2151
			// 
2152
			this->PicRec1->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2153
			this->PicRec1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicRec1.Image")));
2154
			this->PicRec1->Location = System::Drawing::Point(4, 19);
127 cycrow 2155
			this->PicRec1->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2156
			this->PicRec1->Name = L"PicRec1";
126 cycrow 2157
			this->PicRec1->Size = System::Drawing::Size(32, 32);
1 cycrow 2158
			this->PicRec1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2159
			this->PicRec1->TabIndex = 14;
2160
			this->PicRec1->TabStop = false;
2161
			this->PicRec1->Click += gcnew System::EventHandler(this, &PackageForm::PicRec1_Click);
2162
			// 
2163
			// GroupEase
2164
			// 
2165
			this->GroupEase->Controls->Add(this->PicEase5);
2166
			this->GroupEase->Controls->Add(this->PicEase4);
2167
			this->GroupEase->Controls->Add(this->PicEase3);
2168
			this->GroupEase->Controls->Add(this->PicEase2);
2169
			this->GroupEase->Controls->Add(this->PicEase1);
2170
			this->GroupEase->Dock = System::Windows::Forms::DockStyle::Left;
2171
			this->GroupEase->Location = System::Drawing::Point(0, 0);
127 cycrow 2172
			this->GroupEase->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2173
			this->GroupEase->Name = L"GroupEase";
127 cycrow 2174
			this->GroupEase->Padding = System::Windows::Forms::Padding(4);
126 cycrow 2175
			this->GroupEase->Size = System::Drawing::Size(168, 55);
1 cycrow 2176
			this->GroupEase->TabIndex = 1;
2177
			this->GroupEase->TabStop = false;
2178
			this->GroupEase->Text = L"Ease of Use";
2179
			// 
2180
			// PicEase5
2181
			// 
2182
			this->PicEase5->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2183
			this->PicEase5->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicEase5.Image")));
2184
			this->PicEase5->Location = System::Drawing::Point(132, 19);
127 cycrow 2185
			this->PicEase5->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2186
			this->PicEase5->Name = L"PicEase5";
126 cycrow 2187
			this->PicEase5->Size = System::Drawing::Size(32, 32);
1 cycrow 2188
			this->PicEase5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2189
			this->PicEase5->TabIndex = 17;
2190
			this->PicEase5->TabStop = false;
2191
			this->PicEase5->Click += gcnew System::EventHandler(this, &PackageForm::PicEase5_Click);
2192
			// 
2193
			// PicEase4
2194
			// 
2195
			this->PicEase4->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2196
			this->PicEase4->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicEase4.Image")));
2197
			this->PicEase4->Location = System::Drawing::Point(100, 19);
127 cycrow 2198
			this->PicEase4->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2199
			this->PicEase4->Name = L"PicEase4";
126 cycrow 2200
			this->PicEase4->Size = System::Drawing::Size(32, 32);
1 cycrow 2201
			this->PicEase4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2202
			this->PicEase4->TabIndex = 16;
2203
			this->PicEase4->TabStop = false;
2204
			this->PicEase4->Click += gcnew System::EventHandler(this, &PackageForm::PicEase4_Click);
2205
			// 
2206
			// PicEase3
2207
			// 
2208
			this->PicEase3->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2209
			this->PicEase3->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicEase3.Image")));
2210
			this->PicEase3->Location = System::Drawing::Point(68, 19);
127 cycrow 2211
			this->PicEase3->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2212
			this->PicEase3->Name = L"PicEase3";
126 cycrow 2213
			this->PicEase3->Size = System::Drawing::Size(32, 32);
1 cycrow 2214
			this->PicEase3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2215
			this->PicEase3->TabIndex = 15;
2216
			this->PicEase3->TabStop = false;
2217
			this->PicEase3->Click += gcnew System::EventHandler(this, &PackageForm::PicEase3_Click);
2218
			// 
2219
			// PicEase2
2220
			// 
2221
			this->PicEase2->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2222
			this->PicEase2->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicEase2.Image")));
2223
			this->PicEase2->Location = System::Drawing::Point(36, 19);
127 cycrow 2224
			this->PicEase2->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2225
			this->PicEase2->Name = L"PicEase2";
126 cycrow 2226
			this->PicEase2->Size = System::Drawing::Size(32, 32);
1 cycrow 2227
			this->PicEase2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2228
			this->PicEase2->TabIndex = 14;
2229
			this->PicEase2->TabStop = false;
2230
			this->PicEase2->Click += gcnew System::EventHandler(this, &PackageForm::PicEase2_Click);
2231
			// 
2232
			// PicEase1
2233
			// 
2234
			this->PicEase1->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2235
			this->PicEase1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicEase1.Image")));
2236
			this->PicEase1->Location = System::Drawing::Point(4, 19);
127 cycrow 2237
			this->PicEase1->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2238
			this->PicEase1->Name = L"PicEase1";
126 cycrow 2239
			this->PicEase1->Size = System::Drawing::Size(32, 32);
1 cycrow 2240
			this->PicEase1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2241
			this->PicEase1->TabIndex = 13;
2242
			this->PicEase1->TabStop = false;
2243
			this->PicEase1->Click += gcnew System::EventHandler(this, &PackageForm::PicEase1_Click);
2244
			// 
2245
			// groupBox5
2246
			// 
2247
			this->groupBox5->Controls->Add(this->ButIconDel);
2248
			this->groupBox5->Controls->Add(this->DisplayIcon);
2249
			this->groupBox5->Controls->Add(this->button4);
2250
			this->groupBox5->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2251
			this->groupBox5->Location = System::Drawing::Point(204, 4);
127 cycrow 2252
			this->groupBox5->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2253
			this->groupBox5->Name = L"groupBox5";
127 cycrow 2254
			this->groupBox5->Padding = System::Windows::Forms::Padding(4);
2255
			this->groupBox5->Size = System::Drawing::Size(76, 261);
1 cycrow 2256
			this->groupBox5->TabIndex = 2;
2257
			this->groupBox5->TabStop = false;
2258
			this->groupBox5->Text = L"Icon";
2259
			// 
2260
			// ButIconDel
2261
			// 
2262
			this->ButIconDel->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 2263
			this->ButIconDel->Location = System::Drawing::Point(4, 104);
127 cycrow 2264
			this->ButIconDel->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2265
			this->ButIconDel->Name = L"ButIconDel";
126 cycrow 2266
			this->ButIconDel->Size = System::Drawing::Size(68, 28);
1 cycrow 2267
			this->ButIconDel->TabIndex = 1;
2268
			this->ButIconDel->Text = L"Del";
2269
			this->ButIconDel->UseVisualStyleBackColor = true;
2270
			this->ButIconDel->Click += gcnew System::EventHandler(this, &PackageForm::ButIconDel_Click);
2271
			// 
2272
			// DisplayIcon
2273
			// 
2274
			this->DisplayIcon->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 2275
			this->DisplayIcon->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"DisplayIcon.Image")));
2276
			this->DisplayIcon->Location = System::Drawing::Point(4, 47);
127 cycrow 2277
			this->DisplayIcon->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2278
			this->DisplayIcon->Name = L"DisplayIcon";
126 cycrow 2279
			this->DisplayIcon->Size = System::Drawing::Size(68, 57);
1 cycrow 2280
			this->DisplayIcon->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2281
			this->DisplayIcon->TabIndex = 0;
2282
			this->DisplayIcon->TabStop = false;
2283
			// 
2284
			// button4
2285
			// 
2286
			this->button4->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 2287
			this->button4->Location = System::Drawing::Point(4, 19);
127 cycrow 2288
			this->button4->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2289
			this->button4->Name = L"button4";
126 cycrow 2290
			this->button4->Size = System::Drawing::Size(68, 28);
1 cycrow 2291
			this->button4->TabIndex = 2;
2292
			this->button4->Text = L"Set";
2293
			this->button4->UseVisualStyleBackColor = true;
2294
			this->button4->Click += gcnew System::EventHandler(this, &PackageForm::button4_Click);
2295
			// 
2296
			// panel15
2297
			// 
2298
			this->panel15->Controls->Add(this->DisplayPicture);
2299
			this->panel15->Controls->Add(this->panel16);
2300
			this->panel15->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2301
			this->panel15->Location = System::Drawing::Point(4, 4);
127 cycrow 2302
			this->panel15->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2303
			this->panel15->Name = L"panel15";
127 cycrow 2304
			this->panel15->Size = System::Drawing::Size(200, 261);
1 cycrow 2305
			this->panel15->TabIndex = 1;
2306
			// 
2307
			// DisplayPicture
2308
			// 
2309
			this->DisplayPicture->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 2310
			this->DisplayPicture->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"DisplayPicture.Image")));
1 cycrow 2311
			this->DisplayPicture->Location = System::Drawing::Point(0, 0);
127 cycrow 2312
			this->DisplayPicture->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2313
			this->DisplayPicture->Name = L"DisplayPicture";
127 cycrow 2314
			this->DisplayPicture->Size = System::Drawing::Size(200, 225);
1 cycrow 2315
			this->DisplayPicture->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
2316
			this->DisplayPicture->TabIndex = 0;
2317
			this->DisplayPicture->TabStop = false;
2318
			// 
2319
			// panel16
2320
			// 
2321
			this->panel16->Controls->Add(this->ButPicAdd);
2322
			this->panel16->Controls->Add(this->ButPicDel);
2323
			this->panel16->Controls->Add(this->ButPicNext);
2324
			this->panel16->Controls->Add(this->ButPicBack);
2325
			this->panel16->Dock = System::Windows::Forms::DockStyle::Bottom;
127 cycrow 2326
			this->panel16->Location = System::Drawing::Point(0, 225);
2327
			this->panel16->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2328
			this->panel16->Name = L"panel16";
126 cycrow 2329
			this->panel16->Size = System::Drawing::Size(200, 36);
1 cycrow 2330
			this->panel16->TabIndex = 2;
2331
			// 
2332
			// ButPicAdd
2333
			// 
2334
			this->ButPicAdd->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 2335
			this->ButPicAdd->Location = System::Drawing::Point(43, 0);
127 cycrow 2336
			this->ButPicAdd->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2337
			this->ButPicAdd->Name = L"ButPicAdd";
126 cycrow 2338
			this->ButPicAdd->Size = System::Drawing::Size(65, 36);
1 cycrow 2339
			this->ButPicAdd->TabIndex = 4;
2340
			this->ButPicAdd->Text = L"Add";
2341
			this->ButPicAdd->UseVisualStyleBackColor = true;
2342
			this->ButPicAdd->Click += gcnew System::EventHandler(this, &PackageForm::ButPicAdd_Click);
2343
			// 
2344
			// ButPicDel
2345
			// 
2346
			this->ButPicDel->Dock = System::Windows::Forms::DockStyle::Right;
2347
			this->ButPicDel->Enabled = false;
126 cycrow 2348
			this->ButPicDel->Location = System::Drawing::Point(108, 0);
127 cycrow 2349
			this->ButPicDel->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2350
			this->ButPicDel->Name = L"ButPicDel";
126 cycrow 2351
			this->ButPicDel->Size = System::Drawing::Size(53, 36);
1 cycrow 2352
			this->ButPicDel->TabIndex = 3;
2353
			this->ButPicDel->Text = L"Del";
2354
			this->ButPicDel->UseVisualStyleBackColor = true;
2355
			this->ButPicDel->Click += gcnew System::EventHandler(this, &PackageForm::ButPicDel_Click);
2356
			// 
2357
			// ButPicNext
2358
			// 
2359
			this->ButPicNext->Dock = System::Windows::Forms::DockStyle::Right;
2360
			this->ButPicNext->Enabled = false;
126 cycrow 2361
			this->ButPicNext->Location = System::Drawing::Point(161, 0);
127 cycrow 2362
			this->ButPicNext->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2363
			this->ButPicNext->Name = L"ButPicNext";
126 cycrow 2364
			this->ButPicNext->Size = System::Drawing::Size(39, 36);
1 cycrow 2365
			this->ButPicNext->TabIndex = 2;
2366
			this->ButPicNext->Text = L"->";
2367
			this->ButPicNext->UseVisualStyleBackColor = true;
2368
			this->ButPicNext->Click += gcnew System::EventHandler(this, &PackageForm::ButPicNext_Click);
2369
			// 
2370
			// ButPicBack
2371
			// 
2372
			this->ButPicBack->Dock = System::Windows::Forms::DockStyle::Left;
2373
			this->ButPicBack->Enabled = false;
2374
			this->ButPicBack->Location = System::Drawing::Point(0, 0);
127 cycrow 2375
			this->ButPicBack->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2376
			this->ButPicBack->Name = L"ButPicBack";
126 cycrow 2377
			this->ButPicBack->Size = System::Drawing::Size(43, 36);
1 cycrow 2378
			this->ButPicBack->TabIndex = 1;
2379
			this->ButPicBack->Text = L"<-";
2380
			this->ButPicBack->UseVisualStyleBackColor = true;
2381
			this->ButPicBack->Click += gcnew System::EventHandler(this, &PackageForm::ButPicBack_Click);
2382
			// 
2383
			// tabPage2
2384
			// 
2385
			this->tabPage2->Controls->Add(this->ListNames);
2386
			this->tabPage2->Controls->Add(this->groupBox4);
127 cycrow 2387
			this->tabPage2->Location = System::Drawing::Point(4, 25);
2388
			this->tabPage2->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2389
			this->tabPage2->Name = L"tabPage2";
127 cycrow 2390
			this->tabPage2->Padding = System::Windows::Forms::Padding(4);
2391
			this->tabPage2->Size = System::Drawing::Size(999, 269);
1 cycrow 2392
			this->tabPage2->TabIndex = 3;
2393
			this->tabPage2->Text = L"Advanced";
2394
			this->tabPage2->UseVisualStyleBackColor = true;
2395
			// 
2396
			// ListNames
2397
			// 
126 cycrow 2398
			this->ListNames->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(2) { this->columnHeader7, this->columnHeader8 });
1 cycrow 2399
			this->ListNames->ContextMenuStrip = this->ContextLangName;
2400
			this->ListNames->Dock = System::Windows::Forms::DockStyle::Fill;
2401
			this->ListNames->FullRowSelect = true;
126 cycrow 2402
			this->ListNames->HideSelection = false;
2403
			this->ListNames->Location = System::Drawing::Point(4, 149);
127 cycrow 2404
			this->ListNames->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2405
			this->ListNames->Name = L"ListNames";
127 cycrow 2406
			this->ListNames->Size = System::Drawing::Size(991, 116);
1 cycrow 2407
			this->ListNames->TabIndex = 1;
2408
			this->ListNames->UseCompatibleStateImageBehavior = false;
2409
			this->ListNames->View = System::Windows::Forms::View::Details;
2410
			this->ListNames->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListNames_MouseDoubleClick);
2411
			// 
2412
			// columnHeader7
2413
			// 
2414
			this->columnHeader7->Text = L"Language";
2415
			this->columnHeader7->Width = 80;
2416
			// 
2417
			// columnHeader8
2418
			// 
2419
			this->columnHeader8->Text = L"Package Name";
2420
			this->columnHeader8->Width = 300;
2421
			// 
2422
			// ContextLangName
2423
			// 
126 cycrow 2424
			this->ContextLangName->ImageScalingSize = System::Drawing::Size(20, 20);
2425
			this->ContextLangName->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(6) {
2426
				this->addToolStripMenuItem,
2427
					this->toolStripSeparator2, this->ContextEditName, this->ContextRemoveName, this->ContextNameSep, this->clearAllToolStripMenuItem1
2428
			});
1 cycrow 2429
			this->ContextLangName->Name = L"ContextLangName";
126 cycrow 2430
			this->ContextLangName->Size = System::Drawing::Size(225, 168);
1 cycrow 2431
			this->ContextLangName->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextLangName_Opening);
2432
			// 
2433
			// addToolStripMenuItem
2434
			// 
126 cycrow 2435
			this->addToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addToolStripMenuItem.Image")));
1 cycrow 2436
			this->addToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2437
			this->addToolStripMenuItem->Name = L"addToolStripMenuItem";
126 cycrow 2438
			this->addToolStripMenuItem->Size = System::Drawing::Size(224, 38);
1 cycrow 2439
			this->addToolStripMenuItem->Text = L"Add Package Name";
2440
			this->addToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addToolStripMenuItem_Click);
2441
			// 
2442
			// toolStripSeparator2
2443
			// 
2444
			this->toolStripSeparator2->Name = L"toolStripSeparator2";
126 cycrow 2445
			this->toolStripSeparator2->Size = System::Drawing::Size(221, 6);
1 cycrow 2446
			// 
2447
			// ContextEditName
2448
			// 
126 cycrow 2449
			this->ContextEditName->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextEditName.Image")));
1 cycrow 2450
			this->ContextEditName->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2451
			this->ContextEditName->Name = L"ContextEditName";
126 cycrow 2452
			this->ContextEditName->Size = System::Drawing::Size(224, 38);
1 cycrow 2453
			this->ContextEditName->Text = L"Edit Name";
2454
			this->ContextEditName->Click += gcnew System::EventHandler(this, &PackageForm::ContextEditName_Click);
2455
			// 
2456
			// ContextRemoveName
2457
			// 
126 cycrow 2458
			this->ContextRemoveName->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextRemoveName.Image")));
1 cycrow 2459
			this->ContextRemoveName->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2460
			this->ContextRemoveName->Name = L"ContextRemoveName";
126 cycrow 2461
			this->ContextRemoveName->Size = System::Drawing::Size(224, 38);
1 cycrow 2462
			this->ContextRemoveName->Text = L"Remove Selected";
2463
			this->ContextRemoveName->Click += gcnew System::EventHandler(this, &PackageForm::ContextRemoveName_Click);
2464
			// 
2465
			// ContextNameSep
2466
			// 
2467
			this->ContextNameSep->Name = L"ContextNameSep";
126 cycrow 2468
			this->ContextNameSep->Size = System::Drawing::Size(221, 6);
1 cycrow 2469
			// 
2470
			// clearAllToolStripMenuItem1
2471
			// 
126 cycrow 2472
			this->clearAllToolStripMenuItem1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"clearAllToolStripMenuItem1.Image")));
1 cycrow 2473
			this->clearAllToolStripMenuItem1->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2474
			this->clearAllToolStripMenuItem1->Name = L"clearAllToolStripMenuItem1";
126 cycrow 2475
			this->clearAllToolStripMenuItem1->Size = System::Drawing::Size(224, 38);
1 cycrow 2476
			this->clearAllToolStripMenuItem1->Text = L"Clear All";
2477
			this->clearAllToolStripMenuItem1->Click += gcnew System::EventHandler(this, &PackageForm::clearAllToolStripMenuItem1_Click);
2478
			// 
2479
			// groupBox4
2480
			// 
2481
			this->groupBox4->Controls->Add(this->ListMirrors);
2482
			this->groupBox4->Controls->Add(this->panel14);
2483
			this->groupBox4->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 2484
			this->groupBox4->Location = System::Drawing::Point(4, 4);
127 cycrow 2485
			this->groupBox4->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2486
			this->groupBox4->Name = L"groupBox4";
127 cycrow 2487
			this->groupBox4->Padding = System::Windows::Forms::Padding(4);
2488
			this->groupBox4->Size = System::Drawing::Size(991, 145);
1 cycrow 2489
			this->groupBox4->TabIndex = 0;
2490
			this->groupBox4->TabStop = false;
2491
			this->groupBox4->Text = L"Automatic Update";
2492
			// 
2493
			// ListMirrors
2494
			// 
126 cycrow 2495
			this->ListMirrors->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(1) { this->columnHeader6 });
1 cycrow 2496
			this->ListMirrors->ContextMenuStrip = this->ContextMirror;
2497
			this->ListMirrors->Dock = System::Windows::Forms::DockStyle::Fill;
2498
			this->ListMirrors->FullRowSelect = true;
2499
			this->ListMirrors->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
126 cycrow 2500
			this->ListMirrors->HideSelection = false;
1 cycrow 2501
			this->ListMirrors->LabelWrap = false;
126 cycrow 2502
			this->ListMirrors->Location = System::Drawing::Point(4, 49);
127 cycrow 2503
			this->ListMirrors->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2504
			this->ListMirrors->MultiSelect = false;
2505
			this->ListMirrors->Name = L"ListMirrors";
2506
			this->ListMirrors->ShowGroups = false;
127 cycrow 2507
			this->ListMirrors->Size = System::Drawing::Size(983, 92);
1 cycrow 2508
			this->ListMirrors->Sorting = System::Windows::Forms::SortOrder::Ascending;
2509
			this->ListMirrors->TabIndex = 1;
2510
			this->ListMirrors->UseCompatibleStateImageBehavior = false;
2511
			this->ListMirrors->View = System::Windows::Forms::View::Details;
2512
			this->ListMirrors->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListMirrors_MouseDoubleClick);
2513
			// 
2514
			// columnHeader6
2515
			// 
2516
			this->columnHeader6->Text = L"Mirror Address";
2517
			this->columnHeader6->Width = 121;
2518
			// 
2519
			// ContextMirror
2520
			// 
126 cycrow 2521
			this->ContextMirror->ImageScalingSize = System::Drawing::Size(20, 20);
2522
			this->ContextMirror->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(4) {
2523
				this->addMirrorToolStripMenuItem,
2524
					this->toolStripSeparator1, this->ContextRemoveMirror, this->clearAllToolStripMenuItem
2525
			});
1 cycrow 2526
			this->ContextMirror->Name = L"ContextMirror";
126 cycrow 2527
			this->ContextMirror->Size = System::Drawing::Size(225, 124);
1 cycrow 2528
			this->ContextMirror->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextMirror_Opening);
2529
			// 
2530
			// addMirrorToolStripMenuItem
2531
			// 
126 cycrow 2532
			this->addMirrorToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addMirrorToolStripMenuItem.Image")));
1 cycrow 2533
			this->addMirrorToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2534
			this->addMirrorToolStripMenuItem->Name = L"addMirrorToolStripMenuItem";
126 cycrow 2535
			this->addMirrorToolStripMenuItem->Size = System::Drawing::Size(224, 38);
1 cycrow 2536
			this->addMirrorToolStripMenuItem->Text = L"Add Mirror Address";
2537
			this->addMirrorToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addMirrorToolStripMenuItem_Click);
2538
			// 
2539
			// toolStripSeparator1
2540
			// 
2541
			this->toolStripSeparator1->Name = L"toolStripSeparator1";
126 cycrow 2542
			this->toolStripSeparator1->Size = System::Drawing::Size(221, 6);
1 cycrow 2543
			// 
2544
			// ContextRemoveMirror
2545
			// 
126 cycrow 2546
			this->ContextRemoveMirror->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextRemoveMirror.Image")));
1 cycrow 2547
			this->ContextRemoveMirror->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2548
			this->ContextRemoveMirror->Name = L"ContextRemoveMirror";
126 cycrow 2549
			this->ContextRemoveMirror->Size = System::Drawing::Size(224, 38);
1 cycrow 2550
			this->ContextRemoveMirror->Text = L"Remove Selected";
2551
			this->ContextRemoveMirror->Click += gcnew System::EventHandler(this, &PackageForm::ContextRemoveMirror_Click);
2552
			// 
2553
			// clearAllToolStripMenuItem
2554
			// 
126 cycrow 2555
			this->clearAllToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"clearAllToolStripMenuItem.Image")));
1 cycrow 2556
			this->clearAllToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2557
			this->clearAllToolStripMenuItem->Name = L"clearAllToolStripMenuItem";
126 cycrow 2558
			this->clearAllToolStripMenuItem->Size = System::Drawing::Size(224, 38);
1 cycrow 2559
			this->clearAllToolStripMenuItem->Text = L"Clear All";
2560
			this->clearAllToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::clearAllToolStripMenuItem_Click);
2561
			// 
2562
			// panel14
2563
			// 
2564
			this->panel14->Controls->Add(this->TextWebAddress);
2565
			this->panel14->Controls->Add(this->label14);
2566
			this->panel14->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 2567
			this->panel14->Location = System::Drawing::Point(4, 19);
127 cycrow 2568
			this->panel14->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2569
			this->panel14->Name = L"panel14";
127 cycrow 2570
			this->panel14->Size = System::Drawing::Size(983, 30);
1 cycrow 2571
			this->panel14->TabIndex = 2;
2572
			// 
2573
			// TextWebAddress
2574
			// 
2575
			this->TextWebAddress->DetectUrls = false;
2576
			this->TextWebAddress->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 2577
			this->TextWebAddress->Location = System::Drawing::Point(189, 0);
127 cycrow 2578
			this->TextWebAddress->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2579
			this->TextWebAddress->Name = L"TextWebAddress";
127 cycrow 2580
			this->TextWebAddress->Size = System::Drawing::Size(794, 30);
1 cycrow 2581
			this->TextWebAddress->TabIndex = 1;
2582
			this->TextWebAddress->Text = L"";
2583
			this->TextWebAddress->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextWebAddress_TextChanged_1);
2584
			// 
2585
			// label14
2586
			// 
2587
			this->label14->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 2588
			this->label14->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 2589
				static_cast<System::Byte>(0)));
2590
			this->label14->Location = System::Drawing::Point(0, 0);
126 cycrow 2591
			this->label14->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 2592
			this->label14->Name = L"label14";
126 cycrow 2593
			this->label14->Size = System::Drawing::Size(189, 30);
1 cycrow 2594
			this->label14->TabIndex = 0;
2595
			this->label14->Text = L"Primary Address";
2596
			// 
2597
			// tabPage4
2598
			// 
2599
			this->tabPage4->Controls->Add(this->ListDep);
127 cycrow 2600
			this->tabPage4->Location = System::Drawing::Point(4, 25);
2601
			this->tabPage4->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2602
			this->tabPage4->Name = L"tabPage4";
126 cycrow 2603
			this->tabPage4->Padding = System::Windows::Forms::Padding(20, 18, 20, 18);
127 cycrow 2604
			this->tabPage4->Size = System::Drawing::Size(999, 269);
1 cycrow 2605
			this->tabPage4->TabIndex = 9;
2606
			this->tabPage4->Text = L"Dependacies";
2607
			this->tabPage4->UseVisualStyleBackColor = true;
2608
			// 
2609
			// ListDep
2610
			// 
126 cycrow 2611
			this->ListDep->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(3) {
2612
				this->columnHeader22, this->columnHeader23,
2613
					this->columnHeader24
2614
			});
1 cycrow 2615
			this->ListDep->ContextMenuStrip = this->ContextDep;
2616
			this->ListDep->Dock = System::Windows::Forms::DockStyle::Fill;
2617
			this->ListDep->FullRowSelect = true;
126 cycrow 2618
			this->ListDep->HideSelection = false;
2619
			this->ListDep->Location = System::Drawing::Point(20, 18);
127 cycrow 2620
			this->ListDep->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2621
			this->ListDep->MultiSelect = false;
2622
			this->ListDep->Name = L"ListDep";
127 cycrow 2623
			this->ListDep->Size = System::Drawing::Size(959, 233);
1 cycrow 2624
			this->ListDep->TabIndex = 0;
2625
			this->ListDep->UseCompatibleStateImageBehavior = false;
2626
			this->ListDep->View = System::Windows::Forms::View::Details;
2627
			this->ListDep->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListDep_MouseDoubleClick);
2628
			// 
2629
			// columnHeader22
2630
			// 
2631
			this->columnHeader22->Text = L"Package Name";
2632
			// 
2633
			// columnHeader23
2634
			// 
2635
			this->columnHeader23->Text = L"Author";
2636
			// 
2637
			// columnHeader24
2638
			// 
2639
			this->columnHeader24->Text = L"Minimum Version";
2640
			// 
2641
			// ContextDep
2642
			// 
126 cycrow 2643
			this->ContextDep->ImageScalingSize = System::Drawing::Size(20, 20);
2644
			this->ContextDep->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(6) {
2645
				this->addToolStripMenuItem1,
2646
					this->ContextDepSep1, this->editSelectedToolStripMenuItem, this->ContextDepRemove, this->ContextDepSep2, this->ContextDepClear
2647
			});
1 cycrow 2648
			this->ContextDep->Name = L"ContextDep";
126 cycrow 2649
			this->ContextDep->Size = System::Drawing::Size(210, 168);
1 cycrow 2650
			this->ContextDep->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextDep_Opening);
2651
			// 
2652
			// addToolStripMenuItem1
2653
			// 
126 cycrow 2654
			this->addToolStripMenuItem1->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {
2655
				this->manualToolStripMenuItem,
2656
					this->fromPackageToolStripMenuItem
2657
			});
2658
			this->addToolStripMenuItem1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addToolStripMenuItem1.Image")));
1 cycrow 2659
			this->addToolStripMenuItem1->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2660
			this->addToolStripMenuItem1->Name = L"addToolStripMenuItem1";
126 cycrow 2661
			this->addToolStripMenuItem1->Size = System::Drawing::Size(209, 38);
1 cycrow 2662
			this->addToolStripMenuItem1->Text = L"Add";
2663
			// 
2664
			// manualToolStripMenuItem
2665
			// 
126 cycrow 2666
			this->manualToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"manualToolStripMenuItem.Image")));
1 cycrow 2667
			this->manualToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2668
			this->manualToolStripMenuItem->Name = L"manualToolStripMenuItem";
126 cycrow 2669
			this->manualToolStripMenuItem->Size = System::Drawing::Size(188, 38);
1 cycrow 2670
			this->manualToolStripMenuItem->Text = L"Manual";
2671
			this->manualToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::manualToolStripMenuItem_Click);
2672
			// 
2673
			// fromPackageToolStripMenuItem
2674
			// 
126 cycrow 2675
			this->fromPackageToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"fromPackageToolStripMenuItem.Image")));
1 cycrow 2676
			this->fromPackageToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2677
			this->fromPackageToolStripMenuItem->Name = L"fromPackageToolStripMenuItem";
126 cycrow 2678
			this->fromPackageToolStripMenuItem->Size = System::Drawing::Size(188, 38);
1 cycrow 2679
			this->fromPackageToolStripMenuItem->Text = L"From Package";
2680
			this->fromPackageToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::fromPackageToolStripMenuItem_Click);
2681
			// 
2682
			// ContextDepSep1
2683
			// 
2684
			this->ContextDepSep1->Name = L"ContextDepSep1";
126 cycrow 2685
			this->ContextDepSep1->Size = System::Drawing::Size(206, 6);
1 cycrow 2686
			// 
2687
			// editSelectedToolStripMenuItem
2688
			// 
126 cycrow 2689
			this->editSelectedToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"editSelectedToolStripMenuItem.Image")));
1 cycrow 2690
			this->editSelectedToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2691
			this->editSelectedToolStripMenuItem->Name = L"editSelectedToolStripMenuItem";
126 cycrow 2692
			this->editSelectedToolStripMenuItem->Size = System::Drawing::Size(209, 38);
1 cycrow 2693
			this->editSelectedToolStripMenuItem->Text = L"Edit Selected";
2694
			this->editSelectedToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::editSelectedToolStripMenuItem_Click);
2695
			// 
2696
			// ContextDepRemove
2697
			// 
126 cycrow 2698
			this->ContextDepRemove->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextDepRemove.Image")));
1 cycrow 2699
			this->ContextDepRemove->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2700
			this->ContextDepRemove->Name = L"ContextDepRemove";
126 cycrow 2701
			this->ContextDepRemove->Size = System::Drawing::Size(209, 38);
1 cycrow 2702
			this->ContextDepRemove->Text = L"Remove Selected";
2703
			this->ContextDepRemove->Click += gcnew System::EventHandler(this, &PackageForm::ContextDepRemove_Click);
2704
			// 
2705
			// ContextDepSep2
2706
			// 
2707
			this->ContextDepSep2->Name = L"ContextDepSep2";
126 cycrow 2708
			this->ContextDepSep2->Size = System::Drawing::Size(206, 6);
1 cycrow 2709
			// 
2710
			// ContextDepClear
2711
			// 
126 cycrow 2712
			this->ContextDepClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextDepClear.Image")));
1 cycrow 2713
			this->ContextDepClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2714
			this->ContextDepClear->Name = L"ContextDepClear";
126 cycrow 2715
			this->ContextDepClear->Size = System::Drawing::Size(209, 38);
1 cycrow 2716
			this->ContextDepClear->Text = L"Clear All";
2717
			this->ContextDepClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextDepClear_Click);
2718
			// 
2719
			// PageWares
2720
			// 
2721
			this->PageWares->Controls->Add(this->splitContainer1);
127 cycrow 2722
			this->PageWares->Location = System::Drawing::Point(4, 25);
2723
			this->PageWares->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2724
			this->PageWares->Name = L"PageWares";
127 cycrow 2725
			this->PageWares->Padding = System::Windows::Forms::Padding(4);
2726
			this->PageWares->Size = System::Drawing::Size(999, 269);
1 cycrow 2727
			this->PageWares->TabIndex = 5;
2728
			this->PageWares->Text = L"Custom Wares";
2729
			this->PageWares->UseVisualStyleBackColor = true;
2730
			// 
2731
			// splitContainer1
2732
			// 
2733
			this->splitContainer1->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 2734
			this->splitContainer1->Location = System::Drawing::Point(4, 4);
127 cycrow 2735
			this->splitContainer1->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2736
			this->splitContainer1->Name = L"splitContainer1";
2737
			this->splitContainer1->Orientation = System::Windows::Forms::Orientation::Horizontal;
2738
			// 
2739
			// splitContainer1.Panel1
2740
			// 
2741
			this->splitContainer1->Panel1->Controls->Add(this->ListWares);
2742
			// 
2743
			// splitContainer1.Panel2
2744
			// 
2745
			this->splitContainer1->Panel2->Controls->Add(this->ListWareText);
127 cycrow 2746
			this->splitContainer1->Size = System::Drawing::Size(991, 261);
2747
			this->splitContainer1->SplitterDistance = 134;
126 cycrow 2748
			this->splitContainer1->SplitterWidth = 5;
1 cycrow 2749
			this->splitContainer1->TabIndex = 0;
2750
			// 
2751
			// ListWares
2752
			// 
126 cycrow 2753
			this->ListWares->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(7) {
2754
				this->columnHeader9, this->columnHeader10,
2755
					this->columnHeader11, this->columnHeader12, this->columnHeader13, this->columnHeader14, this->columnHeader18
2756
			});
1 cycrow 2757
			this->ListWares->ContextMenuStrip = this->ContextWare;
2758
			this->ListWares->Dock = System::Windows::Forms::DockStyle::Fill;
2759
			this->ListWares->FullRowSelect = true;
2760
			this->ListWares->HideSelection = false;
2761
			this->ListWares->Location = System::Drawing::Point(0, 0);
127 cycrow 2762
			this->ListWares->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2763
			this->ListWares->MultiSelect = false;
2764
			this->ListWares->Name = L"ListWares";
127 cycrow 2765
			this->ListWares->Size = System::Drawing::Size(991, 134);
1 cycrow 2766
			this->ListWares->TabIndex = 0;
2767
			this->ListWares->UseCompatibleStateImageBehavior = false;
2768
			this->ListWares->View = System::Windows::Forms::View::Details;
126 cycrow 2769
			this->ListWares->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ListWares_SelectedIndexChanged);
1 cycrow 2770
			this->ListWares->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListWares_MouseDoubleClick);
2771
			// 
2772
			// columnHeader9
2773
			// 
2774
			this->columnHeader9->Text = L"Ware ID";
2775
			// 
2776
			// columnHeader10
2777
			// 
2778
			this->columnHeader10->Text = L"Ware Type";
2779
			this->columnHeader10->Width = 77;
2780
			// 
2781
			// columnHeader11
2782
			// 
2783
			this->columnHeader11->Text = L"Price";
2784
			// 
2785
			// columnHeader12
2786
			// 
2787
			this->columnHeader12->Text = L"Size Class";
2788
			// 
2789
			// columnHeader13
2790
			// 
2791
			this->columnHeader13->Text = L"Volume";
2792
			// 
2793
			// columnHeader14
2794
			// 
2795
			this->columnHeader14->Text = L"Min. Noto";
2796
			// 
2797
			// columnHeader18
2798
			// 
2799
			this->columnHeader18->Text = L"Text ID";
2800
			// 
2801
			// ContextWare
2802
			// 
126 cycrow 2803
			this->ContextWare->ImageScalingSize = System::Drawing::Size(20, 20);
2804
			this->ContextWare->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(6) {
2805
				this->addWareToolStripMenuItem,
2806
					this->ContextWareSep1, this->ContextWareEdit, this->ContextWareRemove, this->ContextWareSep2, this->ContextWareClear
2807
			});
1 cycrow 2808
			this->ContextWare->Name = L"ContextWare";
126 cycrow 2809
			this->ContextWare->Size = System::Drawing::Size(187, 168);
1 cycrow 2810
			this->ContextWare->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextWare_Opening);
2811
			// 
2812
			// addWareToolStripMenuItem
2813
			// 
126 cycrow 2814
			this->addWareToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addWareToolStripMenuItem.Image")));
1 cycrow 2815
			this->addWareToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2816
			this->addWareToolStripMenuItem->Name = L"addWareToolStripMenuItem";
126 cycrow 2817
			this->addWareToolStripMenuItem->Size = System::Drawing::Size(186, 38);
1 cycrow 2818
			this->addWareToolStripMenuItem->Text = L"Add Ware";
2819
			this->addWareToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addWareToolStripMenuItem_Click);
2820
			// 
2821
			// ContextWareSep1
2822
			// 
2823
			this->ContextWareSep1->Name = L"ContextWareSep1";
126 cycrow 2824
			this->ContextWareSep1->Size = System::Drawing::Size(183, 6);
1 cycrow 2825
			// 
2826
			// ContextWareEdit
2827
			// 
126 cycrow 2828
			this->ContextWareEdit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWareEdit.Image")));
1 cycrow 2829
			this->ContextWareEdit->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2830
			this->ContextWareEdit->Name = L"ContextWareEdit";
126 cycrow 2831
			this->ContextWareEdit->Size = System::Drawing::Size(186, 38);
1 cycrow 2832
			this->ContextWareEdit->Text = L"Edit Ware";
2833
			this->ContextWareEdit->Click += gcnew System::EventHandler(this, &PackageForm::ContextWareEdit_Click);
2834
			// 
2835
			// ContextWareRemove
2836
			// 
126 cycrow 2837
			this->ContextWareRemove->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWareRemove.Image")));
1 cycrow 2838
			this->ContextWareRemove->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2839
			this->ContextWareRemove->Name = L"ContextWareRemove";
126 cycrow 2840
			this->ContextWareRemove->Size = System::Drawing::Size(186, 38);
1 cycrow 2841
			this->ContextWareRemove->Text = L"Remove Ware";
2842
			this->ContextWareRemove->Click += gcnew System::EventHandler(this, &PackageForm::ContextWareRemove_Click);
2843
			// 
2844
			// ContextWareSep2
2845
			// 
2846
			this->ContextWareSep2->Name = L"ContextWareSep2";
126 cycrow 2847
			this->ContextWareSep2->Size = System::Drawing::Size(183, 6);
1 cycrow 2848
			// 
2849
			// ContextWareClear
2850
			// 
126 cycrow 2851
			this->ContextWareClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWareClear.Image")));
1 cycrow 2852
			this->ContextWareClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2853
			this->ContextWareClear->Name = L"ContextWareClear";
126 cycrow 2854
			this->ContextWareClear->Size = System::Drawing::Size(186, 38);
1 cycrow 2855
			this->ContextWareClear->Text = L"Clear All";
2856
			this->ContextWareClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextWareClear_Click);
2857
			// 
2858
			// ListWareText
2859
			// 
126 cycrow 2860
			this->ListWareText->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(3) {
2861
				this->columnHeader15,
2862
					this->columnHeader16, this->columnHeader17
2863
			});
1 cycrow 2864
			this->ListWareText->ContextMenuStrip = this->ContextWareText;
2865
			this->ListWareText->Dock = System::Windows::Forms::DockStyle::Fill;
2866
			this->ListWareText->FullRowSelect = true;
126 cycrow 2867
			this->ListWareText->HideSelection = false;
1 cycrow 2868
			this->ListWareText->Location = System::Drawing::Point(0, 0);
127 cycrow 2869
			this->ListWareText->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2870
			this->ListWareText->MultiSelect = false;
2871
			this->ListWareText->Name = L"ListWareText";
127 cycrow 2872
			this->ListWareText->Size = System::Drawing::Size(991, 122);
1 cycrow 2873
			this->ListWareText->TabIndex = 0;
2874
			this->ListWareText->UseCompatibleStateImageBehavior = false;
2875
			this->ListWareText->View = System::Windows::Forms::View::Details;
2876
			this->ListWareText->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListWareText_MouseDoubleClick);
2877
			// 
2878
			// columnHeader15
2879
			// 
2880
			this->columnHeader15->Text = L"Lang ID";
2881
			// 
2882
			// columnHeader16
2883
			// 
2884
			this->columnHeader16->Text = L"Ware Name";
2885
			this->columnHeader16->Width = 88;
2886
			// 
2887
			// columnHeader17
2888
			// 
2889
			this->columnHeader17->Text = L"Ware Description";
2890
			this->columnHeader17->Width = 115;
2891
			// 
2892
			// ContextWareText
2893
			// 
126 cycrow 2894
			this->ContextWareText->ImageScalingSize = System::Drawing::Size(20, 20);
2895
			this->ContextWareText->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(6) {
2896
				this->addTextToolStripMenuItem,
2897
					this->ContextWTSep1, this->ContextWTRemove, this->ContextWTEdit, this->ContextWTSep2, this->ContextWTClear
2898
			});
1 cycrow 2899
			this->ContextWareText->Name = L"ContextWareText";
126 cycrow 2900
			this->ContextWareText->Size = System::Drawing::Size(180, 168);
1 cycrow 2901
			this->ContextWareText->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextWareText_Opening);
2902
			// 
2903
			// addTextToolStripMenuItem
2904
			// 
126 cycrow 2905
			this->addTextToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addTextToolStripMenuItem.Image")));
1 cycrow 2906
			this->addTextToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2907
			this->addTextToolStripMenuItem->Name = L"addTextToolStripMenuItem";
126 cycrow 2908
			this->addTextToolStripMenuItem->Size = System::Drawing::Size(179, 38);
1 cycrow 2909
			this->addTextToolStripMenuItem->Text = L"Add Text";
2910
			this->addTextToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addTextToolStripMenuItem_Click);
2911
			// 
2912
			// ContextWTSep1
2913
			// 
2914
			this->ContextWTSep1->Name = L"ContextWTSep1";
126 cycrow 2915
			this->ContextWTSep1->Size = System::Drawing::Size(176, 6);
1 cycrow 2916
			// 
2917
			// ContextWTRemove
2918
			// 
126 cycrow 2919
			this->ContextWTRemove->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWTRemove.Image")));
1 cycrow 2920
			this->ContextWTRemove->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2921
			this->ContextWTRemove->Name = L"ContextWTRemove";
126 cycrow 2922
			this->ContextWTRemove->Size = System::Drawing::Size(179, 38);
1 cycrow 2923
			this->ContextWTRemove->Text = L"Remove Text";
2924
			this->ContextWTRemove->Click += gcnew System::EventHandler(this, &PackageForm::ContextWTRemove_Click);
2925
			// 
2926
			// ContextWTEdit
2927
			// 
126 cycrow 2928
			this->ContextWTEdit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWTEdit.Image")));
1 cycrow 2929
			this->ContextWTEdit->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2930
			this->ContextWTEdit->Name = L"ContextWTEdit";
126 cycrow 2931
			this->ContextWTEdit->Size = System::Drawing::Size(179, 38);
1 cycrow 2932
			this->ContextWTEdit->Text = L"Edit Text";
2933
			this->ContextWTEdit->Click += gcnew System::EventHandler(this, &PackageForm::ContextWTEdit_Click);
2934
			// 
2935
			// ContextWTSep2
2936
			// 
2937
			this->ContextWTSep2->Name = L"ContextWTSep2";
126 cycrow 2938
			this->ContextWTSep2->Size = System::Drawing::Size(176, 6);
1 cycrow 2939
			// 
2940
			// ContextWTClear
2941
			// 
126 cycrow 2942
			this->ContextWTClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWTClear.Image")));
1 cycrow 2943
			this->ContextWTClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
2944
			this->ContextWTClear->Name = L"ContextWTClear";
126 cycrow 2945
			this->ContextWTClear->Size = System::Drawing::Size(179, 38);
1 cycrow 2946
			this->ContextWTClear->Text = L"Clear All";
2947
			this->ContextWTClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextWTClear_Click);
2948
			// 
2949
			// PageShip
2950
			// 
2951
			this->PageShip->Controls->Add(this->ListShipText);
2952
			this->PageShip->Controls->Add(this->PanelTextID);
2953
			this->PageShip->Controls->Add(this->flowLayoutPanel2);
127 cycrow 2954
			this->PageShip->Location = System::Drawing::Point(4, 25);
2955
			this->PageShip->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2956
			this->PageShip->Name = L"PageShip";
126 cycrow 2957
			this->PageShip->Padding = System::Windows::Forms::Padding(11, 10, 11, 10);
127 cycrow 2958
			this->PageShip->Size = System::Drawing::Size(999, 269);
1 cycrow 2959
			this->PageShip->TabIndex = 6;
2960
			this->PageShip->Text = L"Ship Settings";
2961
			this->PageShip->UseVisualStyleBackColor = true;
2962
			// 
2963
			// ListShipText
2964
			// 
126 cycrow 2965
			this->ListShipText->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(3) {
2966
				this->columnHeader19,
2967
					this->columnHeader20, this->columnHeader21
2968
			});
1 cycrow 2969
			this->ListShipText->ContextMenuStrip = this->ContextShipText;
2970
			this->ListShipText->Dock = System::Windows::Forms::DockStyle::Fill;
2971
			this->ListShipText->FullRowSelect = true;
2972
			this->ListShipText->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
126 cycrow 2973
			this->ListShipText->HideSelection = false;
2974
			this->ListShipText->Location = System::Drawing::Point(11, 137);
127 cycrow 2975
			this->ListShipText->Margin = System::Windows::Forms::Padding(4);
1 cycrow 2976
			this->ListShipText->Name = L"ListShipText";
127 cycrow 2977
			this->ListShipText->Size = System::Drawing::Size(977, 122);
1 cycrow 2978
			this->ListShipText->TabIndex = 8;
2979
			this->ListShipText->UseCompatibleStateImageBehavior = false;
2980
			this->ListShipText->View = System::Windows::Forms::View::Details;
2981
			this->ListShipText->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListShipText_MouseDoubleClick);
2982
			// 
2983
			// columnHeader19
2984
			// 
2985
			this->columnHeader19->Text = L"Language";
2986
			// 
2987
			// columnHeader20
2988
			// 
2989
			this->columnHeader20->Text = L"Ship Name";
2990
			// 
2991
			// columnHeader21
2992
			// 
2993
			this->columnHeader21->Text = L"Ship Description";
2994
			// 
2995
			// ContextShipText
2996
			// 
126 cycrow 2997
			this->ContextShipText->ImageScalingSize = System::Drawing::Size(20, 20);
2998
			this->ContextShipText->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(7) {
2999
				this->importTextToolStripMenuItem,
3000
					this->addLanguageToolStripMenuItem, this->ContextShipTextSep1, this->ContextShipTextEdit, this->ContextShipTextRemove, this->ContextShipTextSep2,
3001
					this->ContextShipTextClear
3002
			});
1 cycrow 3003
			this->ContextShipText->Name = L"ContextShipText";
126 cycrow 3004
			this->ContextShipText->Size = System::Drawing::Size(192, 206);
1 cycrow 3005
			this->ContextShipText->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextShipText_Opening);
3006
			// 
3007
			// importTextToolStripMenuItem
3008
			// 
126 cycrow 3009
			this->importTextToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {
3010
				this->fromFileToolStripMenuItem,
3011
					this->fromDirectoryToolStripMenuItem, this->fromModToolStripMenuItem
3012
			});
3013
			this->importTextToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"importTextToolStripMenuItem.Image")));
1 cycrow 3014
			this->importTextToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3015
			this->importTextToolStripMenuItem->Name = L"importTextToolStripMenuItem";
126 cycrow 3016
			this->importTextToolStripMenuItem->Size = System::Drawing::Size(191, 38);
1 cycrow 3017
			this->importTextToolStripMenuItem->Text = L"Import Text";
3018
			// 
3019
			// fromFileToolStripMenuItem
3020
			// 
126 cycrow 3021
			this->fromFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"fromFileToolStripMenuItem.Image")));
1 cycrow 3022
			this->fromFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3023
			this->fromFileToolStripMenuItem->Name = L"fromFileToolStripMenuItem";
126 cycrow 3024
			this->fromFileToolStripMenuItem->Size = System::Drawing::Size(195, 38);
1 cycrow 3025
			this->fromFileToolStripMenuItem->Text = L"From File";
3026
			this->fromFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::fromFileToolStripMenuItem_Click);
3027
			// 
3028
			// fromDirectoryToolStripMenuItem
3029
			// 
126 cycrow 3030
			this->fromDirectoryToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"fromDirectoryToolStripMenuItem.Image")));
1 cycrow 3031
			this->fromDirectoryToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3032
			this->fromDirectoryToolStripMenuItem->Name = L"fromDirectoryToolStripMenuItem";
126 cycrow 3033
			this->fromDirectoryToolStripMenuItem->Size = System::Drawing::Size(195, 38);
1 cycrow 3034
			this->fromDirectoryToolStripMenuItem->Text = L"From Directory";
3035
			this->fromDirectoryToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::fromDirectoryToolStripMenuItem_Click);
3036
			// 
3037
			// fromModToolStripMenuItem
3038
			// 
126 cycrow 3039
			this->fromModToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"fromModToolStripMenuItem.Image")));
1 cycrow 3040
			this->fromModToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3041
			this->fromModToolStripMenuItem->Name = L"fromModToolStripMenuItem";
126 cycrow 3042
			this->fromModToolStripMenuItem->Size = System::Drawing::Size(195, 38);
1 cycrow 3043
			this->fromModToolStripMenuItem->Text = L"From Mod";
3044
			this->fromModToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::fromModToolStripMenuItem_Click);
3045
			// 
3046
			// addLanguageToolStripMenuItem
3047
			// 
126 cycrow 3048
			this->addLanguageToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addLanguageToolStripMenuItem.Image")));
1 cycrow 3049
			this->addLanguageToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3050
			this->addLanguageToolStripMenuItem->Name = L"addLanguageToolStripMenuItem";
126 cycrow 3051
			this->addLanguageToolStripMenuItem->Size = System::Drawing::Size(191, 38);
1 cycrow 3052
			this->addLanguageToolStripMenuItem->Text = L"Add Language";
3053
			this->addLanguageToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addLanguageToolStripMenuItem_Click);
3054
			// 
3055
			// ContextShipTextSep1
3056
			// 
3057
			this->ContextShipTextSep1->Name = L"ContextShipTextSep1";
126 cycrow 3058
			this->ContextShipTextSep1->Size = System::Drawing::Size(188, 6);
1 cycrow 3059
			// 
3060
			// ContextShipTextEdit
3061
			// 
126 cycrow 3062
			this->ContextShipTextEdit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipTextEdit.Image")));
1 cycrow 3063
			this->ContextShipTextEdit->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3064
			this->ContextShipTextEdit->Name = L"ContextShipTextEdit";
126 cycrow 3065
			this->ContextShipTextEdit->Size = System::Drawing::Size(191, 38);
1 cycrow 3066
			this->ContextShipTextEdit->Text = L"Edit";
3067
			this->ContextShipTextEdit->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipTextEdit_Click);
3068
			// 
3069
			// ContextShipTextRemove
3070
			// 
126 cycrow 3071
			this->ContextShipTextRemove->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipTextRemove.Image")));
1 cycrow 3072
			this->ContextShipTextRemove->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3073
			this->ContextShipTextRemove->Name = L"ContextShipTextRemove";
126 cycrow 3074
			this->ContextShipTextRemove->Size = System::Drawing::Size(191, 38);
1 cycrow 3075
			this->ContextShipTextRemove->Text = L"Remove";
3076
			this->ContextShipTextRemove->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipTextRemove_Click);
3077
			// 
3078
			// ContextShipTextSep2
3079
			// 
3080
			this->ContextShipTextSep2->Name = L"ContextShipTextSep2";
126 cycrow 3081
			this->ContextShipTextSep2->Size = System::Drawing::Size(188, 6);
1 cycrow 3082
			// 
3083
			// ContextShipTextClear
3084
			// 
126 cycrow 3085
			this->ContextShipTextClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipTextClear.Image")));
1 cycrow 3086
			this->ContextShipTextClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3087
			this->ContextShipTextClear->Name = L"ContextShipTextClear";
126 cycrow 3088
			this->ContextShipTextClear->Size = System::Drawing::Size(191, 38);
1 cycrow 3089
			this->ContextShipTextClear->Text = L"Clear All";
3090
			this->ContextShipTextClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipTextClear_Click);
3091
			// 
3092
			// PanelTextID
3093
			// 
3094
			this->PanelTextID->Controls->Add(this->NumTextID);
3095
			this->PanelTextID->Controls->Add(this->CheckExistingText);
3096
			this->PanelTextID->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 3097
			this->PanelTextID->Location = System::Drawing::Point(11, 112);
127 cycrow 3098
			this->PanelTextID->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3099
			this->PanelTextID->Name = L"PanelTextID";
127 cycrow 3100
			this->PanelTextID->Size = System::Drawing::Size(977, 25);
1 cycrow 3101
			this->PanelTextID->TabIndex = 9;
3102
			// 
3103
			// NumTextID
3104
			// 
3105
			this->NumTextID->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 3106
			this->NumTextID->Location = System::Drawing::Point(155, 0);
127 cycrow 3107
			this->NumTextID->Margin = System::Windows::Forms::Padding(4);
126 cycrow 3108
			this->NumTextID->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) { 90000000, 0, 0, 0 });
3109
			this->NumTextID->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) { 1, 0, 0, 0 });
1 cycrow 3110
			this->NumTextID->Name = L"NumTextID";
126 cycrow 3111
			this->NumTextID->Size = System::Drawing::Size(137, 22);
1 cycrow 3112
			this->NumTextID->TabIndex = 1;
126 cycrow 3113
			this->NumTextID->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) { 1, 0, 0, 0 });
1 cycrow 3114
			this->NumTextID->ValueChanged += gcnew System::EventHandler(this, &PackageForm::NumTextID_ValueChanged);
3115
			this->NumTextID->Leave += gcnew System::EventHandler(this, &PackageForm::NumTextID_Leave);
3116
			// 
3117
			// CheckExistingText
3118
			// 
3119
			this->CheckExistingText->AutoSize = true;
3120
			this->CheckExistingText->Dock = System::Windows::Forms::DockStyle::Left;
3121
			this->CheckExistingText->Location = System::Drawing::Point(0, 0);
127 cycrow 3122
			this->CheckExistingText->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3123
			this->CheckExistingText->Name = L"CheckExistingText";
126 cycrow 3124
			this->CheckExistingText->Size = System::Drawing::Size(155, 25);
1 cycrow 3125
			this->CheckExistingText->TabIndex = 3;
3126
			this->CheckExistingText->Text = L"Use Existing Text ID";
3127
			this->CheckExistingText->UseVisualStyleBackColor = true;
3128
			this->CheckExistingText->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckExistingText_CheckedChanged);
3129
			// 
3130
			// flowLayoutPanel2
3131
			// 
3132
			this->flowLayoutPanel2->AutoSize = true;
3133
			this->flowLayoutPanel2->Controls->Add(this->label16);
3134
			this->flowLayoutPanel2->Controls->Add(this->CheckSYArgon);
3135
			this->flowLayoutPanel2->Controls->Add(this->CheckSYBoron);
3136
			this->flowLayoutPanel2->Controls->Add(this->CheckSYParanid);
3137
			this->flowLayoutPanel2->Controls->Add(this->CheckSYTeladi);
3138
			this->flowLayoutPanel2->Controls->Add(this->CheckSYSplit);
3139
			this->flowLayoutPanel2->Controls->Add(this->CheckSYPirate);
3140
			this->flowLayoutPanel2->Controls->Add(this->CheckSYFriend);
3141
			this->flowLayoutPanel2->Controls->Add(this->CheckSYXenon);
3142
			this->flowLayoutPanel2->Controls->Add(this->CheckSYTerran);
3143
			this->flowLayoutPanel2->Controls->Add(this->CheckSYATF);
3144
			this->flowLayoutPanel2->Controls->Add(this->CheckSYYaki);
3145
			this->flowLayoutPanel2->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 3146
			this->flowLayoutPanel2->Location = System::Drawing::Point(11, 10);
127 cycrow 3147
			this->flowLayoutPanel2->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3148
			this->flowLayoutPanel2->Name = L"flowLayoutPanel2";
127 cycrow 3149
			this->flowLayoutPanel2->Size = System::Drawing::Size(977, 102);
1 cycrow 3150
			this->flowLayoutPanel2->TabIndex = 7;
3151
			// 
3152
			// label16
3153
			// 
126 cycrow 3154
			this->label16->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 3155
				static_cast<System::Byte>(0)));
126 cycrow 3156
			this->label16->Location = System::Drawing::Point(4, 0);
3157
			this->label16->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 3158
			this->label16->Name = L"label16";
126 cycrow 3159
			this->label16->Size = System::Drawing::Size(120, 47);
1 cycrow 3160
			this->label16->TabIndex = 11;
3161
			this->label16->Text = L"Add To Shipyards:";
3162
			this->label16->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
3163
			// 
3164
			// CheckSYArgon
3165
			// 
126 cycrow 3166
			this->CheckSYArgon->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
1 cycrow 3167
				static_cast<System::Byte>(0)));
126 cycrow 3168
			this->CheckSYArgon->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYArgon.Image")));
1 cycrow 3169
			this->CheckSYArgon->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3170
			this->CheckSYArgon->Location = System::Drawing::Point(132, 4);
127 cycrow 3171
			this->CheckSYArgon->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3172
			this->CheckSYArgon->Name = L"CheckSYArgon";
126 cycrow 3173
			this->CheckSYArgon->Size = System::Drawing::Size(120, 43);
1 cycrow 3174
			this->CheckSYArgon->TabIndex = 0;
3175
			this->CheckSYArgon->Text = L"Argon";
3176
			this->CheckSYArgon->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3177
			this->CheckSYArgon->UseVisualStyleBackColor = true;
3178
			this->CheckSYArgon->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYArgon_CheckedChanged);
3179
			// 
3180
			// CheckSYBoron
3181
			// 
126 cycrow 3182
			this->CheckSYBoron->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYBoron.Image")));
1 cycrow 3183
			this->CheckSYBoron->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3184
			this->CheckSYBoron->Location = System::Drawing::Point(260, 4);
127 cycrow 3185
			this->CheckSYBoron->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3186
			this->CheckSYBoron->Name = L"CheckSYBoron";
126 cycrow 3187
			this->CheckSYBoron->Size = System::Drawing::Size(120, 43);
1 cycrow 3188
			this->CheckSYBoron->TabIndex = 1;
3189
			this->CheckSYBoron->Text = L"Boron";
3190
			this->CheckSYBoron->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3191
			this->CheckSYBoron->UseVisualStyleBackColor = true;
3192
			this->CheckSYBoron->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYBoron_CheckedChanged);
3193
			// 
3194
			// CheckSYParanid
3195
			// 
126 cycrow 3196
			this->CheckSYParanid->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYParanid.Image")));
1 cycrow 3197
			this->CheckSYParanid->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3198
			this->CheckSYParanid->Location = System::Drawing::Point(388, 4);
127 cycrow 3199
			this->CheckSYParanid->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3200
			this->CheckSYParanid->Name = L"CheckSYParanid";
126 cycrow 3201
			this->CheckSYParanid->Size = System::Drawing::Size(120, 43);
1 cycrow 3202
			this->CheckSYParanid->TabIndex = 2;
3203
			this->CheckSYParanid->Text = L"Paranid";
3204
			this->CheckSYParanid->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3205
			this->CheckSYParanid->UseVisualStyleBackColor = true;
3206
			this->CheckSYParanid->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYParanid_CheckedChanged);
3207
			// 
3208
			// CheckSYTeladi
3209
			// 
126 cycrow 3210
			this->CheckSYTeladi->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYTeladi.Image")));
1 cycrow 3211
			this->CheckSYTeladi->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3212
			this->CheckSYTeladi->Location = System::Drawing::Point(516, 4);
127 cycrow 3213
			this->CheckSYTeladi->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3214
			this->CheckSYTeladi->Name = L"CheckSYTeladi";
126 cycrow 3215
			this->CheckSYTeladi->Size = System::Drawing::Size(120, 43);
1 cycrow 3216
			this->CheckSYTeladi->TabIndex = 3;
3217
			this->CheckSYTeladi->Text = L"Teladi";
3218
			this->CheckSYTeladi->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3219
			this->CheckSYTeladi->UseVisualStyleBackColor = true;
3220
			this->CheckSYTeladi->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYTeladi_CheckedChanged);
3221
			// 
3222
			// CheckSYSplit
3223
			// 
126 cycrow 3224
			this->CheckSYSplit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYSplit.Image")));
1 cycrow 3225
			this->CheckSYSplit->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3226
			this->CheckSYSplit->Location = System::Drawing::Point(644, 4);
127 cycrow 3227
			this->CheckSYSplit->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3228
			this->CheckSYSplit->Name = L"CheckSYSplit";
126 cycrow 3229
			this->CheckSYSplit->Size = System::Drawing::Size(120, 43);
1 cycrow 3230
			this->CheckSYSplit->TabIndex = 4;
3231
			this->CheckSYSplit->Text = L"Split";
3232
			this->CheckSYSplit->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3233
			this->CheckSYSplit->UseVisualStyleBackColor = true;
3234
			this->CheckSYSplit->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYSplit_CheckedChanged);
3235
			// 
3236
			// CheckSYPirate
3237
			// 
126 cycrow 3238
			this->CheckSYPirate->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYPirate.Image")));
1 cycrow 3239
			this->CheckSYPirate->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3240
			this->CheckSYPirate->Location = System::Drawing::Point(772, 4);
127 cycrow 3241
			this->CheckSYPirate->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3242
			this->CheckSYPirate->Name = L"CheckSYPirate";
126 cycrow 3243
			this->CheckSYPirate->Size = System::Drawing::Size(120, 43);
1 cycrow 3244
			this->CheckSYPirate->TabIndex = 5;
3245
			this->CheckSYPirate->Text = L"Pirate";
3246
			this->CheckSYPirate->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3247
			this->CheckSYPirate->UseVisualStyleBackColor = true;
3248
			this->CheckSYPirate->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYPirate_CheckedChanged);
3249
			// 
3250
			// CheckSYFriend
3251
			// 
126 cycrow 3252
			this->CheckSYFriend->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYFriend.Image")));
1 cycrow 3253
			this->CheckSYFriend->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3254
			this->CheckSYFriend->Location = System::Drawing::Point(4, 55);
127 cycrow 3255
			this->CheckSYFriend->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3256
			this->CheckSYFriend->Name = L"CheckSYFriend";
126 cycrow 3257
			this->CheckSYFriend->Size = System::Drawing::Size(120, 43);
1 cycrow 3258
			this->CheckSYFriend->TabIndex = 6;
3259
			this->CheckSYFriend->Text = L"Friendly Race";
3260
			this->CheckSYFriend->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3261
			this->CheckSYFriend->UseVisualStyleBackColor = true;
3262
			this->CheckSYFriend->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYFriend_CheckedChanged);
3263
			// 
3264
			// CheckSYXenon
3265
			// 
126 cycrow 3266
			this->CheckSYXenon->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYXenon.Image")));
1 cycrow 3267
			this->CheckSYXenon->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3268
			this->CheckSYXenon->Location = System::Drawing::Point(132, 55);
127 cycrow 3269
			this->CheckSYXenon->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3270
			this->CheckSYXenon->Name = L"CheckSYXenon";
126 cycrow 3271
			this->CheckSYXenon->Size = System::Drawing::Size(120, 43);
1 cycrow 3272
			this->CheckSYXenon->TabIndex = 7;
3273
			this->CheckSYXenon->Text = L"Xenon";
3274
			this->CheckSYXenon->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3275
			this->CheckSYXenon->UseVisualStyleBackColor = true;
3276
			this->CheckSYXenon->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYXenon_CheckedChanged);
3277
			// 
3278
			// CheckSYTerran
3279
			// 
126 cycrow 3280
			this->CheckSYTerran->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYTerran.Image")));
1 cycrow 3281
			this->CheckSYTerran->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3282
			this->CheckSYTerran->Location = System::Drawing::Point(260, 55);
127 cycrow 3283
			this->CheckSYTerran->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3284
			this->CheckSYTerran->Name = L"CheckSYTerran";
126 cycrow 3285
			this->CheckSYTerran->Size = System::Drawing::Size(120, 43);
1 cycrow 3286
			this->CheckSYTerran->TabIndex = 8;
3287
			this->CheckSYTerran->Text = L"Terran";
3288
			this->CheckSYTerran->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3289
			this->CheckSYTerran->UseVisualStyleBackColor = true;
3290
			this->CheckSYTerran->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYTerran_CheckedChanged);
3291
			// 
3292
			// CheckSYATF
3293
			// 
126 cycrow 3294
			this->CheckSYATF->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYATF.Image")));
1 cycrow 3295
			this->CheckSYATF->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3296
			this->CheckSYATF->Location = System::Drawing::Point(388, 55);
127 cycrow 3297
			this->CheckSYATF->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3298
			this->CheckSYATF->Name = L"CheckSYATF";
126 cycrow 3299
			this->CheckSYATF->Size = System::Drawing::Size(120, 43);
1 cycrow 3300
			this->CheckSYATF->TabIndex = 9;
3301
			this->CheckSYATF->Text = L"ATF";
3302
			this->CheckSYATF->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3303
			this->CheckSYATF->UseVisualStyleBackColor = true;
3304
			this->CheckSYATF->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYATF_CheckedChanged);
3305
			// 
3306
			// CheckSYYaki
3307
			// 
126 cycrow 3308
			this->CheckSYYaki->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYYaki.Image")));
1 cycrow 3309
			this->CheckSYYaki->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3310
			this->CheckSYYaki->Location = System::Drawing::Point(516, 55);
127 cycrow 3311
			this->CheckSYYaki->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3312
			this->CheckSYYaki->Name = L"CheckSYYaki";
126 cycrow 3313
			this->CheckSYYaki->Size = System::Drawing::Size(120, 43);
1 cycrow 3314
			this->CheckSYYaki->TabIndex = 10;
3315
			this->CheckSYYaki->Text = L"Yaki";
3316
			this->CheckSYYaki->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3317
			this->CheckSYYaki->UseVisualStyleBackColor = true;
3318
			this->CheckSYYaki->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYYaki_CheckedChanged);
3319
			// 
3320
			// PageRaw
3321
			// 
3322
			this->PageRaw->Controls->Add(this->panel23);
3323
			this->PageRaw->Controls->Add(this->flowLayoutPanel3);
127 cycrow 3324
			this->PageRaw->Location = System::Drawing::Point(4, 25);
3325
			this->PageRaw->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3326
			this->PageRaw->Name = L"PageRaw";
127 cycrow 3327
			this->PageRaw->Padding = System::Windows::Forms::Padding(4);
3328
			this->PageRaw->Size = System::Drawing::Size(999, 269);
1 cycrow 3329
			this->PageRaw->TabIndex = 7;
3330
			this->PageRaw->Text = L"Ship Data";
3331
			this->PageRaw->UseVisualStyleBackColor = true;
3332
			// 
3333
			// panel23
3334
			// 
3335
			this->panel23->Controls->Add(this->TextShipData);
3336
			this->panel23->Controls->Add(this->panel24);
3337
			this->panel23->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 3338
			this->panel23->Location = System::Drawing::Point(4, 52);
127 cycrow 3339
			this->panel23->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3340
			this->panel23->Name = L"panel23";
126 cycrow 3341
			this->panel23->Padding = System::Windows::Forms::Padding(13, 12, 13, 12);
127 cycrow 3342
			this->panel23->Size = System::Drawing::Size(991, 213);
1 cycrow 3343
			this->panel23->TabIndex = 3;
3344
			// 
3345
			// TextShipData
3346
			// 
3347
			this->TextShipData->BackColor = System::Drawing::SystemColors::Control;
3348
			this->TextShipData->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 3349
			this->TextShipData->Location = System::Drawing::Point(13, 42);
127 cycrow 3350
			this->TextShipData->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3351
			this->TextShipData->Name = L"TextShipData";
3352
			this->TextShipData->ReadOnly = true;
127 cycrow 3353
			this->TextShipData->Size = System::Drawing::Size(965, 159);
1 cycrow 3354
			this->TextShipData->TabIndex = 0;
3355
			this->TextShipData->Text = L"";
3356
			this->TextShipData->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextShipData_TextChanged);
3357
			// 
3358
			// panel24
3359
			// 
3360
			this->panel24->Controls->Add(this->label17);
3361
			this->panel24->Controls->Add(this->checkBox1);
3362
			this->panel24->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 3363
			this->panel24->Location = System::Drawing::Point(13, 12);
127 cycrow 3364
			this->panel24->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3365
			this->panel24->Name = L"panel24";
127 cycrow 3366
			this->panel24->Size = System::Drawing::Size(965, 30);
1 cycrow 3367
			this->panel24->TabIndex = 2;
3368
			// 
3369
			// label17
3370
			// 
3371
			this->label17->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 3372
			this->label17->Location = System::Drawing::Point(129, 0);
3373
			this->label17->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 3374
			this->label17->Name = L"label17";
127 cycrow 3375
			this->label17->Size = System::Drawing::Size(836, 30);
1 cycrow 3376
			this->label17->TabIndex = 2;
3377
			this->label17->Text = L"(Warning: Making changes could break the ship if you dont know what your doing)";
3378
			this->label17->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
3379
			// 
3380
			// checkBox1
3381
			// 
3382
			this->checkBox1->AutoSize = true;
3383
			this->checkBox1->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 3384
			this->checkBox1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 3385
				static_cast<System::Byte>(0)));
3386
			this->checkBox1->Location = System::Drawing::Point(0, 0);
127 cycrow 3387
			this->checkBox1->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3388
			this->checkBox1->Name = L"checkBox1";
126 cycrow 3389
			this->checkBox1->Size = System::Drawing::Size(129, 30);
1 cycrow 3390
			this->checkBox1->TabIndex = 1;
3391
			this->checkBox1->Text = L"Allow Edit";
3392
			this->checkBox1->UseVisualStyleBackColor = true;
3393
			this->checkBox1->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::checkBox1_CheckedChanged);
3394
			// 
3395
			// flowLayoutPanel3
3396
			// 
3397
			this->flowLayoutPanel3->Controls->Add(this->button3);
3398
			this->flowLayoutPanel3->Controls->Add(this->button5);
3399
			this->flowLayoutPanel3->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 3400
			this->flowLayoutPanel3->Location = System::Drawing::Point(4, 4);
127 cycrow 3401
			this->flowLayoutPanel3->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3402
			this->flowLayoutPanel3->Name = L"flowLayoutPanel3";
127 cycrow 3403
			this->flowLayoutPanel3->Size = System::Drawing::Size(991, 48);
1 cycrow 3404
			this->flowLayoutPanel3->TabIndex = 4;
3405
			// 
3406
			// button3
3407
			// 
3408
			this->button3->AutoSize = true;
3409
			this->button3->AutoSizeMode = System::Windows::Forms::AutoSizeMode::GrowAndShrink;
126 cycrow 3410
			this->button3->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"button3.Image")));
1 cycrow 3411
			this->button3->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
126 cycrow 3412
			this->button3->Location = System::Drawing::Point(4, 4);
127 cycrow 3413
			this->button3->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3414
			this->button3->Name = L"button3";
126 cycrow 3415
			this->button3->Size = System::Drawing::Size(138, 28);
1 cycrow 3416
			this->button3->TabIndex = 2;
3417
			this->button3->Text = L"Load Ship Data";
3418
			this->button3->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3419
			this->button3->UseVisualStyleBackColor = true;
3420
			this->button3->Click += gcnew System::EventHandler(this, &PackageForm::button3_Click);
3421
			// 
3422
			// button5
3423
			// 
3424
			this->button5->AutoSize = true;
3425
			this->button5->AutoSizeMode = System::Windows::Forms::AutoSizeMode::GrowAndShrink;
126 cycrow 3426
			this->button5->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"button5.Image")));
3427
			this->button5->Location = System::Drawing::Point(150, 4);
127 cycrow 3428
			this->button5->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3429
			this->button5->Name = L"button5";
126 cycrow 3430
			this->button5->Size = System::Drawing::Size(137, 28);
1 cycrow 3431
			this->button5->TabIndex = 3;
3432
			this->button5->Text = L"Customise Ship";
3433
			this->button5->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
3434
			this->button5->UseVisualStyleBackColor = true;
3435
			this->button5->Click += gcnew System::EventHandler(this, &PackageForm::button5_Click);
3436
			// 
3437
			// PageShipComp
3438
			// 
3439
			this->PageShipComp->Controls->Add(this->panel26);
3440
			this->PageShipComp->Controls->Add(this->panel25);
127 cycrow 3441
			this->PageShipComp->Location = System::Drawing::Point(4, 25);
3442
			this->PageShipComp->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3443
			this->PageShipComp->Name = L"PageShipComp";
127 cycrow 3444
			this->PageShipComp->Padding = System::Windows::Forms::Padding(4);
3445
			this->PageShipComp->Size = System::Drawing::Size(999, 269);
1 cycrow 3446
			this->PageShipComp->TabIndex = 8;
3447
			this->PageShipComp->Text = L"Ship Parts";
3448
			this->PageShipComp->UseVisualStyleBackColor = true;
3449
			// 
3450
			// panel26
3451
			// 
3452
			this->panel26->Controls->Add(this->ListShipPart);
3453
			this->panel26->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 3454
			this->panel26->Location = System::Drawing::Point(4, 43);
127 cycrow 3455
			this->panel26->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3456
			this->panel26->Name = L"panel26";
126 cycrow 3457
			this->panel26->Padding = System::Windows::Forms::Padding(13, 12, 13, 12);
127 cycrow 3458
			this->panel26->Size = System::Drawing::Size(991, 222);
1 cycrow 3459
			this->panel26->TabIndex = 4;
3460
			// 
3461
			// ListShipPart
3462
			// 
126 cycrow 3463
			this->ListShipPart->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(3) {
3464
				this->ColumnPart1, this->ColumnPart2,
3465
					this->ColumnPart3
3466
			});
1 cycrow 3467
			this->ListShipPart->ContextMenuStrip = this->ContextShipPart;
3468
			this->ListShipPart->Dock = System::Windows::Forms::DockStyle::Fill;
3469
			this->ListShipPart->FullRowSelect = true;
126 cycrow 3470
			this->ListShipPart->HideSelection = false;
3471
			this->ListShipPart->Location = System::Drawing::Point(13, 12);
127 cycrow 3472
			this->ListShipPart->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3473
			this->ListShipPart->Name = L"ListShipPart";
127 cycrow 3474
			this->ListShipPart->Size = System::Drawing::Size(965, 198);
1 cycrow 3475
			this->ListShipPart->TabIndex = 3;
3476
			this->ListShipPart->UseCompatibleStateImageBehavior = false;
3477
			this->ListShipPart->View = System::Windows::Forms::View::Details;
3478
			this->ListShipPart->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListShipPart_MouseDoubleClick);
3479
			// 
3480
			// ContextShipPart
3481
			// 
126 cycrow 3482
			this->ContextShipPart->ImageScalingSize = System::Drawing::Size(20, 20);
3483
			this->ContextShipPart->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(7) {
3484
				this->importToolStripMenuItem,
3485
					this->ContextShipPartAdd, this->ContextShipPartSep1, this->ContextShipPartRemove, this->ContextShipPartEdit, this->ContextShipPartSep2,
3486
					this->ContextShipPartClear
3487
			});
1 cycrow 3488
			this->ContextShipPart->Name = L"ContextShipPart";
126 cycrow 3489
			this->ContextShipPart->Size = System::Drawing::Size(210, 206);
1 cycrow 3490
			this->ContextShipPart->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextShipPart_Opening);
3491
			// 
3492
			// importToolStripMenuItem
3493
			// 
126 cycrow 3494
			this->importToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"importToolStripMenuItem.Image")));
1 cycrow 3495
			this->importToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3496
			this->importToolStripMenuItem->Name = L"importToolStripMenuItem";
126 cycrow 3497
			this->importToolStripMenuItem->Size = System::Drawing::Size(209, 38);
1 cycrow 3498
			this->importToolStripMenuItem->Text = L"Import";
3499
			this->importToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::importToolStripMenuItem_Click);
3500
			// 
3501
			// ContextShipPartAdd
3502
			// 
126 cycrow 3503
			this->ContextShipPartAdd->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipPartAdd.Image")));
1 cycrow 3504
			this->ContextShipPartAdd->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3505
			this->ContextShipPartAdd->Name = L"ContextShipPartAdd";
126 cycrow 3506
			this->ContextShipPartAdd->Size = System::Drawing::Size(209, 38);
1 cycrow 3507
			this->ContextShipPartAdd->Text = L"Add";
3508
			this->ContextShipPartAdd->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipPartAdd_Click);
3509
			// 
3510
			// ContextShipPartSep1
3511
			// 
3512
			this->ContextShipPartSep1->Name = L"ContextShipPartSep1";
126 cycrow 3513
			this->ContextShipPartSep1->Size = System::Drawing::Size(206, 6);
1 cycrow 3514
			// 
3515
			// ContextShipPartRemove
3516
			// 
126 cycrow 3517
			this->ContextShipPartRemove->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipPartRemove.Image")));
1 cycrow 3518
			this->ContextShipPartRemove->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3519
			this->ContextShipPartRemove->Name = L"ContextShipPartRemove";
126 cycrow 3520
			this->ContextShipPartRemove->Size = System::Drawing::Size(209, 38);
1 cycrow 3521
			this->ContextShipPartRemove->Text = L"Remove Selected";
3522
			this->ContextShipPartRemove->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipPartRemove_Click);
3523
			// 
3524
			// ContextShipPartEdit
3525
			// 
126 cycrow 3526
			this->ContextShipPartEdit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipPartEdit.Image")));
1 cycrow 3527
			this->ContextShipPartEdit->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3528
			this->ContextShipPartEdit->Name = L"ContextShipPartEdit";
126 cycrow 3529
			this->ContextShipPartEdit->Size = System::Drawing::Size(209, 38);
1 cycrow 3530
			this->ContextShipPartEdit->Text = L"Edit Selected";
3531
			this->ContextShipPartEdit->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipPartEdit_Click);
3532
			// 
3533
			// ContextShipPartSep2
3534
			// 
3535
			this->ContextShipPartSep2->Name = L"ContextShipPartSep2";
126 cycrow 3536
			this->ContextShipPartSep2->Size = System::Drawing::Size(206, 6);
1 cycrow 3537
			// 
3538
			// ContextShipPartClear
3539
			// 
126 cycrow 3540
			this->ContextShipPartClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipPartClear.Image")));
1 cycrow 3541
			this->ContextShipPartClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
3542
			this->ContextShipPartClear->Name = L"ContextShipPartClear";
126 cycrow 3543
			this->ContextShipPartClear->Size = System::Drawing::Size(209, 38);
1 cycrow 3544
			this->ContextShipPartClear->Text = L"Clear All";
3545
			this->ContextShipPartClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipPartClear_Click);
3546
			// 
3547
			// panel25
3548
			// 
3549
			this->panel25->Controls->Add(this->ComboShipPart);
3550
			this->panel25->Controls->Add(this->label18);
3551
			this->panel25->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 3552
			this->panel25->Location = System::Drawing::Point(4, 4);
127 cycrow 3553
			this->panel25->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3554
			this->panel25->Name = L"panel25";
126 cycrow 3555
			this->panel25->Padding = System::Windows::Forms::Padding(7, 6, 7, 6);
127 cycrow 3556
			this->panel25->Size = System::Drawing::Size(991, 39);
1 cycrow 3557
			this->panel25->TabIndex = 2;
3558
			// 
3559
			// ComboShipPart
3560
			// 
3561
			this->ComboShipPart->Dock = System::Windows::Forms::DockStyle::Fill;
3562
			this->ComboShipPart->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
3563
			this->ComboShipPart->FormattingEnabled = true;
126 cycrow 3564
			this->ComboShipPart->Items->AddRange(gcnew cli::array< System::Object^  >(6) {
3565
				L"Componants", L"Dummies", L"Cockpits", L"CutData",
3566
					L"Bodies", L"Animations"
3567
			});
3568
			this->ComboShipPart->Location = System::Drawing::Point(140, 6);
127 cycrow 3569
			this->ComboShipPart->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3570
			this->ComboShipPart->Name = L"ComboShipPart";
127 cycrow 3571
			this->ComboShipPart->Size = System::Drawing::Size(844, 24);
1 cycrow 3572
			this->ComboShipPart->TabIndex = 0;
3573
			this->ComboShipPart->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboShipPart_SelectedIndexChanged);
3574
			// 
3575
			// label18
3576
			// 
3577
			this->label18->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 3578
			this->label18->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 3579
				static_cast<System::Byte>(0)));
126 cycrow 3580
			this->label18->Location = System::Drawing::Point(7, 6);
3581
			this->label18->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 3582
			this->label18->Name = L"label18";
126 cycrow 3583
			this->label18->Size = System::Drawing::Size(133, 27);
1 cycrow 3584
			this->label18->TabIndex = 1;
3585
			this->label18->Text = L"Part Type";
3586
			this->label18->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
3587
			// 
3588
			// CheckShipID
3589
			// 
3590
			this->CheckShipID->AutoSize = true;
3591
			this->CheckShipID->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 3592
			this->CheckShipID->Location = System::Drawing::Point(209, 0);
127 cycrow 3593
			this->CheckShipID->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3594
			this->CheckShipID->Name = L"CheckShipID";
126 cycrow 3595
			this->CheckShipID->Size = System::Drawing::Size(166, 25);
1 cycrow 3596
			this->CheckShipID->TabIndex = 2;
3597
			this->CheckShipID->Text = L"Replace Existing Ship";
3598
			this->CheckShipID->UseVisualStyleBackColor = true;
3599
			this->CheckShipID->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckShipID_CheckedChanged);
3600
			// 
3601
			// panel1
3602
			// 
3603
			this->panel1->Controls->Add(this->TextName);
3604
			this->panel1->Controls->Add(this->label1);
3605
			this->panel1->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 3606
			this->panel1->Location = System::Drawing::Point(7, 37);
127 cycrow 3607
			this->panel1->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3608
			this->panel1->Name = L"panel1";
126 cycrow 3609
			this->panel1->Size = System::Drawing::Size(1007, 21);
1 cycrow 3610
			this->panel1->TabIndex = 2;
3611
			// 
3612
			// TextName
3613
			// 
3614
			this->TextName->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 3615
			this->TextName->Location = System::Drawing::Point(209, 0);
127 cycrow 3616
			this->TextName->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3617
			this->TextName->Name = L"TextName";
126 cycrow 3618
			this->TextName->Size = System::Drawing::Size(798, 22);
1 cycrow 3619
			this->TextName->TabIndex = 1;
3620
			this->TextName->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextName_TextChanged);
3621
			// 
3622
			// label1
3623
			// 
3624
			this->label1->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 3625
			this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 3626
				static_cast<System::Byte>(0)));
3627
			this->label1->Location = System::Drawing::Point(0, 0);
126 cycrow 3628
			this->label1->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 3629
			this->label1->Name = L"label1";
126 cycrow 3630
			this->label1->Size = System::Drawing::Size(209, 21);
1 cycrow 3631
			this->label1->TabIndex = 0;
3632
			this->label1->Text = L"Package Name";
3633
			this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
3634
			// 
3635
			// panel2
3636
			// 
3637
			this->panel2->Controls->Add(this->TextAuthor);
3638
			this->panel2->Controls->Add(this->label2);
3639
			this->panel2->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 3640
			this->panel2->Location = System::Drawing::Point(7, 58);
127 cycrow 3641
			this->panel2->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3642
			this->panel2->Name = L"panel2";
126 cycrow 3643
			this->panel2->Size = System::Drawing::Size(1007, 25);
1 cycrow 3644
			this->panel2->TabIndex = 3;
3645
			// 
3646
			// TextAuthor
3647
			// 
3648
			this->TextAuthor->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 3649
			this->TextAuthor->Location = System::Drawing::Point(209, 0);
127 cycrow 3650
			this->TextAuthor->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3651
			this->TextAuthor->Name = L"TextAuthor";
126 cycrow 3652
			this->TextAuthor->Size = System::Drawing::Size(798, 22);
1 cycrow 3653
			this->TextAuthor->TabIndex = 1;
3654
			this->TextAuthor->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextAuthor_TextChanged);
3655
			// 
3656
			// label2
3657
			// 
3658
			this->label2->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 3659
			this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 3660
				static_cast<System::Byte>(0)));
3661
			this->label2->Location = System::Drawing::Point(0, 0);
126 cycrow 3662
			this->label2->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 3663
			this->label2->Name = L"label2";
126 cycrow 3664
			this->label2->Size = System::Drawing::Size(209, 25);
1 cycrow 3665
			this->label2->TabIndex = 0;
3666
			this->label2->Text = L"Author";
3667
			this->label2->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
3668
			// 
3669
			// panel3
3670
			// 
3671
			this->panel3->Controls->Add(this->TextVersion);
3672
			this->panel3->Controls->Add(this->label3);
3673
			this->panel3->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 3674
			this->panel3->Location = System::Drawing::Point(7, 83);
127 cycrow 3675
			this->panel3->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3676
			this->panel3->Name = L"panel3";
126 cycrow 3677
			this->panel3->Size = System::Drawing::Size(1007, 25);
1 cycrow 3678
			this->panel3->TabIndex = 4;
3679
			// 
3680
			// TextVersion
3681
			// 
3682
			this->TextVersion->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 3683
			this->TextVersion->Location = System::Drawing::Point(209, 0);
127 cycrow 3684
			this->TextVersion->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3685
			this->TextVersion->Name = L"TextVersion";
126 cycrow 3686
			this->TextVersion->Size = System::Drawing::Size(798, 22);
1 cycrow 3687
			this->TextVersion->TabIndex = 1;
3688
			this->TextVersion->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextVersion_TextChanged);
3689
			// 
3690
			// label3
3691
			// 
3692
			this->label3->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 3693
			this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 3694
				static_cast<System::Byte>(0)));
3695
			this->label3->Location = System::Drawing::Point(0, 0);
126 cycrow 3696
			this->label3->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 3697
			this->label3->Name = L"label3";
126 cycrow 3698
			this->label3->Size = System::Drawing::Size(209, 25);
1 cycrow 3699
			this->label3->TabIndex = 0;
3700
			this->label3->Text = L"Version";
3701
			this->label3->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
3702
			// 
3703
			// panel4
3704
			// 
3705
			this->panel4->Controls->Add(this->CreationDate);
3706
			this->panel4->Controls->Add(this->label4);
3707
			this->panel4->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 3708
			this->panel4->Location = System::Drawing::Point(7, 108);
127 cycrow 3709
			this->panel4->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3710
			this->panel4->Name = L"panel4";
126 cycrow 3711
			this->panel4->Size = System::Drawing::Size(1007, 25);
1 cycrow 3712
			this->panel4->TabIndex = 5;
3713
			// 
3714
			// CreationDate
3715
			// 
3716
			this->CreationDate->Checked = false;
3717
			this->CreationDate->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 3718
			this->CreationDate->Location = System::Drawing::Point(209, 0);
127 cycrow 3719
			this->CreationDate->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3720
			this->CreationDate->Name = L"CreationDate";
3721
			this->CreationDate->RightToLeft = System::Windows::Forms::RightToLeft::No;
126 cycrow 3722
			this->CreationDate->Size = System::Drawing::Size(798, 22);
1 cycrow 3723
			this->CreationDate->TabIndex = 2;
3724
			this->CreationDate->Value = System::DateTime(2009, 12, 8, 19, 52, 0, 0);
3725
			this->CreationDate->ValueChanged += gcnew System::EventHandler(this, &PackageForm::CreationDate_ValueChanged);
3726
			// 
3727
			// label4
3728
			// 
3729
			this->label4->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 3730
			this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 3731
				static_cast<System::Byte>(0)));
3732
			this->label4->Location = System::Drawing::Point(0, 0);
126 cycrow 3733
			this->label4->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 3734
			this->label4->Name = L"label4";
126 cycrow 3735
			this->label4->Size = System::Drawing::Size(209, 25);
1 cycrow 3736
			this->label4->TabIndex = 0;
3737
			this->label4->Text = L"Creation Date";
3738
			this->label4->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
3739
			// 
3740
			// label6
3741
			// 
3742
			this->label6->Dock = System::Windows::Forms::DockStyle::Left;
126 cycrow 3743
			this->label6->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
1 cycrow 3744
				static_cast<System::Byte>(0)));
3745
			this->label6->Location = System::Drawing::Point(0, 0);
126 cycrow 3746
			this->label6->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
1 cycrow 3747
			this->label6->Name = L"label6";
126 cycrow 3748
			this->label6->Size = System::Drawing::Size(209, 25);
1 cycrow 3749
			this->label6->TabIndex = 1;
3750
			this->label6->Text = L"Ship ID";
3751
			this->label6->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
3752
			// 
3753
			// PanelShip
3754
			// 
3755
			this->PanelShip->Controls->Add(this->TextShipID);
3756
			this->PanelShip->Controls->Add(this->CheckShipID);
3757
			this->PanelShip->Controls->Add(this->label6);
3758
			this->PanelShip->Dock = System::Windows::Forms::DockStyle::Top;
126 cycrow 3759
			this->PanelShip->Location = System::Drawing::Point(7, 133);
127 cycrow 3760
			this->PanelShip->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3761
			this->PanelShip->Name = L"PanelShip";
126 cycrow 3762
			this->PanelShip->Size = System::Drawing::Size(1007, 25);
1 cycrow 3763
			this->PanelShip->TabIndex = 6;
3764
			// 
3765
			// TextShipID
3766
			// 
3767
			this->TextShipID->Dock = System::Windows::Forms::DockStyle::Fill;
126 cycrow 3768
			this->TextShipID->Location = System::Drawing::Point(375, 0);
127 cycrow 3769
			this->TextShipID->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3770
			this->TextShipID->Name = L"TextShipID";
126 cycrow 3771
			this->TextShipID->Size = System::Drawing::Size(632, 22);
1 cycrow 3772
			this->TextShipID->TabIndex = 2;
3773
			this->TextShipID->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextShipID_TextChanged);
3774
			// 
3775
			// toolStrip1
3776
			// 
3777
			this->toolStrip1->GripStyle = System::Windows::Forms::ToolStripGripStyle::Hidden;
3778
			this->toolStrip1->ImageScalingSize = System::Drawing::Size(24, 24);
126 cycrow 3779
			this->toolStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(8) {
3780
				this->toolStripButton2,
3781
					this->toolStripButton3, this->toolStripButton5, this->toolStripSeparator3, this->toolStripButton1, this->toolStripButton4, this->toolStripSeparator4,
3782
					this->ToolCustomise
3783
			});
3784
			this->toolStrip1->Location = System::Drawing::Point(7, 6);
1 cycrow 3785
			this->toolStrip1->Name = L"toolStrip1";
126 cycrow 3786
			this->toolStrip1->Size = System::Drawing::Size(1007, 31);
1 cycrow 3787
			this->toolStrip1->Stretch = true;
3788
			this->toolStrip1->TabIndex = 7;
3789
			this->toolStrip1->Text = L"toolStrip1";
3790
			// 
3791
			// toolStripButton2
3792
			// 
126 cycrow 3793
			this->toolStripButton2->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripButton2.Image")));
1 cycrow 3794
			this->toolStripButton2->ImageTransparentColor = System::Drawing::Color::Magenta;
3795
			this->toolStripButton2->Name = L"toolStripButton2";
126 cycrow 3796
			this->toolStripButton2->Size = System::Drawing::Size(68, 28);
1 cycrow 3797
			this->toolStripButton2->Text = L"Save";
3798
			this->toolStripButton2->Click += gcnew System::EventHandler(this, &PackageForm::toolStripButton2_Click);
3799
			// 
3800
			// toolStripButton3
3801
			// 
126 cycrow 3802
			this->toolStripButton3->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripButton3.Image")));
1 cycrow 3803
			this->toolStripButton3->ImageTransparentColor = System::Drawing::Color::Magenta;
3804
			this->toolStripButton3->Name = L"toolStripButton3";
126 cycrow 3805
			this->toolStripButton3->Size = System::Drawing::Size(88, 28);
1 cycrow 3806
			this->toolStripButton3->Text = L"Save As";
3807
			this->toolStripButton3->Click += gcnew System::EventHandler(this, &PackageForm::toolStripButton3_Click);
3808
			// 
3809
			// toolStripButton5
3810
			// 
126 cycrow 3811
			this->toolStripButton5->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripButton5.Image")));
1 cycrow 3812
			this->toolStripButton5->ImageTransparentColor = System::Drawing::Color::Magenta;
3813
			this->toolStripButton5->Name = L"toolStripButton5";
126 cycrow 3814
			this->toolStripButton5->Size = System::Drawing::Size(80, 28);
1 cycrow 3815
			this->toolStripButton5->Text = L"Export";
3816
			this->toolStripButton5->ToolTipText = L"Exports the package to an archive";
3817
			this->toolStripButton5->Click += gcnew System::EventHandler(this, &PackageForm::toolStripButton5_Click);
3818
			// 
3819
			// toolStripSeparator3
3820
			// 
3821
			this->toolStripSeparator3->Name = L"toolStripSeparator3";
3822
			this->toolStripSeparator3->Size = System::Drawing::Size(6, 31);
3823
			// 
3824
			// toolStripButton1
3825
			// 
3826
			this->toolStripButton1->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
126 cycrow 3827
			this->toolStripButton1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripButton1.Image")));
1 cycrow 3828
			this->toolStripButton1->ImageTransparentColor = System::Drawing::Color::Magenta;
3829
			this->toolStripButton1->Name = L"toolStripButton1";
3830
			this->toolStripButton1->Size = System::Drawing::Size(28, 28);
3831
			this->toolStripButton1->Text = L"Generate Script";
3832
			this->toolStripButton1->ToolTipText = L"Generate packager script";
3833
			this->toolStripButton1->Click += gcnew System::EventHandler(this, &PackageForm::toolStripButton1_Click);
3834
			// 
3835
			// toolStripButton4
3836
			// 
3837
			this->toolStripButton4->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
126 cycrow 3838
			this->toolStripButton4->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripButton4.Image")));
1 cycrow 3839
			this->toolStripButton4->ImageTransparentColor = System::Drawing::Color::Magenta;
3840
			this->toolStripButton4->Name = L"toolStripButton4";
3841
			this->toolStripButton4->Size = System::Drawing::Size(28, 28);
3842
			this->toolStripButton4->Text = L"toolStripButton4";
3843
			this->toolStripButton4->ToolTipText = L"Generate package update file to allow auto updates";
3844
			this->toolStripButton4->Click += gcnew System::EventHandler(this, &PackageForm::toolStripButton4_Click);
3845
			// 
3846
			// toolStripSeparator4
3847
			// 
3848
			this->toolStripSeparator4->Name = L"toolStripSeparator4";
3849
			this->toolStripSeparator4->Size = System::Drawing::Size(6, 31);
3850
			// 
3851
			// ToolCustomise
3852
			// 
3853
			this->ToolCustomise->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
126 cycrow 3854
			this->ToolCustomise->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ToolCustomise.Image")));
1 cycrow 3855
			this->ToolCustomise->ImageTransparentColor = System::Drawing::Color::Magenta;
3856
			this->ToolCustomise->Name = L"ToolCustomise";
3857
			this->ToolCustomise->Size = System::Drawing::Size(28, 28);
3858
			this->ToolCustomise->Text = L"toolStripButton5";
3859
			this->ToolCustomise->ToolTipText = L"Customise Ship, allows you to edit the ships data to adjust its stats";
3860
			this->ToolCustomise->Click += gcnew System::EventHandler(this, &PackageForm::ToolCustomise_Click);
3861
			// 
3862
			// toolTip1
3863
			// 
3864
			this->toolTip1->AutoPopDelay = 20000;
3865
			this->toolTip1->InitialDelay = 2000;
3866
			this->toolTip1->IsBalloon = true;
3867
			this->toolTip1->ReshowDelay = 200;
3868
			this->toolTip1->ShowAlways = true;
3869
			this->toolTip1->ToolTipIcon = System::Windows::Forms::ToolTipIcon::Info;
3870
			this->toolTip1->ToolTipTitle = L"Mod Patch";
3871
			this->toolTip1->Popup += gcnew System::Windows::Forms::PopupEventHandler(this, &PackageForm::toolTip1_Popup);
3872
			// 
3873
			// toolTip2
3874
			// 
3875
			this->toolTip2->AutoPopDelay = 20000;
3876
			this->toolTip2->InitialDelay = 2000;
3877
			this->toolTip2->IsBalloon = true;
3878
			this->toolTip2->ReshowDelay = 200;
3879
			this->toolTip2->ShowAlways = true;
3880
			this->toolTip2->ToolTipIcon = System::Windows::Forms::ToolTipIcon::Info;
3881
			this->toolTip2->ToolTipTitle = L"Mod Patch";
3882
			this->toolTip2->Popup += gcnew System::Windows::Forms::PopupEventHandler(this, &PackageForm::toolTip2_Popup);
3883
			// 
3884
			// PackageForm
3885
			// 
3886
			this->AllowDrop = true;
126 cycrow 3887
			this->AutoScaleDimensions = System::Drawing::SizeF(8, 16);
1 cycrow 3888
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
126 cycrow 3889
			this->ClientSize = System::Drawing::Size(1021, 874);
1 cycrow 3890
			this->Controls->Add(this->groupBox1);
3891
			this->Controls->Add(this->tabControl1);
3892
			this->Controls->Add(this->PanelShip);
3893
			this->Controls->Add(this->panel4);
3894
			this->Controls->Add(this->panel3);
3895
			this->Controls->Add(this->panel2);
3896
			this->Controls->Add(this->panel1);
3897
			this->Controls->Add(this->toolStrip1);
126 cycrow 3898
			this->Icon = (cli::safe_cast<System::Drawing::Icon^>(resources->GetObject(L"$this.Icon")));
127 cycrow 3899
			this->Margin = System::Windows::Forms::Padding(4);
1 cycrow 3900
			this->Name = L"PackageForm";
126 cycrow 3901
			this->Padding = System::Windows::Forms::Padding(7, 6, 7, 6);
1 cycrow 3902
			this->ShowIcon = false;
3903
			this->ShowInTaskbar = false;
3904
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
3905
			this->Text = L"Package";
3906
			this->Load += gcnew System::EventHandler(this, &PackageForm::PackageForm_Load);
126 cycrow 3907
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange5))->EndInit();
3908
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange1))->EndInit();
3909
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec5))->EndInit();
1 cycrow 3910
			this->groupBox1->ResumeLayout(false);
3911
			this->ContextFiles->ResumeLayout(false);
3912
			this->panel6->ResumeLayout(false);
3913
			this->panel5->ResumeLayout(false);
3914
			this->tabControl1->ResumeLayout(false);
3915
			this->tabPage1->ResumeLayout(false);
3916
			this->groupBox2->ResumeLayout(false);
3917
			this->panel13->ResumeLayout(false);
3918
			this->panel12->ResumeLayout(false);
3919
			this->panel11->ResumeLayout(false);
3920
			this->tabPage5->ResumeLayout(false);
3921
			this->groupBox8->ResumeLayout(false);
3922
			this->panel10->ResumeLayout(false);
3923
			this->panel21->ResumeLayout(false);
3924
			this->panel21->PerformLayout();
3925
			this->ContextGames->ResumeLayout(false);
3926
			this->PagePackage->ResumeLayout(false);
3927
			this->groupBox3->ResumeLayout(false);
3928
			this->groupBox3->PerformLayout();
3929
			this->panel22->ResumeLayout(false);
3930
			this->panel7->ResumeLayout(false);
3931
			this->panel8->ResumeLayout(false);
3932
			this->flowLayoutPanel1->ResumeLayout(false);
3933
			this->flowLayoutPanel1->PerformLayout();
3934
			this->panel9->ResumeLayout(false);
3935
			this->panel9->PerformLayout();
3936
			this->tabPage3->ResumeLayout(false);
3937
			this->groupBox7->ResumeLayout(false);
3938
			this->panel19->ResumeLayout(false);
3939
			this->panel20->ResumeLayout(false);
3940
			this->panel18->ResumeLayout(false);
3941
			this->panel18->PerformLayout();
3942
			this->groupBox6->ResumeLayout(false);
3943
			this->panel17->ResumeLayout(false);
3944
			this->GroupChange->ResumeLayout(false);
126 cycrow 3945
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange4))->EndInit();
3946
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange3))->EndInit();
3947
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange2))->EndInit();
1 cycrow 3948
			this->GroupRec->ResumeLayout(false);
126 cycrow 3949
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec4))->EndInit();
3950
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec3))->EndInit();
3951
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec2))->EndInit();
3952
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec1))->EndInit();
1 cycrow 3953
			this->GroupEase->ResumeLayout(false);
126 cycrow 3954
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase5))->EndInit();
3955
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase4))->EndInit();
3956
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase3))->EndInit();
3957
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase2))->EndInit();
3958
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase1))->EndInit();
1 cycrow 3959
			this->groupBox5->ResumeLayout(false);
126 cycrow 3960
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->DisplayIcon))->EndInit();
1 cycrow 3961
			this->panel15->ResumeLayout(false);
126 cycrow 3962
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->DisplayPicture))->EndInit();
1 cycrow 3963
			this->panel16->ResumeLayout(false);
3964
			this->tabPage2->ResumeLayout(false);
3965
			this->ContextLangName->ResumeLayout(false);
3966
			this->groupBox4->ResumeLayout(false);
3967
			this->ContextMirror->ResumeLayout(false);
3968
			this->panel14->ResumeLayout(false);
3969
			this->tabPage4->ResumeLayout(false);
3970
			this->ContextDep->ResumeLayout(false);
3971
			this->PageWares->ResumeLayout(false);
3972
			this->splitContainer1->Panel1->ResumeLayout(false);
3973
			this->splitContainer1->Panel2->ResumeLayout(false);
126 cycrow 3974
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->splitContainer1))->EndInit();
1 cycrow 3975
			this->splitContainer1->ResumeLayout(false);
3976
			this->ContextWare->ResumeLayout(false);
3977
			this->ContextWareText->ResumeLayout(false);
3978
			this->PageShip->ResumeLayout(false);
3979
			this->PageShip->PerformLayout();
3980
			this->ContextShipText->ResumeLayout(false);
3981
			this->PanelTextID->ResumeLayout(false);
3982
			this->PanelTextID->PerformLayout();
126 cycrow 3983
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->NumTextID))->EndInit();
1 cycrow 3984
			this->flowLayoutPanel2->ResumeLayout(false);
3985
			this->PageRaw->ResumeLayout(false);
3986
			this->panel23->ResumeLayout(false);
3987
			this->panel24->ResumeLayout(false);
3988
			this->panel24->PerformLayout();
3989
			this->flowLayoutPanel3->ResumeLayout(false);
3990
			this->flowLayoutPanel3->PerformLayout();
3991
			this->PageShipComp->ResumeLayout(false);
3992
			this->panel26->ResumeLayout(false);
3993
			this->ContextShipPart->ResumeLayout(false);
3994
			this->panel25->ResumeLayout(false);
3995
			this->panel1->ResumeLayout(false);
3996
			this->panel1->PerformLayout();
3997
			this->panel2->ResumeLayout(false);
3998
			this->panel2->PerformLayout();
3999
			this->panel3->ResumeLayout(false);
4000
			this->panel3->PerformLayout();
4001
			this->panel4->ResumeLayout(false);
4002
			this->PanelShip->ResumeLayout(false);
4003
			this->PanelShip->PerformLayout();
4004
			this->toolStrip1->ResumeLayout(false);
4005
			this->toolStrip1->PerformLayout();
4006
			this->ResumeLayout(false);
4007
			this->PerformLayout();
4008
 
4009
		}
4010
#pragma endregion
4011
private: System::Void PackageForm::PackageForm_Closing(System::Object^  sender, CancelEventArgs^  e);
4012
private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
4013
			 this->AddNewFile();
4014
		 }
4015
private: System::Void ComboFileType_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
4016
			 if ( !m_pPackage )
4017
				 return;
4018
 
4019
			 this->UpdateFileList();
4020
		 }
4021
private: System::Void TextName_TextChanged(System::Object^  sender, System::EventArgs^  e) {
50 cycrow 4022
			 if ( !m_bLoading )	m_pPackage->setName(_S(this->TextName->Text));
1 cycrow 4023
			 this->UpdateChanged();
4024
		 }
4025
private: System::Void TextAuthor_TextChanged(System::Object^  sender, System::EventArgs^  e) {
50 cycrow 4026
			 if ( !m_bLoading ) m_pPackage->setAuthor(_S(this->TextAuthor->Text));
1 cycrow 4027
			 this->UpdateChanged();
4028
		 }
4029
private: System::Void TextVersion_TextChanged(System::Object^  sender, System::EventArgs^  e) {
4030
			 if ( !m_bLoading )
50 cycrow 4031
				 m_pPackage->setVersion(_S(this->TextVersion->Text));
1 cycrow 4032
			 this->UpdateChanged();
4033
		 }
4034
private: System::Void CreationDate_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
4035
			 if ( !m_bLoading )
4036
			 {
4037
				 System::DateTime ^time = DateTime(this->CreationDate->Value);
4038
 
4039
				 String ^t = System::Convert::ToString(time->Day) + "/" + System::Convert::ToString(time->Month) + "/" + System::Convert::ToString(time->Year);
50 cycrow 4040
				 m_pPackage->setCreationDate(_S(t));
1 cycrow 4041
			 }
4042
			 this->UpdateChanged();
4043
		 }
4044
 
4045
private: System::Void SortList(System::Object ^Sender, ColumnClickEventArgs ^E)
4046
	{
4047
		if ( E->Column == m_iSortingCol )
4048
		{
4049
			m_bSortingAsc = !m_bSortingAsc;
4050
			this->ListFiles->ListViewItemSorter = gcnew ListViewItemComparer(E->Column, !m_bSortingAsc);
4051
		}
4052
		else
4053
		{
4054
			m_bSortingAsc = true;
4055
			this->ListFiles->ListViewItemSorter = gcnew ListViewItemComparer(E->Column, !m_bSortingAsc);
4056
		}
4057
		this->ListFiles->Sort();
4058
		m_iSortingCol = E->Column;
4059
 
4060
	}
4061
 
4062
private: System::Void ButRemoveFile_Click(System::Object^  sender, System::EventArgs^  e) {
4063
			 this->RemoveSelectedFiles();
4064
		}
4065
private: System::Void Event_FileChecked(System::Object^  sender, ItemCheckedEventArgs^  e) {
4066
			int id = CyStringFromSystemString(cli::safe_cast<System::String ^>(e->Item->Tag)).ToInt();
4067
			C_File *file = m_pPackage->GetFileList()->Get(id);
4068
			if ( file->IsShared() != e->Item->Checked )
4069
			{
4070
				file->SetShared(e->Item->Checked);
50 cycrow 4071
				m_pPackage->adjustChanged(true);
1 cycrow 4072
				this->UpdateChanged();
4073
			}
4074
		}
4075
private: System::Void ListFiles_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
4076
			if ( ListFiles->SelectedItems->Count )
4077
			{
4078
				this->ButRemoveFile->Enabled = true;
4079
 
4080
				for ( int i = 0; i < ListFiles->SelectedItems->Count; i++ )
4081
				{
4082
					int id = CyStringFromSystemString(cli::safe_cast<System::String ^>(this->ListFiles->SelectedItems[i]->Tag)).ToInt();
4083
					C_File *file = m_pPackage->GetFileList()->Get(id);
4084
					if ( file->IsShared() != this->ListFiles->SelectedItems[i]->Checked )
4085
					{
4086
						file->SetShared(this->ListFiles->SelectedItems[i]->Checked);
50 cycrow 4087
						m_pPackage->adjustChanged(true);
1 cycrow 4088
					}
4089
				}
4090
 
4091
				this->UpdateChanged();
4092
			}
4093
			else
4094
			{
4095
				this->ButRemoveFile->Enabled = false;
4096
			}
4097
		}
4098
private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
129 cycrow 4099
			 m_pPackage->removeAllFiles(static_cast<FileType>(this->ComboFileType->SelectedIndex - 1), this->ComboGameFilter->SelectedIndex - 1);
1 cycrow 4100
			 m_pDisplayFile = NULL;
4101
			 this->UpdateDisplayPic();
4102
			 this->ComboFileType->SelectedIndex = 0;
4103
			 this->ComboGameFilter->SelectedIndex = 0;
4104
			 this->UpdateFileList();
4105
			 this->UpdateChanged();
4106
		 }
4107
private: System::Void RadioTypeScript_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4108
			 if ( RadioTypeScript->Checked )
4109
			 {
4110
				 this->RadioTypeUpdate->Checked = false;
4111
				 this->RadioTypePatch->Checked = false;
4112
				 this->RadioTypeLibrary->Checked = false;
4113
				 this->RadioTypePatch->Checked = false;
4114
				 this->ComboType->Enabled = true;
4115
				 if ( !m_bLoading )
4116
				 {
4117
					 ((CSpkFile *)m_pPackage)->SetScriptType(this->ComboType->SelectedIndex);
4118
					 this->UpdateDependacies();
4119
				 }
4120
				 this->UpdateChanged();
4121
			 }
4122
			 else
4123
				 this->ComboType->Enabled = false;
4124
			 this->UpdateDisplayIcon();
4125
		 }
4126
private: System::Void RadioTypeLibrary_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4127
			 if ( this->RadioTypeLibrary->Checked )
4128
			 {
4129
				 this->RadioTypeScript->Checked = false;
4130
				 if ( !m_bLoading )
4131
				 {
4132
					 ((CSpkFile *)m_pPackage)->SetLibrary();
4133
					 this->UpdateDependacies();
4134
				 }
4135
				 this->UpdateChanged();
4136
				 this->UpdateDisplayIcon();
4137
			 }
4138
		 }
4139
private: System::Void RadioTypeUpdate_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4140
			 if ( this->RadioTypeUpdate->Checked )
4141
			 {
4142
				 this->RadioTypeScript->Checked = false;
4143
 				 if ( !m_bLoading )
4144
				 {
4145
					((CSpkFile *)m_pPackage)->SetPackageUpdate();
4146
					this->UpdateDependacies();
4147
				 }
4148
				 this->UpdateChanged();
4149
				 this->UpdateDisplayIcon();
4150
			 }
4151
		 }
4152
private: System::Void RadioTypePatch_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4153
			 if ( this->RadioTypePatch->Checked )
4154
			 {
4155
				 this->RadioTypeScript->Checked = false;
4156
				 if ( !m_bLoading )
4157
				 {
4158
					 ((CSpkFile *)m_pPackage)->SetPatch();
4159
					 this->UpdateDependacies();
4160
				 }
4161
				 this->UpdateChanged();
4162
				 this->UpdateDisplayIcon();
4163
			 }
4164
		 }
4165
private: System::Void RadioTypeStart_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4166
			 if ( this->RadioTypeStart->Checked )
4167
			 {
4168
				 this->RadioTypeScript->Checked = false;
4169
				 {
4170
					((CSpkFile *)m_pPackage)->SetCustomStart();
4171
					 this->UpdateDependacies();
4172
				 }
4173
				 this->UpdateChanged();
4174
				 this->UpdateDisplayIcon();
4175
			 }
4176
		 }
4177
private: System::Void ComboType_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
4178
			 if ( !m_bLoading )
4179
			 {
4180
				 ((CSpkFile *)m_pPackage)->SetScriptType(this->ComboType->SelectedIndex);
4181
				 this->UpdateDependacies();
4182
			 }
4183
			 this->UpdateScriptType();
4184
			 this->UpdateChanged();
4185
		 }
4186
private: System::Void TextDesc_TextChanged(System::Object^  sender, System::EventArgs^  e) {
48 cycrow 4187
			if ( !m_bLoading )	m_pPackage->setDescription(_S(this->TextDesc->Text).findReplace("\n", "<br>"));
1 cycrow 4188
			this->UpdateChanged();
4189
		 }
4190
private: System::Void ComboVersion_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
4191
			 if ( this->ComboVersion->SelectedIndex >= this->ComboVersion->Items->Count - 1 )
4192
			 {
4193
				 this->TextExactVersion->Visible = true;
4194
				 this->TextExactVersion->Text = "1.00";
4195
			 }
4196
			 else
4197
			 {
4198
				 this->TextExactVersion->Visible = false;
4199
			 }
4200
		 }
4201
private: System::Void TextWebsite_TextChanged(System::Object^  sender, System::EventArgs^  e) {
49 cycrow 4202
			 if ( !m_bLoading )	 m_pPackage->setWebSite(_S(this->TextWebsite->Text));
1 cycrow 4203
			 this->UpdateChanged();
4204
		 }
4205
private: System::Void TextEmail_TextChanged(System::Object^  sender, System::EventArgs^  e) {
49 cycrow 4206
			 if ( !m_bLoading )	 m_pPackage->setEmail(_S(this->TextEmail->Text));
1 cycrow 4207
			 this->UpdateChanged();
4208
		 }
4209
private: System::Void TextForum_TextChanged(System::Object^  sender, System::EventArgs^  e) {
49 cycrow 4210
			 if ( !m_bLoading )	 m_pPackage->setForumLink(_S(this->TextForum->Text));
1 cycrow 4211
			 this->UpdateChanged();
4212
		 }
4213
private: System::Void ButFromFile_Click(System::Object^  sender, System::EventArgs^  e) {
4214
			OpenFileDialog ^ofd = gcnew OpenFileDialog();
4215
			ofd->Filter = "Package Files (*.spk)|*.spk";
4216
			ofd->FilterIndex = 1;
4217
			ofd->RestoreDirectory = true;
4218
			ofd->Title = "Select package to use as parent package";
4219
 
4220
			if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4221
			{
4222
				int error;
4223
				CBaseFile *p = m_pP->OpenPackage(CyStringFromSystemString(ofd->FileName), &error, 0, SPKREAD_VALUES);
4224
				if ( p )
4225
				{
50 cycrow 4226
					this->TextOtherAuthor->Text = _US(p->author());
4227
					this->TextOtherName->Text = _US(p->name());
4228
					((CSpkFile *)m_pPackage)->SetAnotherMod(p->name(), p->author());
1 cycrow 4229
					delete p;
4230
					this->UpdateChanged();
4231
				}
4232
			}
4233
		 }
4234
private: System::Void CheckOther_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4235
			 this->TextOtherAuthor->Enabled = this->CheckOther->Checked;
4236
			 this->TextOtherName->Enabled = this->CheckOther->Checked;
4237
			 this->ButFromFile->Enabled = this->CheckOther->Checked;
4238
 
4239
			 if ( !m_bLoading )
4240
			 {
4241
				 if ( this->CheckOther->Checked )
10 cycrow 4242
					 ((CSpkFile *)m_pPackage)->SetAnotherMod(CyStringFromSystemString(this->TextOtherName->Text).ToString(), CyStringFromSystemString(this->TextOtherAuthor->Text).ToString());
1 cycrow 4243
				 else
4244
					 ((CSpkFile *)m_pPackage)->SetAnotherMod("", "");
4245
			 }
4246
			 this->UpdateChanged();
4247
		 }
4248
private: System::Void TextOtherName_TextChanged(System::Object^  sender, System::EventArgs^  e) {
4249
			if ( !m_bLoading )
10 cycrow 4250
				((CSpkFile *)m_pPackage)->SetAnotherMod(CyStringFromSystemString(this->TextOtherName->Text).ToString(), CyStringFromSystemString(this->TextOtherAuthor->Text).ToString());
1 cycrow 4251
			this->UpdateChanged();
4252
		 }
4253
private: System::Void ContextMirror_Opening(System::Object^  sender, System::ComponentModel::CancelEventArgs^  e) {
4254
			Point ^mousePoint = this->ListMirrors->PointToClient(this->ContextMirror->MousePosition);
4255
			ListViewItem ^item = this->ListMirrors->GetItemAt(mousePoint->X, mousePoint->Y);
4256
			if ( item )
4257
			{
4258
				this->ContextRemoveMirror->Visible = true;
4259
				this->ContextRemoveMirror->Text = "Remove: " + item->Text;
4260
			}
4261
			else
4262
				this->ContextRemoveMirror->Visible = false;
4263
			m_pSelectedItem = item;
4264
			 e->Cancel = false;
4265
		 }
4266
private: System::Void clearAllToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
4267
			 m_pPackage->ClearWebMirrors();
4268
			 this->UpdateMirrors();
4269
			 this->UpdateChanged();
4270
		 }
4271
private: System::Void addMirrorToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
4272
			 InputBox ^input = gcnew InputBox("Enter the web address to add", "http://");
4273
			if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4274
			{
4275
				m_pPackage->AddWebMirror(CyStringFromSystemString(input->GetInput()));
4276
				this->UpdateChanged();
4277
				this->UpdateMirrors();
4278
			}
4279
		 }
4280
private: System::Void ContextRemoveMirror_Click(System::Object^  sender, System::EventArgs^  e) {
4281
			if ( m_pSelectedItem )
4282
			{
4283
				m_pPackage->RemoveWebMirror(CyStringFromSystemString(m_pSelectedItem->Text));
4284
				this->UpdateMirrors();
4285
				this->UpdateChanged();
4286
			}
4287
		 }
4288
private: System::Void ContextLangName_Opening(System::Object^  sender, System::ComponentModel::CancelEventArgs^  e) {
4289
			 Point ^mousePoint = this->ListNames->PointToClient(this->ContextLangName->MousePosition);
4290
			ListViewItem ^item = this->ListNames->GetItemAt(mousePoint->X, mousePoint->Y);
4291
			if ( item )
4292
			{
4293
				this->ContextRemoveName->Visible = true;
4294
				this->ContextEditName->Visible = true;
4295
				this->ContextRemoveName->Text = "Remove: " + item->Text;
4296
				this->ContextNameSep->Visible = true;
4297
			}
4298
			else
4299
			{
4300
				this->ContextNameSep->Visible = false;
4301
				this->ContextRemoveName->Visible = false;
4302
				this->ContextEditName->Visible = false;
4303
			}
4304
			m_pSelectedItem = item;
4305
			e->Cancel = false;
4306
		 }
4307
private: System::Void clearAllToolStripMenuItem1_Click(System::Object^  sender, System::EventArgs^  e) {
4308
			 m_pPackage->ClearNames();
4309
			 this->UpdatePackageNames();
4310
			 this->UpdateChanged();
4311
		 }
4312
private: System::Void addToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
4313
			 InputBox ^input = gcnew InputBox("Enter the language id (ie 44)", "");
4314
			if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4315
			{
4316
				InputBox ^input2 = gcnew InputBox("Enter the package name (Language: " + input->GetInput() + ")", "");
4317
				if ( input2->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4318
				{
46 cycrow 4319
					m_pPackage->AddLanguageName(Convert::ToInt32(input->GetInput()), _S(input2->GetInput()));
1 cycrow 4320
					this->UpdateChanged();
4321
					this->UpdatePackageNames();
4322
				}
4323
			}
4324
		 }
4325
private: System::Void ContextRemoveName_Click(System::Object^  sender, System::EventArgs^  e) {
4326
			if ( m_pSelectedItem )
4327
			{
4328
				m_pPackage->RemoveLanguageName(Convert::ToInt32(m_pSelectedItem->Text));
4329
				this->UpdatePackageNames();
4330
				this->UpdateChanged();
4331
			}
4332
		 }
4333
private: System::Void ContextEditName_Click(System::Object^  sender, System::EventArgs^  e) {
4334
			InputBox ^input = gcnew InputBox("Enter the package name (Language: " + m_pSelectedItem->Text + ")", m_pSelectedItem->SubItems[1]->Text);
4335
			if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4336
			{
46 cycrow 4337
				m_pPackage->AddLanguageName(Convert::ToInt32(m_pSelectedItem->Text), _S(input->GetInput()));
1 cycrow 4338
				m_pSelectedItem->SubItems[1]->Text = input->GetInput();
4339
				this->UpdateChanged();
4340
			}
4341
		 }
4342
private: System::Void ButPicAdd_Click(System::Object^  sender, System::EventArgs^  e) {
4343
			 this->AddDisplayPic();
4344
		 }
4345
private: System::Void ButPicDel_Click(System::Object^  sender, System::EventArgs^  e) {
4346
			 if ( m_pDisplayFile )
4347
			 {
4348
				 C_File *oldFile = m_pDisplayFile;
4349
				 m_pDisplayFile = m_pPackage->GetNextFile(m_pDisplayFile);
4350
 
4351
				 m_pPackage->RemoveFile(oldFile);
4352
 
4353
				 if ( !m_pDisplayFile )
4354
					 m_pDisplayFile = m_pPackage->GetFirstFile(FILETYPE_ADVERT);
4355
				 this->UpdateDisplayPic();
4356
				 this->UpdateFileList();
4357
				 this->UpdateChanged();
4358
			 }
4359
		 }
4360
private: System::Void ButPicBack_Click(System::Object^  sender, System::EventArgs^  e) {
4361
			 m_pDisplayFile = m_pPackage->GetPrevFile(m_pDisplayFile);
4362
			 this->UpdateDisplayPic();
4363
		 }
4364
private: System::Void ButPicNext_Click(System::Object^  sender, System::EventArgs^  e) {
4365
			 m_pDisplayFile = m_pPackage->GetNextFile(m_pDisplayFile);
4366
			 this->UpdateDisplayPic();
4367
		 }
4368
private: System::Void ButIconDel_Click(System::Object^  sender, System::EventArgs^  e) {
4369
			 m_pPackage->SetIcon(NULL, NullString);
4370
			 this->UpdateDisplayIcon();
4371
			 this->UpdateChanged();
4372
		 }
4373
private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {
4374
			 this->AddDisplayIcon();
4375
		 }
4376
private: System::Void PicEase1_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4377
			 m_pPackage->setEaseOfUse(1);
1 cycrow 4378
			 this->UpdateRatings();
4379
			 this->UpdateChanged();
4380
		 }
4381
private: System::Void PicEase2_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4382
			 m_pPackage->setEaseOfUse(2);
1 cycrow 4383
			 this->UpdateChanged();
4384
			 this->UpdateRatings();
4385
		 }
4386
private: System::Void PicEase3_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4387
			 m_pPackage->setEaseOfUse(3);
1 cycrow 4388
			 this->UpdateChanged();
4389
			 this->UpdateRatings();
4390
		 }
4391
private: System::Void PicEase4_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4392
			 m_pPackage->setEaseOfUse(4);
1 cycrow 4393
			 this->UpdateChanged();
4394
			 this->UpdateRatings();
4395
		 }
4396
private: System::Void PicEase5_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4397
			 m_pPackage->setEaseOfUse(5);
1 cycrow 4398
			 this->UpdateChanged();
4399
			 this->UpdateRatings();
4400
		 }
4401
private: System::Void PicRec1_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4402
			 m_pPackage->setRecommended(1);
1 cycrow 4403
			 this->UpdateChanged();
4404
			 this->UpdateRatings();
4405
		 }
4406
private: System::Void PicRec2_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4407
			 m_pPackage->setRecommended(2);
1 cycrow 4408
			 this->UpdateChanged();
4409
			 this->UpdateRatings();
4410
		 }
4411
private: System::Void PicRec3_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4412
			 m_pPackage->setRecommended(3);
1 cycrow 4413
			 this->UpdateChanged();
4414
			 this->UpdateRatings();
4415
		 }
4416
private: System::Void PicRec4_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4417
			 m_pPackage->setRecommended(4);
1 cycrow 4418
			 this->UpdateChanged();
4419
			 this->UpdateRatings();
4420
		 }
4421
private: System::Void PicRec5_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4422
			 m_pPackage->setRecommended(5);
1 cycrow 4423
			 this->UpdateChanged();
4424
			 this->UpdateRatings();
4425
		 }
4426
private: System::Void PicChange1_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4427
			 m_pPackage->setGameChanging(1);
1 cycrow 4428
			 this->UpdateChanged();
4429
			 this->UpdateRatings();
4430
		 }
4431
private: System::Void PicChange2_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4432
			 m_pPackage->setGameChanging(2);
1 cycrow 4433
			 this->UpdateChanged();
4434
			 this->UpdateRatings();
4435
		 }
4436
private: System::Void PicChange3_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4437
			 m_pPackage->setGameChanging(3);
1 cycrow 4438
			 this->UpdateChanged();
4439
			 this->UpdateRatings();
4440
		 }
4441
private: System::Void PicChange4_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4442
			 m_pPackage->setGameChanging(4);
1 cycrow 4443
			 this->UpdateChanged();
4444
			 this->UpdateRatings();
4445
		 }
4446
private: System::Void PicChange5_Click(System::Object^  sender, System::EventArgs^  e) {
46 cycrow 4447
			 m_pPackage->setGameChanging(5);
1 cycrow 4448
			 this->UpdateChanged();
4449
			 this->UpdateRatings();
4450
		 }
4451
private: System::Void RadioInstallBefore_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4452
			 this->UpdateText();
4453
		 }
4454
private: System::Void RadioInstallAfter_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4455
			 this->UpdateText();
4456
		 }
4457
private: System::Void RadioUninstallBefore_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4458
			 this->UpdateText();
4459
		 }
4460
private: System::Void RadioUninstallAfter_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4461
			 this->UpdateText();
4462
		 }
4463
private: System::Void ListLang_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
4464
			 this->UpdateTextLang();
4465
		 }
4466
private: System::Void TextText_TextChanged(System::Object^  sender, System::EventArgs^  e) {
4467
			 if ( Convert::ToInt32(this->TextText->Tag) != 1 )
4468
				this->SaveText();
4469
		 }
4470
private: System::Void ButTextAdd_Click(System::Object^  sender, System::EventArgs^  e) {
4471
			 InputBox ^input = gcnew InputBox("Enter the language id to add (ie 44)", "");
4472
			if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4473
			{
4474
				int lang = System::Convert::ToInt32(input->GetInput());
4475
				if ( lang )
4476
				{
46 cycrow 4477
					Utils::String t;
1 cycrow 4478
					if ( this->RadioInstallAfter->Checked || this->RadioInstallBefore->Checked )
46 cycrow 4479
						t = m_pPackage->installText(lang, true);
1 cycrow 4480
					else
46 cycrow 4481
						t = m_pPackage->uninstallText(lang, false);
1 cycrow 4482
 
46 cycrow 4483
					if ( t.empty() )
1 cycrow 4484
					{
4485
						if ( this->RadioInstallAfter->Checked || this->RadioInstallBefore->Checked )
46 cycrow 4486
							m_pPackage->addInstallText(lang, true, "");
1 cycrow 4487
						else
46 cycrow 4488
							m_pPackage->addUninstallText(lang, true, "");
1 cycrow 4489
					}
4490
 
4491
					this->UpdateText();
4492
 
4493
					this->ListLang->Text = System::Convert::ToString(lang);
4494
 
4495
					this->UpdateTextLang();
4496
					this->UpdateChanged();
4497
				}
4498
			}
4499
		 }
4500
private: System::Void ButTextDel_Click(System::Object^  sender, System::EventArgs^  e) {
4501
			 if ( this->ListLang->SelectedIndex < 1 )
4502
				 return;
4503
			 int lang = System::Convert::ToInt32(this->ListLang->Text);
4504
			 if ( lang )
4505
			 {
4506
				 if ( this->RadioInstallAfter->Checked || this->RadioInstallBefore->Checked )
46 cycrow 4507
					m_pPackage->removeInstallText(lang, true);
1 cycrow 4508
				 else if ( this->RadioUninstallAfter->Checked || this->RadioUninstallBefore->Checked )
46 cycrow 4509
					m_pPackage->removeInstallText(lang, false);
1 cycrow 4510
				 this->UpdateText();
4511
				this->UpdateChanged();
4512
			 }
4513
		 }
4514
private: System::Void ContextWare_Opening(System::Object^  sender, System::ComponentModel::CancelEventArgs^  e) {
4515
			Point ^mousePoint = this->ListWares->PointToClient(this->ContextWare->MousePosition);
4516
			ListViewItem ^item = this->ListWares->GetItemAt(mousePoint->X, mousePoint->Y);
4517
			if ( item )
4518
			{
4519
				this->ContextWareSep1->Visible = true;
4520
				this->ContextWareRemove->Visible = true;
4521
				this->ContextWareEdit->Visible = true;
4522
				this->ContextWareRemove->Text = "Remove: " + item->Text;
4523
				this->ContextWareEdit->Text = "Edit: " + item->Text;
4524
			}
4525
			else
4526
			{
4527
				this->ContextWareSep1->Visible = false;
4528
				this->ContextWareRemove->Visible = false;
4529
				this->ContextWareEdit->Visible = false;
4530
			}
4531
 
4532
			if ( this->ListWares->Items->Count )
4533
			{
4534
				this->ContextWareSep2->Visible = true;
4535
				this->ContextWareClear->Visible = true;
4536
			}
4537
			else
4538
			{
4539
				this->ContextWareSep2->Visible = false;
4540
				this->ContextWareClear->Visible = false;
4541
			}
4542
 
4543
			m_pSelectedItem = item;
4544
			e->Cancel = false;
4545
		 }
4546
private: System::Void ContextWareClear_Click(System::Object^  sender, System::EventArgs^  e) {
4547
			 ((CSpkFile *)m_pPackage)->ClearWares();
4548
			 this->UpdateWares();
4549
		 }
4550
private: System::Void ContextWareRemove_Click(System::Object^  sender, System::EventArgs^  e) {
4551
			 if ( this->ListWares->SelectedItems->Count )
4552
			 {
4553
				 for ( int i = 0; i < this->ListWares->SelectedItems->Count; i++ )
10 cycrow 4554
					 ((CSpkFile *)m_pPackage)->RemoveWare(CyStringFromSystemString(this->ListWares->SelectedItems[i]->Text).ToString());
1 cycrow 4555
				 this->UpdateWares();
4556
			 }
4557
		 }
4558
private: System::Void addWareToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
4559
			 AddWare ^aw = gcnew AddWare;
4560
			 if ( aw->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4561
			 {
4562
				 if ( aw->GetID()->Length < 1 )
4563
					 MessageBox::Show(this, "Invalid ware ID, entry cant be empty", "Invalid Entry", MessageBoxButtons::OK, MessageBoxIcon::Warning);
4564
				 else
4565
				 {
4566
					 SWares *w = new SWares;
4567
					 w->iTextID = aw->GetTextID();
4568
					 w->iTextPage = aw->GetTextPage();
4569
					 w->cType = CPackages::ConvertWareTypeBack(aw->GetType());
4570
					 w->iNotority = aw->GetMinNotoriety();
4571
					 w->iPrice = aw->GetPrice();
4572
					 w->iVolumn = aw->GetVolumn();
4573
					 w->iSize = aw->GetSize();
10 cycrow 4574
					 w->sID = CyStringFromSystemString(aw->GetID()).ToString();
1 cycrow 4575
					 ((CSpkFile *)m_pPackage)->AddWare(w);
4576
					 this->UpdateWares();
4577
				 }
4578
			 }
4579
		 }
4580
private: System::Void ContextWareEdit_Click(System::Object^  sender, System::EventArgs^  e) {
10 cycrow 4581
			 SWares *w = ((CSpkFile *)m_pPackage)->FindWare(CyStringFromSystemString(m_pSelectedItem->Text).ToString());
1 cycrow 4582
			 if ( w )
4583
			 {
4584
				 AddWare ^aw = gcnew AddWare;
4585
				 aw->SetEdit(SystemStringFromCyString(w->sID));
4586
				 aw->SetType(CPackages::ConvertWareType(w->cType));
4587
				 aw->SetSize(w->iSize);
4588
				 aw->SetPrice(w->iPrice);
4589
				 aw->SetMinNotoriety(w->iNotority);
4590
				 aw->SetVolumn(w->iVolumn);
4591
				 if ( w->iTextPage == 0 || w->iTextID <= 0 )
4592
					 aw->SetNoText();
4593
				 else
4594
					 aw->SetTextPage(w->iTextPage, w->iTextID);
4595
				 if ( aw->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4596
				 {
4597
					 w->cType = CPackages::ConvertWareTypeBack(aw->GetType());
4598
					 w->iNotority = aw->GetMinNotoriety();
4599
					 w->iPrice = aw->GetPrice();
4600
					 w->iVolumn = aw->GetVolumn();
4601
					 w->iSize = aw->GetSize();
4602
					 w->iTextID = aw->GetTextID();
4603
					 w->iTextPage = aw->GetTextPage();
4604
					 this->UpdateWares();
4605
				 }
4606
			 }
4607
		 }
4608
private: System::Void ListWares_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
4609
			 this->UpdateWareText();
4610
		 }
4611
private: System::Void ContextWareText_Opening(System::Object^  sender, System::ComponentModel::CancelEventArgs^  e) {
4612
			Point ^mousePoint = this->ListWareText->PointToClient(this->ContextWareText->MousePosition);
4613
			ListViewItem ^item = this->ListWareText->GetItemAt(mousePoint->X, mousePoint->Y);
4614
 
4615
			this->ContextWTEdit->Visible = (item) ? true : false;
4616
			this->ContextWTSep1->Visible = (item) ? true : false;
4617
			this->ContextWTRemove->Visible = (item) ? true : false;
4618
 
4619
			if ( this->ListWareText->Items->Count )
4620
			{
4621
				this->ContextWTClear->Visible = true;
4622
				this->ContextWTSep2->Visible = true;
4623
			}
4624
			else
4625
			{
4626
				this->ContextWTClear->Visible = false;
4627
				this->ContextWTSep2->Visible = false;
4628
			}
4629
 
4630
			m_pSelectedItem = item;
4631
			e->Cancel = false;
4632
		 }
4633
private: System::Void ContextWTClear_Click(System::Object^  sender, System::EventArgs^  e) {
4634
			 if ( this->ListWares->SelectedItems->Count )
4635
			 {
10 cycrow 4636
				 SWares *w = ((CSpkFile *)m_pPackage)->FindWare(CyStringFromSystemString(this->ListWares->SelectedItems[0]->Text).ToString());
1 cycrow 4637
				 if ( w )
4638
				 {
4639
					 w->lText.clear();
4640
					 this->UpdateWareText();
4641
				 }
4642
			 }
4643
		 }
4644
private: System::Void addTextToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
10 cycrow 4645
			 SWares *w = ((CSpkFile *)m_pPackage)->FindWare(CyStringFromSystemString(this->ListWares->SelectedItems[0]->Text).ToString());
1 cycrow 4646
			 if ( w )
4647
			 {
4648
				 AddWareText ^wt = gcnew AddWareText(SystemStringFromCyString(w->sID));
4649
				 if ( wt->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4650
				 {
10 cycrow 4651
					 ((CSpkFile *)m_pPackage)->AddWareText(w, wt->GetLang(), CyStringFromSystemString(wt->GetName()).ToString(), CyStringFromSystemString(wt->GetDescription()).ToString());
1 cycrow 4652
					 this->UpdateWareText();
4653
				 }
4654
			 }
4655
		 }
4656
 
4657
private: System::Void ContextWTEdit_Click(System::Object^  sender, System::EventArgs^  e) {
10 cycrow 4658
			 SWares *w = ((CSpkFile *)m_pPackage)->FindWare(CyStringFromSystemString(this->ListWares->SelectedItems[0]->Text).ToString());
1 cycrow 4659
			 if ( w )
4660
			 {
4661
				 AddWareText ^wt = gcnew AddWareText(SystemStringFromCyString(w->sID));
4662
				 wt->SetEdit(System::Convert::ToInt32(m_pSelectedItem->Text));
4663
				 wt->SetName(m_pSelectedItem->SubItems[1]->Text);
4664
				 wt->SetDesc(m_pSelectedItem->SubItems[2]->Text);
4665
				 if ( wt->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4666
				 {
10 cycrow 4667
					 ((CSpkFile *)m_pPackage)->AddWareText(w, wt->GetLang(), CyStringFromSystemString(wt->GetName()).ToString(), CyStringFromSystemString(wt->GetDescription()).ToString());
1 cycrow 4668
					 this->UpdateWareText();
4669
				 }
4670
			 }
4671
		 }
4672
private: System::Void ContextWTRemove_Click(System::Object^  sender, System::EventArgs^  e) {
4673
			 if ( this->ListWareText->SelectedItems->Count )
4674
			 {
4675
				 for ( int i = 0; i < this->ListWareText->SelectedItems->Count; i++ )
10 cycrow 4676
					 ((CSpkFile *)m_pPackage)->RemoveWareText(CyStringFromSystemString(this->ListWares->SelectedItems[0]->Text).ToString(), System::Convert::ToInt32(this->ListWareText->SelectedItems[i]->Text));
1 cycrow 4677
				 this->UpdateWareText();
4678
			 }
4679
		 }
4680
private: System::Void ContextFiles_Opening(System::Object^  sender, System::ComponentModel::CancelEventArgs^  e) {
4681
			Point ^mousePoint = this->ListFiles->PointToClient(this->ContextFiles->MousePosition);
4682
			ListViewItem ^item = this->ListFiles->GetItemAt(mousePoint->X, mousePoint->Y);
4683
 
4684
			this->convertToAutoTextFileToolStripMenuItem->Visible = false;
4685
			this->convertToFakePatchToolStripMenuItem->Visible = false;
4686
			this->convertToNormalModToolStripMenuItem->Visible = false;
4687
			this->packFileToolStripMenuItem->Visible = false;
4688
			this->unpackFileToolStripMenuItem->Visible = false;
4689
			this->ContextFileEdit->Visible = false;
4690
			this->renameFileToolStripMenuItem->Visible = false;
4691
			this->ContextFileSep1->Visible = false;
4692
			if ( item )
4693
			{
4694
				int id = Convert::ToInt32(item->Tag);
4695
				C_File *f = m_pPackage->GetFileList()->Get(id);
4696
				if ( f )
4697
				{
4698
					this->ContextFileSep1->Visible = true;
4699
					this->renameFileToolStripMenuItem->Visible = true;
4700
					this->ContextFileEdit->Visible = C_File::DoesTypeHaveExtraDir(f->GetFileType());
4701
					if ( f->CheckFileExt("xml") || f->CheckFileExt("bob") || f->CheckFileExt("bod") )
4702
						this->packFileToolStripMenuItem->Visible = true;
4703
					else if ( f->CheckFileExt("pck") || f->CheckFileExt("pbb") || f->CheckFileExt("pbd") )
4704
						this->unpackFileToolStripMenuItem->Visible = true;
4705
 
4706
					if ( f->GetFileType() == FILETYPE_MOD )
4707
					{
4708
						if ( f->IsFakePatch() )
4709
							this->convertToNormalModToolStripMenuItem->Visible = true;
4710
						else
4711
							this->convertToFakePatchToolStripMenuItem->Visible = true;
4712
					}
4713
					else if ( f->GetFileType() == FILETYPE_TEXT && !f->IsAutoTextFile() )
4714
						this->convertToAutoTextFileToolStripMenuItem->Visible = true;
127 cycrow 4715
					if (_addGameItem)
4716
					{
4717
						bool any = false;
4718
						for (int i = 0; i < _addGameItem->DropDownItems->Count; ++i)
4719
						{
4720
							ToolStripItem ^toolItem = _addGameItem->DropDownItems[i];
4721
							int iGame = Convert::ToInt32(toolItem->Tag);
4722
							if (f->game() & 1 << iGame)
4723
								toolItem->Visible = false;
4724
							else
4725
							{
4726
								toolItem->Visible = true;
4727
								any = true;
4728
							}
4729
						}
4730
						_addGameItem->Enabled = any;
4731
					}
4732
					if (_removeGameItem)
4733
					{
4734
						bool any = false;
4735
						for (int i = 0; i < _removeGameItem->DropDownItems->Count; ++i)
4736
						{
4737
							ToolStripItem ^toolItem = _removeGameItem->DropDownItems[i];
4738
							int iGame = Convert::ToInt32(toolItem->Tag);
4739
							if (!(f->game() & 1 << iGame))
4740
								toolItem->Visible = false;
4741
							else
4742
							{
4743
								toolItem->Visible = true;
4744
								any = true;
4745
							}
4746
						}
4747
						_removeGameItem->Enabled = any;
4748
					}
1 cycrow 4749
				}
4750
			}
4751
			this->ContextFileDelete->Visible = (item) ? true : false;
4752
			this->ContextFileClear->Visible = (this->ListFiles->Items->Count) ? true : false;
4753
			this->ContextFileSep2->Visible = (this->ListFiles->Items->Count) ? true : false;
4754
 
127 cycrow 4755
 
1 cycrow 4756
			m_pSelectedItem = item;
4757
 
4758
			e->Cancel = false;
4759
		 }
4760
private: System::Void ButGame_Click(System::Object^  sender, System::EventArgs^  e) {
4761
			 this->ContextGames->Show(this->ButGame, this->ButGame->PointToClient(this->ButGame->MousePosition));
4762
		 }
4763
private: System::Void ContextGame_Selected(System::Object^  sender, System::EventArgs^  e) {
4764
			System::Windows::Forms::ToolStripMenuItem ^item = cli::safe_cast<System::Windows::Forms::ToolStripMenuItem ^>(sender);
4765
 
4766
			this->ButGame->ImageIndex = Convert::ToInt32(item->Tag) - 1;
4767
			this->ButGame->Text = item->Text;
4768
			this->ComboVersion->Enabled = true;
4769
			this->ButGameAdd->Enabled = true;
4770
			this->UpdateGameVersion();
4771
			this->ComboVersion->SelectedIndex = 0;
4772
		 }
127 cycrow 4773
private: System::Void SetGame_Selected(System::Object^  sender, System::EventArgs^  e);
4774
private: System::Void AddGame_Selected(System::Object^  sender, System::EventArgs^  e);
4775
private: System::Void RemoveGame_Selected(System::Object^  sender, System::EventArgs^  e);
1 cycrow 4776
private: System::Void ComboPluginType_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
4777
			 if ( m_pPackage->GetType() == TYPE_SPK )
4778
			 {
4779
				 if ( !m_bLoading )
48 cycrow 4780
					((CSpkFile *)m_pPackage)->setPluginType(this->ComboPluginType->SelectedIndex);
1 cycrow 4781
				 this->UpdateChanged();
4782
			 }
4783
		 }
4784
private: System::Void CheckExistingText_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4785
			 this->ListShipText->Visible = !this->CheckExistingText->Checked;
4786
			 this->NumTextID->Visible = this->CheckExistingText->Checked;
4787
			 if ( !m_bLoading )
4788
			 {
4789
				 if ( this->CheckExistingText->Checked )
4790
					 ((CXspFile *)m_pPackage)->SetOriginalDescription(Convert::ToInt32(this->NumTextID->Value));
4791
				 else
4792
					 ((CXspFile *)m_pPackage)->SetOriginalDescription(0);
4793
			 }
4794
			 this->UpdateChanged();
4795
		 }
4796
private: System::Void CheckShipID_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4797
			 if ( m_pPackage->GetType() == TYPE_XSP )
4798
			 {
4799
				 if ( !m_bLoading )
4800
					((CXspFile *)m_pPackage)->SetExistingShip(true);
4801
				 this->UpdateChanged();
4802
			 }
4803
 
4804
		 }
4805
private: System::Void NumTextID_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
4806
			 if ( !m_bLoading )
4807
			 {
4808
				 int i = Convert::ToInt32(this->NumTextID->Value);
4809
				 if ( i > 0 )
4810
					((CXspFile *)m_pPackage)->SetOriginalDescription(i);
4811
			 }
4812
			 this->UpdateChanged();
4813
		 }
4814
private: System::Void TextShipID_TextChanged(System::Object^  sender, System::EventArgs^  e) {
4815
			 if ( !m_bLoading )
14 cycrow 4816
				 ((CXspFile *)m_pPackage)->SetShipID(CyStringFromSystemString(this->TextShipID->Text).ToString());
1 cycrow 4817
			 this->UpdateChanged();
4818
		 }
4819
private: System::Void NumTextID_Leave(System::Object^  sender, System::EventArgs^  e) {
4820
			 if ( !m_bLoading )
4821
			 {
4822
				 int i = Convert::ToInt32(this->NumTextID->Value);
4823
				 if ( i > 0 )
4824
					((CXspFile *)m_pPackage)->SetOriginalDescription(i);
4825
			 }
4826
			 this->UpdateChanged();
4827
		 }
4828
private: System::Void CheckSYArgon_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4829
			 if ( !m_bLoading )
4830
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_ARGON, this->CheckSYArgon->Checked);
4831
			 this->UpdateChanged();
4832
		 }
4833
private: System::Void CheckSYBoron_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4834
			 if ( !m_bLoading )
4835
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_BORON, this->CheckSYBoron->Checked);
4836
			 this->UpdateChanged();
4837
		 }
4838
private: System::Void CheckSYParanid_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4839
			 if ( !m_bLoading )
4840
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_PARANID, this->CheckSYParanid->Checked);
4841
			 this->UpdateChanged();
4842
		 }
4843
private: System::Void CheckSYTeladi_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4844
			 if ( !m_bLoading )
4845
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_TELADI, this->CheckSYTeladi->Checked);
4846
			 this->UpdateChanged();
4847
		 }
4848
private: System::Void CheckSYSplit_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4849
			 if ( !m_bLoading )
4850
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_SPLIT, this->CheckSYSplit->Checked);
4851
			 this->UpdateChanged();
4852
		 }
4853
private: System::Void CheckSYPirate_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4854
			 if ( !m_bLoading )
4855
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_PIRATES, this->CheckSYPirate->Checked);
4856
			 this->UpdateChanged();
4857
		 }
4858
private: System::Void CheckSYFriend_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4859
			 if ( !m_bLoading )
4860
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_FRIEND, this->CheckSYFriend->Checked);
4861
			 this->UpdateChanged();
4862
		 }
4863
private: System::Void CheckSYXenon_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4864
			 if ( !m_bLoading )
4865
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_XENON, this->CheckSYXenon->Checked);
4866
			 this->UpdateChanged();
4867
		 }
4868
private: System::Void CheckSYTerran_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4869
			 if ( !m_bLoading )
4870
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_TERRAN, this->CheckSYTerran->Checked);
4871
			 this->UpdateChanged();
4872
		 }
4873
private: System::Void CheckSYATF_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4874
			 if ( !m_bLoading )
4875
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_ATF, this->CheckSYATF->Checked);
4876
			 this->UpdateChanged();
4877
		 }
4878
private: System::Void CheckSYYaki_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4879
			 if ( !m_bLoading )
4880
				((CXspFile *)m_pPackage)->SetShipyard(SHIPYARD_YAKI, this->CheckSYYaki->Checked);
4881
			 this->UpdateChanged();
4882
		 }
4883
private: System::Void ContextShipText_Opening(System::Object^  sender, System::ComponentModel::CancelEventArgs^  e) {
4884
			Point ^mousePoint = this->ListShipText->PointToClient(this->ContextShipText->MousePosition);
4885
			ListViewItem ^item = this->ListShipText->GetItemAt(mousePoint->X, mousePoint->Y);
4886
 
4887
			this->ContextShipTextSep2->Visible = ((CXspFile *)m_pPackage)->AnyTexts();
4888
			this->ContextShipTextClear->Visible = ((CXspFile *)m_pPackage)->AnyTexts();
4889
 
4890
			this->ContextShipTextSep1->Visible = (item) ? true : false;
4891
			this->ContextShipTextEdit->Visible = (item) ? true : false;
4892
			this->ContextShipTextRemove->Visible = (item) ? true : false;
4893
 
4894
			m_pSelectedItem = item;
4895
			e->Cancel = false;
4896
		 }
4897
private: System::Void addLanguageToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
4898
			 AddShipText ^st = gcnew AddShipText();
4899
			 if ( st->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4900
			 {
39 cycrow 4901
				 ((CXspFile *)m_pPackage)->AddText(st->GetLanguage(), CyStringFromSystemString(st->GetName()).ToString(), CyStringFromSystemString(st->GetDescription()).ToString());
1 cycrow 4902
				 this->UpdateShipText();
4903
				 this->UpdateChanged();
4904
			 }
4905
		 }
4906
private: System::Void ContextShipTextEdit_Click(System::Object^  sender, System::EventArgs^  e) {
4907
			 AddShipText ^st = gcnew AddShipText();
4908
			 st->SetEdit(Convert::ToInt32(m_pSelectedItem->Text));
4909
			 st->SetLanguage(Convert::ToInt32(m_pSelectedItem->Text));
4910
			 st->SetName(m_pSelectedItem->SubItems[1]->Text);
4911
			 st->SetDescription(m_pSelectedItem->SubItems[2]->Text);
4912
			 if ( st->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4913
			 {
39 cycrow 4914
				 ((CXspFile *)m_pPackage)->AddText(st->GetLanguage(), CyStringFromSystemString(st->GetName()).ToString(), CyStringFromSystemString(st->GetDescription()).ToString());
1 cycrow 4915
				 this->UpdateShipText();
4916
				 this->UpdateChanged();
4917
			 }
4918
		 }
4919
private: System::Void ContextShipTextRemove_Click(System::Object^  sender, System::EventArgs^  e) {
4920
			((CXspFile *)m_pPackage)->RemoveText(Convert::ToInt32(m_pSelectedItem->Text));
4921
			 this->UpdateShipText();
4922
			 this->UpdateChanged();
4923
		 }
4924
private: System::Void ContextShipTextClear_Click(System::Object^  sender, System::EventArgs^  e) {
4925
			((CXspFile *)m_pPackage)->ClearText();
4926
			this->UpdateShipText();
4927
			this->UpdateChanged();
4928
		 }
4929
private: System::Void checkBox1_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {
4930
			this->TextShipData->ReadOnly = !this->checkBox1->Checked;
4931
			if ( this->TextShipData->ReadOnly )
4932
				this->TextShipData->BackColor = System::Drawing::SystemColors::Control;
4933
			else
4934
				this->TextShipData->BackColor = System::Drawing::SystemColors::Window;
4935
		 }
4936
private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
4937
			 this->LoadShipData();
4938
		 }
4939
private: System::Void ComboShipPart_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
4940
			 this->UpdateShipPartList();
4941
		 }
4942
private: System::Void ListFiles_MouseDoubleClick(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
4943
			 if ( this->ListFiles->SelectedItems->Count )
4944
			 {
4945
				 ListViewItem ^item = this->ListFiles->SelectedItems[0];
4946
				 if ( item )
4947
				 {
4948
					 if ( C_File::DoesTypeHaveExtraDir(item->ImageIndex) )
4949
					 {
4950
						 InputBox ^input = gcnew InputBox("Enter the directory to install into", (item->SubItems->Count >= 5) ? item->SubItems[4]->Text : "");
4951
						 if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4952
						 {
4953
							 if ( item->SubItems->Count >= 5 )
4954
								item->SubItems[4]->Text = input->GetInput();
4955
							 else
4956
								 item->SubItems->Add(input->GetInput());
4957
 							 int id = CyStringFromSystemString(cli::safe_cast<System::String ^>(item->Tag)).ToInt();
4958
 							 C_File *file = m_pPackage->GetFileList()->Get(id);
4959
							 file->SetDir(CyStringFromSystemString(input->GetInput()));
4960
						 }
4961
					 }
4962
				 }
4963
			 }
4964
		 }
4965
private: System::Void ListShipText_MouseDoubleClick(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
4966
			 if ( this->ListShipText->Items->Count )
4967
			 {
4968
				 ListViewItem ^item = this->ListShipText->SelectedItems[0];
4969
				 AddShipText ^st = gcnew AddShipText();
4970
				 st->SetEdit(Convert::ToInt32(item->Text));
4971
				 st->SetLanguage(Convert::ToInt32(item->Text));
4972
				 st->SetName(item->SubItems[1]->Text);
4973
				 st->SetDescription(item->SubItems[2]->Text);
4974
				 if ( st->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4975
				 {
39 cycrow 4976
					 ((CXspFile *)m_pPackage)->AddText(st->GetLanguage(), _S(st->GetName()), _S(st->GetDescription()));
1 cycrow 4977
					 item->SubItems[1]->Text = st->GetName();
4978
					 item->SubItems[2]->Text = st->GetDescription();
4979
					 this->UpdateChanged();
4980
				 }
4981
			 }
4982
		 }
4983
private: System::Void ListNames_MouseDoubleClick(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
4984
			 if ( this->ListNames->Items->Count )
4985
			 {
4986
				 ListViewItem ^item = this->ListNames->SelectedItems[0];
4987
				InputBox ^input = gcnew InputBox("Enter the package name (Language: " + item->Text + ")", item->SubItems[1]->Text);
4988
				if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
4989
				{
46 cycrow 4990
					m_pPackage->AddLanguageName(Convert::ToInt32(item->Text), _S(input->GetInput()));
1 cycrow 4991
					item->SubItems[1]->Text = input->GetInput();
4992
					this->UpdateChanged();
4993
				}
4994
			 }
4995
		 }
4996
private: System::Void ListMirrors_MouseDoubleClick(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
4997
			 if ( this->ListMirrors->Items->Count )
4998
			 {
4999
				 ListViewItem ^item = this->ListMirrors->SelectedItems[0];
5000
				InputBox ^input = gcnew InputBox("Enter the web address for the mirror", item->Text);
5001
				if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
5002
				{
5003
					m_pPackage->RemoveWebMirror(CyStringFromSystemString(item->Text));
5004
					m_pPackage->AddWebMirror(CyStringFromSystemString(input->GetInput()));
5005
					item->Text = input->GetInput();
5006
					this->UpdateChanged();
5007
				}
5008
			 }
5009
		 }
5010
private: System::Void ListWares_MouseDoubleClick(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
5011
			 if ( this->ListWares->Items->Count )
5012
			 {
5013
				 ListViewItem ^item = this->ListWares->SelectedItems[0];
10 cycrow 5014
				 SWares *w = ((CSpkFile *)m_pPackage)->FindWare(CyStringFromSystemString(item->Text).ToString());
1 cycrow 5015
				 if ( w )
5016
				 {
5017
					 AddWare ^aw = gcnew AddWare;
5018
					 aw->SetEdit(SystemStringFromCyString(w->sID));
5019
					 aw->SetType(CPackages::ConvertWareType(w->cType));
5020
					 aw->SetSize(w->iSize);
5021
					 aw->SetPrice(w->iPrice);
5022
					 aw->SetMinNotoriety(w->iNotority);
5023
					 aw->SetVolumn(w->iVolumn);
5024
					 if ( w->iTextPage == 0 || w->iTextID <= 0 )
5025
						 aw->SetNoText();
5026
					 else
5027
						 aw->SetTextPage(w->iTextPage, w->iTextID);
5028
					 if ( aw->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
5029
					 {
5030
						 w->cType = CPackages::ConvertWareTypeBack(aw->GetType());
5031
						 w->iNotority = aw->GetMinNotoriety();
5032
						 w->iPrice = aw->GetPrice();
5033
						 w->iVolumn = aw->GetVolumn();
5034
						 w->iSize = aw->GetSize();
5035
						 w->iTextID = aw->GetTextID();
5036
						 w->iTextPage = aw->GetTextPage();
5037
						 this->UpdateWares();
5038
						 this->UpdateChanged();
5039
					 }
5040
				 }
5041
			 }
5042
		 }
5043
private: System::Void ListWareText_MouseDoubleClick(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
5044
			 if ( this->ListWareText->Items->Count )
5045
			 {
5046
				 ListViewItem ^item = this->ListWareText->SelectedItems[0];
10 cycrow 5047
				 SWares *w = ((CSpkFile *)m_pPackage)->FindWare(CyStringFromSystemString(this->ListWares->SelectedItems[0]->Text).ToString());
1 cycrow 5048
				 if ( w )
5049
				 {
5050
					 AddWareText ^wt = gcnew AddWareText(SystemStringFromCyString(w->sID));
5051
					 wt->SetEdit(System::Convert::ToInt32(item->Text));
5052
					 wt->SetName(item->SubItems[1]->Text);
5053
					 wt->SetDesc(item->SubItems[2]->Text);
5054
					 if ( wt->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
5055
					 {
10 cycrow 5056
						 ((CSpkFile *)m_pPackage)->AddWareText(w, wt->GetLang(), CyStringFromSystemString(wt->GetName()).ToString(), CyStringFromSystemString(wt->GetDescription()).ToString());
1 cycrow 5057
						 item->SubItems[1]->Text = wt->GetName();
5058
						 item->SubItems[2]->Text = wt->GetDescription();
5059
						 this->UpdateChanged();
5060
					 }
5061
				 }
5062
			 }
5063
		 }
5064
private: System::Void toolStripButton2_Click(System::Object^  sender, System::EventArgs^  e) {
5065
			 this->Save();
5066
		 }
5067
private: System::Void toolStripButton3_Click(System::Object^  sender, System::EventArgs^  e) {
5068
			 this->SaveAs();
5069
		 }
5070
private: System::Void toolStripButton1_Click(System::Object^  sender, System::EventArgs^  e) {
5071
			 bool wildcard = false;
5072
			 if ( MessageBox::Show(this, "Do you want to generate the script using wildcards for files?", "Generate Script - Wildcards", MessageBoxButtons::YesNo, MessageBoxIcon::Question) == System::Windows::Forms::DialogResult::Yes )
5073
				 wildcard = true;
5074
 
127 cycrow 5075
			Utils::CStringList list;			
5076
			if ( !m_pP->generatePackagerScript(m_pPackage, wildcard, &list, 0) )
1 cycrow 5077
				MessageBox::Show(this, "Unable to generated packager script", "Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
5078
			else
5079
			{
5080
				SaveFileDialog ^ofd = gcnew SaveFileDialog();
5081
				ofd->Filter = "Package Script (*.sps)|*.sps";
5082
				ofd->Title = "Select file to save packager script to";
5083
				ofd->AddExtension = true;
5084
				ofd->FilterIndex = 1;
5085
				ofd->RestoreDirectory = true;
5086
				if ( ofd->ShowDialog() == System::Windows::Forms::DialogResult::OK )
5087
				{
126 cycrow 5088
					if ( CFileIO(_S(ofd->FileName)).writeFile(&list) )
1 cycrow 5089
						MessageBox::Show(this, "Package script has been saved\n" + ofd->FileName, "Script Saved", MessageBoxButtons::OK, MessageBoxIcon::Information);
5090
				}
5091
			}
5092
		}
5093
private: System::Void ContextShipPart_Opening(System::Object^  sender, System::ComponentModel::CancelEventArgs^  e) {
5094
			 Point ^mousePoint = this->ListShipPart->PointToClient(this->ContextShipPart->MousePosition);
5095
			ListViewItem ^item = this->ListShipPart->GetItemAt(mousePoint->X, mousePoint->Y);
5096
 
5097
			this->ContextShipPartEdit->Visible = (item) ? true : false;
5098
			this->ContextShipPartSep1->Visible = (item) ? true : false;
5099
			this->ContextShipPartRemove->Visible = (item) ? true : false;
5100
 
5101
			this->ContextShipPartClear->Visible = (this->ListShipPart->Items->Count) ? true : false;
5102
			this->ContextShipPartSep2->Visible = (this->ListShipPart->Items->Count) ? true : false;
5103
 
5104
			this->ContextShipPartAdd->Text = "Add: " + this->ComboShipPart->Text;
5105
			m_pSelectedItem = item;
5106
			e->Cancel = false;
5107
		 }
5108
private: System::Void ContextShipPartAdd_Click(System::Object^  sender, System::EventArgs^  e) {
5109
			 this->EditShipParts(false);
5110
		 }
5111
private: System::Void ContextShipPartClear_Click(System::Object^  sender, System::EventArgs^  e) {
5112
			 CXspFile *xsp = (CXspFile *)m_pPackage;
5113
			 switch ( this->ComboShipPart->SelectedIndex )
5114
			 {
5115
				case 0:
5116
					xsp->GetComponents()->MemoryClear();
5117
					break;
5118
				case 1:
5119
					xsp->GetDummies()->MemoryClear();
5120
					break;
5121
				case 2:
5122
					xsp->GetCockpits()->MemoryClear();
5123
					break;
5124
				case 3:
5125
					xsp->GetCutData()->Clear();
5126
					break;
5127
				case 4:
5128
					xsp->GetBodies()->Clear();
5129
					break;
5130
				case 5:
5131
					xsp->GetAnimations()->Clear();
5132
					break;
5133
			 }
5134
 
5135
			 this->UpdateShipPartList();
5136
			 this->UpdateChanged();
5137
		 }
5138
private: System::Void ContextShipPartRemove_Click(System::Object^  sender, System::EventArgs^  e) {
5139
			 CXspFile *xsp = (CXspFile *)m_pPackage;
5140
			 switch ( this->ComboShipPart->SelectedIndex )
5141
			 {
5142
				case 0:
39 cycrow 5143
					if ( xsp->RemoveComponent(_S(m_pSelectedItem->Text), _S(m_pSelectedItem->SubItems[1]->Text), _S(m_pSelectedItem->SubItems[2]->Text)) )
1 cycrow 5144
						this->UpdateShipPartList();
5145
					break;
5146
				case 1:
39 cycrow 5147
					if ( xsp->RemoveDummy(_S(m_pSelectedItem->Text), _S(m_pSelectedItem->SubItems[1]->Text)) )
1 cycrow 5148
						this->UpdateShipPartList();
5149
					break;
5150
				case 2:
39 cycrow 5151
					if ( xsp->RemoveCockpit(_S(m_pSelectedItem->Text)) )
1 cycrow 5152
						this->UpdateShipPartList();
5153
					break;
5154
				case 3:
39 cycrow 5155
					if ( xsp->RemoveCutData(_S(m_pSelectedItem->Text)) )
1 cycrow 5156
						this->UpdateShipPartList();
5157
					break;
5158
				case 4:
39 cycrow 5159
					if ( xsp->RemoveBodies(_S(m_pSelectedItem->Text + ";" + m_pSelectedItem->SubItems[1]->Text)) )
1 cycrow 5160
						this->UpdateShipPartList();
5161
					break;
5162
				case 5:
39 cycrow 5163
					if ( xsp->RemoveAnimation(_S(m_pSelectedItem->Text)) )
1 cycrow 5164
						this->UpdateShipPartList();
5165
					break;
5166
			 }		
5167
			 this->UpdateChanged();
5168
		 }
5169
private: System::Void ContextShipPartEdit_Click(System::Object^  sender, System::EventArgs^  e) {
5170
			 this->EditShipParts(true);
5171
		 }
5172
private: System::Void ListShipPart_MouseDoubleClick(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
5173
			 if ( this->ListShipPart->SelectedItems->Count )
5174
			 {
5175
				 m_pSelectedItem = this->ListShipPart->SelectedItems[0];
5176
				 this->EditShipParts(true);
5177
			 }
5178
		 }
5179
private: System::Void ListFiles_DragDrop(System::Object^  sender, System::Windows::Forms::DragEventArgs^  e) {
5180
		// dropping from outside
5181
		if ( e->Data->GetDataPresent(DataFormats::FileDrop) )
5182
		{
5183
			CyStringList fileList;
5184
			cli::array<String ^> ^a = (cli::array<String ^> ^)e->Data->GetData(DataFormats::FileDrop, false);
5185
			int i;
5186
			for(i = 0; i < a->Length; i++)
5187
			{
5188
				if ( IO::DirectoryInfo(a[i]).Exists )
5189
					this->DropGetDirectories(a[i], &fileList, false);
5190
				else
18 cycrow 5191
					fileList.PushBack(CyStringFromSystemString(a[i]), CyString::Number(SPK::GetAutomaticFiletype(CyStringFromSystemString(a[i]), NULL, false)));
1 cycrow 5192
			}
5193
 
5194
			SPK::AssignAutomaticFiletypes(&fileList);
5195
 
5196
			if ( !fileList.Empty() )
5197
			{
5198
				SpkExplorer::DropFileDialog ^dropType = gcnew SpkExplorer::DropFileDialog(&fileList);
5199
				if ( dropType->ShowDialog(this) == Windows::Forms::DialogResult::OK )
5200
				{
5201
					for ( SStringList *str = fileList.Head(); str; str = str->next )
5202
					{
5203
						int type = str->data.GetToken(" ", 1, 1).ToInt();
5204
						if ( type == -1 )
5205
							continue;
5206
 
5207
						int filetype = m_pP->AdjustFileType(str->str, type);
5208
						CyString dir = (filetype == FILETYPE_EXTRA) ? "PluginManager/Extras/$scriptname" : "";
102 cycrow 5209
						CyString checkDir = CFileIO(str->str).dir().token("/", -1);
1 cycrow 5210
						if ( checkDir.Compare("types") )
5211
							dir = checkDir;
5212
 
5213
						C_File *f = m_pPackage->AddFile(str->str, dir, filetype);
5214
						if ( filetype == FILETYPE_MOD && CFileIO(str->str).CheckFileExtension("cat"))
5215
							m_pPackage->AddFile(CFileIO(str->str).ChangeFileExtension("dat"), "", filetype);
5216
						else if ( filetype == FILETYPE_MOD && CFileIO(str->str).CheckFileExtension("dat"))
5217
							m_pPackage->AddFile(CFileIO(str->str).ChangeFileExtension("cat"), "", filetype);
5218
					}
5219
					this->UpdateFileList();
5220
					this->UpdateDisplayPic();
5221
					this->UpdateChanged();
5222
				}
5223
			}
5224
			return;
5225
		}
5226
		 }
5227
private: System::Void ListFiles_DragOver(System::Object^  sender, System::Windows::Forms::DragEventArgs^  e) {
5228
			e->Effect = DragDropEffects::None;
5229
			if ( e->Data->GetDataPresent(DataFormats::FileDrop) )
5230
				e->Effect = DragDropEffects::Copy;
5231
		 }
5232
private: System::Void ContextDep_Opening(System::Object^  sender, System::ComponentModel::CancelEventArgs^  e) {
5233
			 Point ^mousePoint = this->ListDep->PointToClient(this->ContextDep->MousePosition);
5234
			ListViewItem ^item = this->ListDep->GetItemAt(mousePoint->X, mousePoint->Y);
5235
 
5236
			this->editSelectedToolStripMenuItem->Visible = (item) ? true : false;
5237
			this->ContextDepRemove->Visible = (item) ? true : false;
5238
			this->ContextDepSep1->Visible = (item) ? true : false;
5239
 
5240
			bool clear = (this->ListDep->Items->Count) ? true : false;
5241
 
5242
			if ( this->ListDep->Items->Count == 1 && String::Compare("<package>", this->ListDep->Items[0]->Text) == 0 && String::Compare("<author>", this->ListDep->Items[0]->SubItems[1]->Text) == 0)
5243
				clear = false;
5244
 
5245
			this->ContextDepClear->Visible = clear;
5246
			this->ContextDepSep2->Visible = clear;
5247
 
5248
			if ( item && String::Compare("<package>", item->Text) == 0 && String::Compare("<author>", item->SubItems[1]->Text) == 0 )
5249
				this->ContextDepRemove->Visible = false;
5250
			m_pSelectedItem = item;
5251
			e->Cancel = false;
5252
		 }
5253
private: System::Void ContextDepClear_Click(System::Object^  sender, System::EventArgs^  e) {
5254
			 m_pPackage->ClearNeededPackages();
5255
			 this->UpdateDependacies();
5256
			 this->UpdateChanged();
5257
		 }
5258
private: System::Void ContextDepRemove_Click(System::Object^  sender, System::EventArgs^  e) {
5259
			 if ( String::Compare("<package>", m_pSelectedItem->Text) == 0 && String::Compare("<author>", m_pSelectedItem->SubItems[1]->Text) == 0 )
5260
				 return;
46 cycrow 5261
			 m_pPackage->RemovePackageNeeded(_S(m_pSelectedItem->Text), _S(m_pSelectedItem->SubItems[1]->Text));
1 cycrow 5262
			 this->UpdateDependacies();
5263
			 this->UpdateChanged();
5264
		 }
5265
private: System::Void manualToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5266
			 AddDepend ^depend = gcnew AddDepend();
5267
			 if ( depend->ShowDialog(this) == Windows::Forms::DialogResult::OK )
5268
			 {
46 cycrow 5269
				 m_pPackage->AddNeededLibrary(_S(depend->GetName()), _S(depend->GetAuthor()), _S(depend->GetVersion()));
1 cycrow 5270
				 this->UpdateDependacies();
5271
				 this->UpdateChanged();
5272
			 }
5273
		 }
5274
private: System::Void fromPackageToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5275
			OpenFileDialog ^ofd = gcnew OpenFileDialog();
5276
			ofd->Filter = "Package Files (*.spk)|*.spk";
5277
			ofd->Title = "Select the package to be used as a dependacy";
5278
			ofd->FilterIndex = 1;
5279
			ofd->RestoreDirectory = true;
5280
			ofd->Multiselect = false;
5281
 
5282
			if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
5283
			{
5284
				int error;
5285
				CBaseFile *p = m_pP->OpenPackage(CyStringFromSystemString(ofd->FileName), &error, 0, SPKREAD_VALUES);
5286
				if ( p )
5287
				{
50 cycrow 5288
					m_pPackage->AddNeededLibrary(p->name(), p->author(), p->version());
1 cycrow 5289
					this->UpdateDependacies();
5290
					 this->UpdateChanged();
5291
				}
5292
			}
5293
		 }
5294
private: System::Void editSelectedToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5295
			 this->EditDepend();
5296
		 }
5297
private: System::Void ListDep_MouseDoubleClick(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
5298
			 if ( this->ListDep->SelectedItems->Count )
5299
			 {
5300
				 m_pSelectedItem = this->ListDep->SelectedItems[0];
5301
				 this->EditDepend();
5302
			 }
5303
		 }
5304
private: System::Void ContextFileClear_Click(System::Object^  sender, System::EventArgs^  e) {
5305
			 m_pPackage->GetFileList()->MemoryClear();
50 cycrow 5306
			 m_pPackage->adjustChanged(true);
1 cycrow 5307
			 this->UpdateChanged();
5308
			 this->UpdateFileList();
5309
			 this->UpdateDisplayPic();
5310
		 }
5311
private: System::Void ContextFileDelete_Click(System::Object^  sender, System::EventArgs^  e) {
5312
			 this->RemoveSelectedFiles();
5313
		 }
5314
private: System::Void addFileToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5315
			 this->AddNewFile();
5316
		 }
5317
private: System::Void ContextFileEdit_Click(System::Object^  sender, System::EventArgs^  e) {
5318
			 InputBox ^input = gcnew InputBox("Enter the directory to install into", m_pSelectedItem->SubItems[4]->Text);
5319
			 if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
5320
			 {
5321
				 m_pSelectedItem->SubItems[4]->Text = input->GetInput();
5322
				 int id = Convert::ToInt32(m_pSelectedItem->Tag);
5323
				 C_File *file = m_pPackage->GetFileList()->Get(id);
5324
				 file->SetDir(CyStringFromSystemString(input->GetInput()));
5325
			 }
5326
		 }
5327
private: System::Void TextWebAddress_TextChanged_1(System::Object^  sender, System::EventArgs^  e) {
49 cycrow 5328
			 if ( !m_bLoading )	 m_pPackage->setWebAddress(_S(this->TextWebAddress->Text));
1 cycrow 5329
			 this->UpdateChanged();
5330
		 }
5331
private: System::Void TextCustomType_TextChanged(System::Object^  sender, System::EventArgs^  e) {
5332
			 if ( !m_bLoading )
39 cycrow 5333
				 ((CSpkFile *)m_pPackage)->SetScriptType(_S(this->TextCustomType->Text));
1 cycrow 5334
			 this->UpdateChanged();
5335
		 }
5336
private: System::Void fromFileToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5337
			OpenFileDialog ^ofd = gcnew OpenFileDialog();
5338
			ofd->Filter = "Text Files (*.xml *.pck)|*.xml;*.pck";
5339
			ofd->Title = "Select the text file(s) to load text from";
5340
			ofd->FilterIndex = 1;
5341
			ofd->RestoreDirectory = true;
5342
			ofd->Multiselect = true;
5343
 
5344
			if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
5345
			{
5346
				array<System::String ^> ^fileArray = ofd->FileNames;
5347
				for ( int i = 0; i < fileArray->Length; i++ )
5348
				{
39 cycrow 5349
					((CXspFile *)m_pPackage)->AddTextFromFile(_S(fileArray[i]));
50 cycrow 5350
					m_pPackage->adjustChanged(true);
1 cycrow 5351
				}
5352
				this->UpdateShipText();
5353
				this->UpdateChanged();
5354
			}
5355
		 }
5356
private: System::Void fromDirectoryToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5357
				FolderBrowserDialog ^fbd = gcnew FolderBrowserDialog;
5358
				fbd->Description = "Select the path to load text files from";
5359
				if ( fbd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
5360
				{
5361
					bool added = false;
5362
					array <System::String ^> ^Files = System::IO::Directory::GetFiles(fbd->SelectedPath, "*.xml");
5363
					for ( int i = 0; i < Files->Length; i++ )
5364
					{
5365
						CyString file = CyStringFromSystemString(Files[i]);
5366
						if ( m_pP->AdjustFileType(file, -1) == FILETYPE_TEXT )
5367
						{
39 cycrow 5368
							if ( ((CXspFile *)m_pPackage)->AddTextFromFile(file.ToString()) )
1 cycrow 5369
								added = true;
5370
						}
5371
					}
5372
					Files = System::IO::Directory::GetFiles(fbd->SelectedPath, "*.pck");
5373
					for ( int i = 0; i < Files->Length; i++ )
5374
					{
5375
						CyString file = CyStringFromSystemString(Files[i]);
5376
						if ( m_pP->AdjustFileType(file, -1) == FILETYPE_TEXT )
5377
						{
39 cycrow 5378
							if ( ((CXspFile *)m_pPackage)->AddTextFromFile(file.ToString()) )
1 cycrow 5379
								added = true;
5380
						}
5381
					}
5382
 
5383
					if ( added )
5384
					{
5385
						this->UpdateShipText();
5386
						this->UpdateChanged();
5387
					}
5388
				}
5389
		 }
5390
private: System::Void fromModToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5391
			OpenFileDialog ^ofd = gcnew OpenFileDialog();
5392
			ofd->Filter = "X Mod Files (*.cat)|*.cat";
5393
			ofd->Title = "Select the mod files to extract texts from";
5394
			ofd->FilterIndex = 1;
5395
			ofd->RestoreDirectory = true;
5396
			ofd->Multiselect = true;
5397
 
5398
			if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
5399
			{
5400
				array<System::String ^> ^fileArray = ofd->FileNames;
5401
				for ( int i = 0; i < fileArray->Length; i++ )
5402
				{
5403
					CCatFile cat;
125 cycrow 5404
					if ( cat.open(_S(fileArray[i]), "", CATREAD_CATDECRYPT, false) == CATERR_NONE )
31 cycrow 5405
						((CXspFile *)m_pPackage)->ExtractTexts(&cat, NULL, -1);
1 cycrow 5406
				}
5407
				this->UpdateShipText();
5408
				this->UpdateChanged();
5409
			}
5410
 
5411
		 }
5412
private: System::Void importToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5413
			OpenFileDialog ^ofd = gcnew OpenFileDialog();
5414
			ofd->FilterIndex = 1;
5415
			ofd->RestoreDirectory = true;
5416
			ofd->Multiselect = false;
5417
			String ^type;
5418
 
5419
			switch ( this->ComboShipPart->SelectedIndex )
5420
			{
5421
				case 0:
5422
					type = "Components";
5423
					break;
5424
				case 1:
5425
					type = "Dummies";
5426
					break;
5427
				case 2:
5428
					type = "TCockpits";
5429
					break;
5430
				case 3:
5431
					type = "CutData";
5432
					break;
5433
				case 4:
5434
					type = "Bodies";
5435
					break;
5436
				case 5:
5437
					type = "Animations";
5438
					break;
5439
			}
5440
			ofd->Filter = "All|" + type + ".pck;" + type + ".txt;*.cat|Mod Files|*.cat|" + type + "|" + type + ".pck;" + type + ".txt";
5441
			ofd->Title = "Select the " + type + "/mod file to import data from";
5442
 
5443
			if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
5444
			{
5445
				String ^f = ExtractImport(ofd->FileName, type);
5446
 
5447
				if ( !f->Length )
5448
				{
5449
					MessageBox::Show(this, "No data to import from file\n" + ofd->FileName + "\nType = " + type, "Error Importing", MessageBoxButtons::OK, MessageBoxIcon::Error);
5450
					return;
5451
				}
5452
 
5453
				switch ( this->ComboShipPart->SelectedIndex )
5454
				{
5455
					case 0:
5456
					case 1:
5457
					case 2:
5458
					case 3:
5459
					case 4:
5460
						this->ImportData(f, this->ComboShipPart->SelectedIndex);
5461
						break;
5462
					case 5:
5463
						this->ImportAnimations(f);
5464
						break;
5465
				}
5466
 
79 cycrow 5467
				if ( IO::File::Exists(_US(CPackages::tempDirectory() + "tmp.dat")) )
5468
					IO::File::Delete(_US(CPackages::tempDirectory() + "tmp.dat"));
1 cycrow 5469
			}
5470
		 }
5471
private: System::Void TextShipData_TextChanged(System::Object^  sender, System::EventArgs^  e) {
14 cycrow 5472
			 ((CXspFile *)m_pPackage)->SetShipData(CyStringFromSystemString(this->TextShipData->Text).ToString());
1 cycrow 5473
			 this->UpdateChanged();
5474
		 }
5475
private: System::Void toolTip1_Popup(System::Object^  sender, System::Windows::Forms::PopupEventArgs^  e) {
5476
			 ToolTip ^tip = cli::safe_cast<ToolTip ^>(sender);
5477
			 tip->ToolTipTitle = e->AssociatedControl->Text;
5478
		 }
5479
private: System::Void toolTip2_Popup(System::Object^  sender, System::Windows::Forms::PopupEventArgs^  e) {
5480
			 ToolTip ^tip = cli::safe_cast<ToolTip ^>(sender);
5481
			 tip->ToolTipTitle = Convert::ToString(e->AssociatedControl->Tag);
5482
		 }
5483
private: System::Void packFileToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5484
			 if ( !m_pSelectedItem ) return;
5485
 
5486
			 int id = Convert::ToInt32(m_pSelectedItem->Tag);
5487
			 C_File *f = m_pPackage->GetFileList()->Get(id);
5488
 
5489
			 if ( f )
5490
			 {
5491
				 if ( !f->PCKFile() )
5492
					 MessageBox::Show(this, "There was a problem trying to pack the file\n" + SystemStringFromCyString(f->GetFilename()), "Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
5493
				 else
5494
				 {
5495
					if ( f->CheckFileExt("bob") )
5496
						f->ChangeFileExt("pbb");
5497
					else if ( f->CheckFileExt("bod") )
5498
						f->ChangeFileExt("pbd");
5499
					else
5500
						f->ChangeFileExt("pck");
5501
					m_pSelectedItem->SubItems[1]->Text = SystemStringFromCyString(CyString("<PACKAGE>/") + f->GetNameDirectory(NULL));
5502
					m_pSelectedItem->SubItems[2]->Text = SystemStringFromCyString(f->GetUncompressedSizeString());
5503
 
50 cycrow 5504
					m_pPackage->adjustChanged(true);
1 cycrow 5505
					this->UpdateChanged();
5506
				 }
5507
			 }
5508
		 }
5509
private: System::Void unpackFileToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5510
			 if ( !m_pSelectedItem ) return;
5511
 
5512
			 int id = Convert::ToInt32(m_pSelectedItem->Tag);
5513
			 C_File *f = m_pPackage->GetFileList()->Get(id);
5514
 
5515
			 if ( f )
5516
			 {
5517
				 if ( !f->UnPCKFile() )
5518
					 MessageBox::Show(this, "There was a problem trying to unpack the file\n" + SystemStringFromCyString(f->GetFilename()), "Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
5519
				 else
5520
				 {
5521
					if ( f->CheckFileExt("pbb") )
5522
						f->ChangeFileExt("bob");
5523
					else if ( f->CheckFileExt("pbd") )
5524
						f->ChangeFileExt("bod");
5525
					else
5526
						f->ChangeFileExt("xml");
5527
					m_pSelectedItem->SubItems[1]->Text = SystemStringFromCyString(CyString("<PACKAGE>/") + f->GetNameDirectory(NULL));
5528
					m_pSelectedItem->SubItems[2]->Text = SystemStringFromCyString(f->GetUncompressedSizeString());
5529
 
50 cycrow 5530
					m_pPackage->adjustChanged(true);
1 cycrow 5531
					this->UpdateChanged();
5532
				 }
5533
			 }
5534
		 }
5535
private: System::Void convertToFakePatchToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5536
			 if ( !m_pSelectedItem ) return;
5537
 
5538
			 int id = Convert::ToInt32(m_pSelectedItem->Tag);
5539
			 C_File *f = m_pPackage->GetFileList()->Get(id);
5540
 
5541
			 if ( f )
5542
			 {
5543
				 m_pPackage->ConvertFakePatch(f);
5544
				 this->UpdateFileList();
5545
			 }
5546
		 }
5547
private: System::Void convertToNormalModToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5548
			 if ( !m_pSelectedItem ) return;
5549
 
5550
			 int id = Convert::ToInt32(m_pSelectedItem->Tag);
5551
			 C_File *f = m_pPackage->GetFileList()->Get(id);
5552
 
5553
			 if ( f )
5554
			 {
5555
				 InputBox ^input = gcnew InputBox("Enter the name you want the mod to be called");
5556
				 if ( input->ShowDialog(this) == Windows::Forms::DialogResult::OK )
5557
				 {
5558
					 if ( input->GetInput()->Length )
5559
					 {
5560
						 m_pPackage->ConvertNormalMod(f, CyStringFromSystemString(input->GetInput()));
5561
						 this->UpdateFileList();
5562
					 }
5563
				 }
5564
			 }
5565
		 }
5566
private: System::Void renameFileToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5567
			 if ( !m_pSelectedItem ) return;
5568
 
5569
			 int id = Convert::ToInt32(m_pSelectedItem->Tag);
5570
			 C_File *f = m_pPackage->GetFileList()->Get(id);
5571
 
5572
			 if ( f )
5573
			 {
5574
				 InputBox ^input = gcnew InputBox("Enter the new file name to change to", SystemStringFromCyString(f->GetBaseName()));
5575
				 if ( input->ShowDialog(this) == Windows::Forms::DialogResult::OK )
5576
				 {
5577
					 if ( input->GetInput()->Length )
5578
					 {
5579
						 m_pPackage->RenameFile(f, CyStringFromSystemString(input->GetInput()));
5580
						 this->UpdateFileList();
5581
					 }
5582
				 }
5583
			 }
5584
		 }
5585
private: System::Void toolStripButton4_Click(System::Object^  sender, System::EventArgs^  e) {
49 cycrow 5586
			 if ( m_pPackage->webAddress().empty() )
1 cycrow 5587
				 MessageBox::Show(this, "You dont have a primary web address set, you need an address for automatic updates to work", "No Web Address", MessageBoxButtons::OK, MessageBoxIcon::Asterisk);
5588
			 else
5589
			 {
5590
				FolderBrowserDialog ^fbd = gcnew FolderBrowserDialog;
5591
				fbd->Description = "Select the path to save the update file to";
102 cycrow 5592
				fbd->SelectedPath = SystemStringFromCyString(CFileIO(m_pPackage->filename()).dir().findReplace("/", "\\"));
1 cycrow 5593
				if ( fbd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
5594
				{
5595
					CyString file = m_pPackage->CreateUpdateFile(CyStringFromSystemString(fbd->SelectedPath));
5596
					if ( !file.Empty() )
49 cycrow 5597
						MessageBox::Show(this, "Update file has been created\n" + SystemStringFromCyString(file) + "\n\nRemember to upload it your web server so its accessable\n" + _US(m_pPackage->webAddress()), "Update File Created", MessageBoxButtons::OK, MessageBoxIcon::Information);
1 cycrow 5598
				}
5599
			}
5600
		 }
5601
private: System::Void button5_Click(System::Object^  sender, System::EventArgs^  e) {
94 cycrow 5602
			 CustomiseShip ^ship = gcnew CustomiseShip((CXspFile *)m_pPackage, this->MdiParent, m_pP, this->imageListSmall, this->imageListLarge, this->gameDirectories());
1 cycrow 5603
			 if ( ship->ShowDialog(this) == Windows::Forms::DialogResult::OK )
5604
				 this->UpdateView();
5605
		 }
5606
private: System::Void ToolCustomise_Click(System::Object^  sender, System::EventArgs^  e) {
94 cycrow 5607
			 CustomiseShip ^ship = gcnew CustomiseShip((CXspFile *)m_pPackage, this->MdiParent, m_pP, this->imageListSmall, this->imageListLarge, this->gameDirectories());
1 cycrow 5608
			 if ( ship->ShowDialog(this) == Windows::Forms::DialogResult::OK )
5609
				 this->UpdateView();
5610
		 }
5611
private: System::Void PackageForm_Load(System::Object^  sender, System::EventArgs^  e) {
5612
			this->UpdateView();
5613
		 }
5614
private: System::Void toolStripButton5_Click(System::Object^  sender, System::EventArgs^  e) {
5615
			 this->Export();
5616
		 }
5617
private: System::Void convertToAutoTextFileToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
5618
			 if ( !m_pSelectedItem ) return;
5619
 
5620
			 int id = Convert::ToInt32(m_pSelectedItem->Tag);
5621
			 C_File *f = m_pPackage->GetFileList()->Get(id);
5622
 
5623
			 if ( f )
5624
			 {
5625
				 m_pPackage->ConvertAutoText(f);
5626
				 this->UpdateFileList();
5627
			 }
5628
		 }
5629
private: System::Void ButGameAdd_Click(System::Object^  sender, System::EventArgs^  e) {
5630
			 if ( ButGame->ImageIndex < 0 )
5631
				 return;
5632
 
5633
			 if ( this->TextExactVersion->Visible )
46 cycrow 5634
				m_pPackage->AddGameCompatability(ButGame->ImageIndex + 1, _S(this->TextExactVersion->Text));
1 cycrow 5635
			 else
46 cycrow 5636
				m_pPackage->AddGameCompatability(ButGame->ImageIndex + 1, (long)this->ComboVersion->SelectedIndex);
1 cycrow 5637
 
5638
			 this->UpdateGamesList();
5639
			 ButGame->Text = "- Select Game -";
5640
			 this->TextExactVersion->Text = "";
5641
			 this->TextExactVersion->Visible = false;
5642
			 this->ComboVersion->Items->Clear();
5643
			 this->ComboVersion->Enabled = false;
5644
			 ButGame->ImageIndex = -1;
5645
			 this->ButGameAdd->Enabled = false;
5646
			 this->UpdateChanged();
5647
		 }
5648
private: System::Void ListGames_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
5649
 
5650
			if ( !this->ListGames->SelectedItems->Count )
5651
				 return;
5652
 
5653
			System::Windows::Forms::ListViewItem ^item = this->ListGames->SelectedItems[0];
5654
			if ( item ) {
5655
				int game = Convert::ToInt32(item->Tag);
5656
				if ( game ) {
5657
					SGameCompat *g = m_pPackage->GetGameCompatability(game);
5658
					if ( g ) {
5659
						SGameExe *exe = m_pP->GetGameExe()->GetGame(game - 1);
5660
						if ( exe ) {
5661
							this->ButGame->ImageIndex = game - 1;
5662
							this->ButGame->Text = SystemStringFromCyString(exe->sName);
5663
							this->ComboVersion->Enabled = true;
5664
							this->ButGameAdd->Enabled = true;
5665
							this->UpdateGameVersion();
46 cycrow 5666
							if ( !g->sVersion.empty() ) {
1 cycrow 5667
								this->ComboVersion->SelectedIndex = this->ComboVersion->Items->Count - 1;
5668
								this->TextExactVersion->Visible = true;
5669
								this->TextExactVersion->Text = SystemStringFromCyString(g->sVersion);
5670
							}
5671
							else {
5672
								this->ComboVersion->SelectedIndex = g->iVersion;
5673
								this->TextExactVersion->Visible = false;
5674
							}
5675
							this->UpdateChanged();
5676
						}
5677
					}
5678
				}
5679
			}
5680
		 }
5681
private: System::Void ListGames_DoubleClick(System::Object^  sender, System::EventArgs^  e) {
5682
			if ( !this->ListGames->SelectedItems->Count )
5683
				 return;
5684
 
5685
			System::Windows::Forms::ListViewItem ^item = this->ListGames->SelectedItems[0];
5686
			if ( !item ) return;
5687
 
5688
			int game = Convert::ToInt32(item->Tag);
5689
			if ( !game ) return;	
5690
 
5691
			m_pPackage->RemoveGameCompatability(game);
5692
			this->UpdateGamesList();
5693
			this->UpdateChanged();
5694
		 }
5695
private: System::Void ComboGameFilter_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
5696
			 this->UpdateFileList();
5697
		 }
5698
};
5699
}