Subversion Repositories spk

Rev

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