Subversion Repositories spk

Rev

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