Subversion Repositories spk

Rev

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