Subversion Repositories spk

Rev

Rev 170 | 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
 
11
namespace Creator {
12
 
13
	/// <summary>
14
	/// Summary for ImportShip
15
	///
16
	/// WARNING: If you change the name of this class, you will need to change the
17
	///          'Resource File Name' property for the managed resource compiler tool
18
	///          associated with all .resx files this class depends on.  Otherwise,
19
	///          the designers will not be able to interact properly with localized
20
	///          resources associated with this form.
21
	/// </summary>
22
	public ref class ImportShip : public System::Windows::Forms::Form
23
	{
36 cycrow 24
	private:
25
		int				 m_iStatus;
26
		bool			 m_bError;
218 cycrow 27
		Utils::WStringList	*_lModels;
36 cycrow 28
		CProgressInfo	*m_pInfo;
29
		String			^m_sID;
30
		CXspFile		*m_pShip;
31
		String			^m_sError;
32
		CVirtualFileSystem *m_pVfs;
116 cycrow 33
		String			^_sShipName;
36 cycrow 34
 
1 cycrow 35
	public:
116 cycrow 36
		ImportShip(String ^id, String ^shipName, CVirtualFileSystem *vfs);
1 cycrow 37
 
19 cycrow 38
		String ^getErrorString() { return m_sError; }
1 cycrow 39
		CXspFile *GetShip() { return m_pShip; }
40
 
36 cycrow 41
		void StartImport();
1 cycrow 42
		bool Error() { return m_bError; }
36 cycrow 43
		void Import();
1 cycrow 44
 
36 cycrow 45
	protected:
46
		void _runNext();
47
		void _cleanUp();
1 cycrow 48
 
49
		/// <summary>
50
		/// Clean up any resources being used.
51
		/// </summary>
52
		~ImportShip()
53
		{
54
			if (components)
55
			{
56
				delete components;
57
			}
36 cycrow 58
			this->_cleanUp();
1 cycrow 59
		}
36 cycrow 60
////////////////////////////////////////////////////////////////////////////////////////////
1 cycrow 61
	private:
62
	private: System::ComponentModel::BackgroundWorker^  backgroundWorker1;
63
	private: System::Windows::Forms::Label^  label1;
64
	private: System::Windows::Forms::Panel^  panel1;
65
	private: System::Windows::Forms::PictureBox^  pictureBox1;
66
	private: System::Windows::Forms::Panel^  panel2;
67
	private: System::Windows::Forms::PictureBox^  pictureBox2;
68
	private: System::Windows::Forms::Panel^  panel3;
69
	private: System::Windows::Forms::Label^  label11;
36 cycrow 70
	private: System::Windows::Forms::PictureBox^  pictureBox4;
1 cycrow 71
	private: System::Windows::Forms::Panel^  panel4;
72
	private: System::Windows::Forms::Label^  label2;
36 cycrow 73
	private: System::Windows::Forms::PictureBox^  pictureBox5;
1 cycrow 74
	private: System::Windows::Forms::Panel^  panel5;
75
	private: System::Windows::Forms::Label^  label3;
36 cycrow 76
	private: System::Windows::Forms::PictureBox^  pictureBox3;
1 cycrow 77
	private: System::Windows::Forms::Panel^  panel6;
78
	private: System::Windows::Forms::Label^  label12;
79
	private: System::Windows::Forms::PictureBox^  pictureBox6;
80
	private: System::Windows::Forms::Panel^  panel7;
81
	private: System::Windows::Forms::Label^  label13;
82
	private: System::Windows::Forms::PictureBox^  pictureBox7;
83
	private: System::Windows::Forms::Panel^  panel8;
84
	private: System::Windows::Forms::Label^  label14;
85
	private: System::Windows::Forms::PictureBox^  pictureBox8;
36 cycrow 86
	private: System::Windows::Forms::Label^  label10;
87
	private: System::Windows::Forms::Panel^  panel9;
88
	private: System::Windows::Forms::Label^  label15;
89
	private: System::Windows::Forms::PictureBox^  pictureBox9;
90
	private: System::Windows::Forms::Panel^  panel10;
91
	private: System::Windows::Forms::Label^  label4;
92
	private: System::Windows::Forms::PictureBox^  pictureBox10;
93
	private: System::Windows::Forms::Button^  button1;
94
	private: System::Windows::Forms::Panel^  panel11;
1 cycrow 95
	private: System::ComponentModel::IContainer^  components;
36 cycrow 96
		/// <summary>
1 cycrow 97
		/// Required designer variable.
98
		/// </summary>
99
 
100
#pragma region Windows Form Designer generated code
101
		/// <summary>
102
		/// Required method for Designer support - do not modify
103
		/// the contents of this method with the code editor.
104
		/// </summary>
105
		void InitializeComponent(void)
106
		{
107
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(ImportShip::typeid));
108
			this->backgroundWorker1 = (gcnew System::ComponentModel::BackgroundWorker());
109
			this->label1 = (gcnew System::Windows::Forms::Label());
110
			this->panel1 = (gcnew System::Windows::Forms::Panel());
111
			this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
112
			this->panel2 = (gcnew System::Windows::Forms::Panel());
113
			this->label10 = (gcnew System::Windows::Forms::Label());
114
			this->pictureBox2 = (gcnew System::Windows::Forms::PictureBox());
115
			this->panel3 = (gcnew System::Windows::Forms::Panel());
116
			this->label11 = (gcnew System::Windows::Forms::Label());
117
			this->pictureBox4 = (gcnew System::Windows::Forms::PictureBox());
118
			this->panel4 = (gcnew System::Windows::Forms::Panel());
119
			this->label2 = (gcnew System::Windows::Forms::Label());
120
			this->pictureBox5 = (gcnew System::Windows::Forms::PictureBox());
121
			this->panel5 = (gcnew System::Windows::Forms::Panel());
122
			this->label3 = (gcnew System::Windows::Forms::Label());
123
			this->pictureBox3 = (gcnew System::Windows::Forms::PictureBox());
124
			this->panel6 = (gcnew System::Windows::Forms::Panel());
125
			this->label12 = (gcnew System::Windows::Forms::Label());
126
			this->pictureBox6 = (gcnew System::Windows::Forms::PictureBox());
127
			this->panel7 = (gcnew System::Windows::Forms::Panel());
128
			this->label13 = (gcnew System::Windows::Forms::Label());
129
			this->pictureBox7 = (gcnew System::Windows::Forms::PictureBox());
130
			this->panel8 = (gcnew System::Windows::Forms::Panel());
131
			this->label14 = (gcnew System::Windows::Forms::Label());
132
			this->pictureBox8 = (gcnew System::Windows::Forms::PictureBox());
133
			this->panel9 = (gcnew System::Windows::Forms::Panel());
134
			this->label15 = (gcnew System::Windows::Forms::Label());
135
			this->pictureBox9 = (gcnew System::Windows::Forms::PictureBox());
136
			this->panel10 = (gcnew System::Windows::Forms::Panel());
137
			this->label4 = (gcnew System::Windows::Forms::Label());
138
			this->pictureBox10 = (gcnew System::Windows::Forms::PictureBox());
139
			this->button1 = (gcnew System::Windows::Forms::Button());
140
			this->panel11 = (gcnew System::Windows::Forms::Panel());
141
			this->panel1->SuspendLayout();
142
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->BeginInit();
143
			this->panel2->SuspendLayout();
144
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox2))->BeginInit();
145
			this->panel3->SuspendLayout();
146
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox4))->BeginInit();
147
			this->panel4->SuspendLayout();
148
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox5))->BeginInit();
149
			this->panel5->SuspendLayout();
150
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox3))->BeginInit();
151
			this->panel6->SuspendLayout();
152
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox6))->BeginInit();
153
			this->panel7->SuspendLayout();
154
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox7))->BeginInit();
155
			this->panel8->SuspendLayout();
156
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox8))->BeginInit();
157
			this->panel9->SuspendLayout();
158
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox9))->BeginInit();
159
			this->panel10->SuspendLayout();
160
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox10))->BeginInit();
161
			this->panel11->SuspendLayout();
162
			this->SuspendLayout();
163
			// 
164
			// backgroundWorker1
165
			// 
166
			this->backgroundWorker1->DoWork += gcnew System::ComponentModel::DoWorkEventHandler(this, &ImportShip::backgroundWorker1_DoWork);
167
			this->backgroundWorker1->RunWorkerCompleted += gcnew System::ComponentModel::RunWorkerCompletedEventHandler(this, &ImportShip::backgroundWorker1_RunWorkerCompleted);
168
			// 
169
			// label1
170
			// 
171
			this->label1->Dock = System::Windows::Forms::DockStyle::Fill;
172
			this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
173
				static_cast<System::Byte>(0)));
174
			this->label1->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
175
			this->label1->Location = System::Drawing::Point(0, 0);
176
			this->label1->Name = L"label1";
177
			this->label1->Size = System::Drawing::Size(365, 31);
178
			this->label1->TabIndex = 0;
179
			this->label1->Text = L"Reading Mod File";
180
			this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
181
			// 
182
			// panel1
183
			// 
184
			this->panel1->Controls->Add(this->label1);
185
			this->panel1->Controls->Add(this->pictureBox1);
186
			this->panel1->Dock = System::Windows::Forms::DockStyle::Top;
187
			this->panel1->Location = System::Drawing::Point(25, 56);
188
			this->panel1->Name = L"panel1";
189
			this->panel1->Size = System::Drawing::Size(397, 31);
190
			this->panel1->TabIndex = 9;
191
			// 
192
			// pictureBox1
193
			// 
194
			this->pictureBox1->Dock = System::Windows::Forms::DockStyle::Right;
195
			this->pictureBox1->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox1.Image")));
196
			this->pictureBox1->Location = System::Drawing::Point(365, 0);
197
			this->pictureBox1->Name = L"pictureBox1";
198
			this->pictureBox1->Size = System::Drawing::Size(32, 31);
199
			this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
200
			this->pictureBox1->TabIndex = 1;
201
			this->pictureBox1->TabStop = false;
202
			// 
203
			// panel2
204
			// 
205
			this->panel2->Controls->Add(this->label10);
206
			this->panel2->Controls->Add(this->pictureBox2);
207
			this->panel2->Dock = System::Windows::Forms::DockStyle::Top;
208
			this->panel2->Location = System::Drawing::Point(25, 25);
209
			this->panel2->Name = L"panel2";
210
			this->panel2->Size = System::Drawing::Size(397, 31);
211
			this->panel2->TabIndex = 10;
212
			// 
213
			// label10
214
			// 
215
			this->label10->Dock = System::Windows::Forms::DockStyle::Fill;
216
			this->label10->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
217
				static_cast<System::Byte>(0)));
218
			this->label10->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
219
			this->label10->Location = System::Drawing::Point(0, 0);
220
			this->label10->Name = L"label10";
221
			this->label10->Size = System::Drawing::Size(365, 31);
222
			this->label10->TabIndex = 0;
223
			this->label10->Text = L"Extracting Scene File";
224
			this->label10->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
225
			// 
226
			// pictureBox2
227
			// 
228
			this->pictureBox2->Dock = System::Windows::Forms::DockStyle::Right;
229
			this->pictureBox2->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox2.Image")));
230
			this->pictureBox2->Location = System::Drawing::Point(365, 0);
231
			this->pictureBox2->Name = L"pictureBox2";
232
			this->pictureBox2->Size = System::Drawing::Size(32, 31);
233
			this->pictureBox2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
234
			this->pictureBox2->TabIndex = 1;
235
			this->pictureBox2->TabStop = false;
236
			// 
237
			// panel3
238
			// 
239
			this->panel3->Controls->Add(this->label11);
240
			this->panel3->Controls->Add(this->pictureBox4);
241
			this->panel3->Dock = System::Windows::Forms::DockStyle::Top;
242
			this->panel3->Location = System::Drawing::Point(25, 118);
243
			this->panel3->Name = L"panel3";
244
			this->panel3->Size = System::Drawing::Size(397, 31);
245
			this->panel3->TabIndex = 11;
246
			// 
247
			// label11
248
			// 
249
			this->label11->Dock = System::Windows::Forms::DockStyle::Fill;
250
			this->label11->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
251
				static_cast<System::Byte>(0)));
252
			this->label11->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
253
			this->label11->Location = System::Drawing::Point(0, 0);
254
			this->label11->Name = L"label11";
255
			this->label11->Size = System::Drawing::Size(365, 31);
256
			this->label11->TabIndex = 0;
257
			this->label11->Text = L"Extracting Componants";
258
			this->label11->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
259
			// 
260
			// pictureBox4
261
			// 
262
			this->pictureBox4->Dock = System::Windows::Forms::DockStyle::Right;
263
			this->pictureBox4->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox4.Image")));
264
			this->pictureBox4->Location = System::Drawing::Point(365, 0);
265
			this->pictureBox4->Name = L"pictureBox4";
266
			this->pictureBox4->Size = System::Drawing::Size(32, 31);
267
			this->pictureBox4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
268
			this->pictureBox4->TabIndex = 1;
269
			this->pictureBox4->TabStop = false;
270
			// 
271
			// panel4
272
			// 
273
			this->panel4->Controls->Add(this->label2);
274
			this->panel4->Controls->Add(this->pictureBox5);
275
			this->panel4->Dock = System::Windows::Forms::DockStyle::Top;
276
			this->panel4->Location = System::Drawing::Point(25, 149);
277
			this->panel4->Name = L"panel4";
278
			this->panel4->Size = System::Drawing::Size(397, 31);
279
			this->panel4->TabIndex = 12;
280
			// 
281
			// label2
282
			// 
283
			this->label2->Dock = System::Windows::Forms::DockStyle::Fill;
284
			this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
285
				static_cast<System::Byte>(0)));
286
			this->label2->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
287
			this->label2->Location = System::Drawing::Point(0, 0);
288
			this->label2->Name = L"label2";
289
			this->label2->Size = System::Drawing::Size(365, 31);
290
			this->label2->TabIndex = 0;
291
			this->label2->Text = L"Extracting Models";
292
			this->label2->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
293
			// 
294
			// pictureBox5
295
			// 
296
			this->pictureBox5->Dock = System::Windows::Forms::DockStyle::Right;
297
			this->pictureBox5->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox5.Image")));
298
			this->pictureBox5->Location = System::Drawing::Point(365, 0);
299
			this->pictureBox5->Name = L"pictureBox5";
300
			this->pictureBox5->Size = System::Drawing::Size(32, 31);
301
			this->pictureBox5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
302
			this->pictureBox5->TabIndex = 1;
303
			this->pictureBox5->TabStop = false;
304
			// 
305
			// panel5
306
			// 
307
			this->panel5->Controls->Add(this->label3);
308
			this->panel5->Controls->Add(this->pictureBox3);
309
			this->panel5->Dock = System::Windows::Forms::DockStyle::Top;
310
			this->panel5->Location = System::Drawing::Point(25, 87);
311
			this->panel5->Name = L"panel5";
312
			this->panel5->Size = System::Drawing::Size(397, 31);
313
			this->panel5->TabIndex = 13;
314
			// 
315
			// label3
316
			// 
317
			this->label3->Dock = System::Windows::Forms::DockStyle::Fill;
318
			this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
319
				static_cast<System::Byte>(0)));
320
			this->label3->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
321
			this->label3->Location = System::Drawing::Point(0, 0);
322
			this->label3->Name = L"label3";
323
			this->label3->Size = System::Drawing::Size(365, 31);
324
			this->label3->TabIndex = 0;
325
			this->label3->Text = L"Extracting Dummy Entries";
326
			this->label3->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
327
			// 
328
			// pictureBox3
329
			// 
330
			this->pictureBox3->Dock = System::Windows::Forms::DockStyle::Right;
331
			this->pictureBox3->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox3.Image")));
332
			this->pictureBox3->Location = System::Drawing::Point(365, 0);
333
			this->pictureBox3->Name = L"pictureBox3";
334
			this->pictureBox3->Size = System::Drawing::Size(32, 31);
335
			this->pictureBox3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
336
			this->pictureBox3->TabIndex = 1;
337
			this->pictureBox3->TabStop = false;
338
			// 
339
			// panel6
340
			// 
341
			this->panel6->Controls->Add(this->label12);
342
			this->panel6->Controls->Add(this->pictureBox6);
343
			this->panel6->Dock = System::Windows::Forms::DockStyle::Top;
344
			this->panel6->Location = System::Drawing::Point(25, 180);
345
			this->panel6->Name = L"panel6";
346
			this->panel6->Size = System::Drawing::Size(397, 31);
347
			this->panel6->TabIndex = 14;
348
			// 
349
			// label12
350
			// 
351
			this->label12->Dock = System::Windows::Forms::DockStyle::Fill;
352
			this->label12->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
353
				static_cast<System::Byte>(0)));
354
			this->label12->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
355
			this->label12->Location = System::Drawing::Point(0, 0);
356
			this->label12->Name = L"label12";
357
			this->label12->Size = System::Drawing::Size(365, 31);
358
			this->label12->TabIndex = 0;
359
			this->label12->Text = L"Extracting Textures";
360
			this->label12->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
361
			// 
362
			// pictureBox6
363
			// 
364
			this->pictureBox6->Dock = System::Windows::Forms::DockStyle::Right;
365
			this->pictureBox6->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox6.Image")));
366
			this->pictureBox6->Location = System::Drawing::Point(365, 0);
367
			this->pictureBox6->Name = L"pictureBox6";
368
			this->pictureBox6->Size = System::Drawing::Size(32, 31);
369
			this->pictureBox6->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
370
			this->pictureBox6->TabIndex = 1;
371
			this->pictureBox6->TabStop = false;
372
			// 
373
			// panel7
374
			// 
375
			this->panel7->Controls->Add(this->label13);
376
			this->panel7->Controls->Add(this->pictureBox7);
377
			this->panel7->Dock = System::Windows::Forms::DockStyle::Top;
378
			this->panel7->Location = System::Drawing::Point(25, 211);
379
			this->panel7->Name = L"panel7";
380
			this->panel7->Size = System::Drawing::Size(397, 31);
381
			this->panel7->TabIndex = 15;
382
			// 
383
			// label13
384
			// 
385
			this->label13->Dock = System::Windows::Forms::DockStyle::Fill;
386
			this->label13->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
387
				static_cast<System::Byte>(0)));
388
			this->label13->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
389
			this->label13->Location = System::Drawing::Point(0, 0);
390
			this->label13->Name = L"label13";
391
			this->label13->Size = System::Drawing::Size(365, 31);
392
			this->label13->TabIndex = 0;
393
			this->label13->Text = L"Extracting Texts";
394
			this->label13->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
395
			// 
396
			// pictureBox7
397
			// 
398
			this->pictureBox7->Dock = System::Windows::Forms::DockStyle::Right;
399
			this->pictureBox7->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox7.Image")));
400
			this->pictureBox7->Location = System::Drawing::Point(365, 0);
401
			this->pictureBox7->Name = L"pictureBox7";
402
			this->pictureBox7->Size = System::Drawing::Size(32, 31);
403
			this->pictureBox7->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
404
			this->pictureBox7->TabIndex = 1;
405
			this->pictureBox7->TabStop = false;
406
			// 
407
			// panel8
408
			// 
409
			this->panel8->Controls->Add(this->label14);
410
			this->panel8->Controls->Add(this->pictureBox8);
411
			this->panel8->Dock = System::Windows::Forms::DockStyle::Top;
412
			this->panel8->Location = System::Drawing::Point(25, 242);
413
			this->panel8->Name = L"panel8";
414
			this->panel8->Size = System::Drawing::Size(397, 31);
415
			this->panel8->TabIndex = 16;
416
			// 
417
			// label14
418
			// 
419
			this->label14->Dock = System::Windows::Forms::DockStyle::Fill;
420
			this->label14->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
421
				static_cast<System::Byte>(0)));
422
			this->label14->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
423
			this->label14->Location = System::Drawing::Point(0, 0);
424
			this->label14->Name = L"label14";
425
			this->label14->Size = System::Drawing::Size(365, 31);
426
			this->label14->TabIndex = 0;
427
			this->label14->Text = L"Extracting Bodies";
428
			this->label14->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
429
			// 
430
			// pictureBox8
431
			// 
432
			this->pictureBox8->Dock = System::Windows::Forms::DockStyle::Right;
433
			this->pictureBox8->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox8.Image")));
434
			this->pictureBox8->Location = System::Drawing::Point(365, 0);
435
			this->pictureBox8->Name = L"pictureBox8";
436
			this->pictureBox8->Size = System::Drawing::Size(32, 31);
437
			this->pictureBox8->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
438
			this->pictureBox8->TabIndex = 1;
439
			this->pictureBox8->TabStop = false;
440
			// 
441
			// panel9
442
			// 
443
			this->panel9->Controls->Add(this->label15);
444
			this->panel9->Controls->Add(this->pictureBox9);
445
			this->panel9->Dock = System::Windows::Forms::DockStyle::Top;
446
			this->panel9->Location = System::Drawing::Point(25, 273);
447
			this->panel9->Name = L"panel9";
448
			this->panel9->Size = System::Drawing::Size(397, 31);
449
			this->panel9->TabIndex = 17;
450
			// 
451
			// label15
452
			// 
453
			this->label15->Dock = System::Windows::Forms::DockStyle::Fill;
454
			this->label15->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
455
				static_cast<System::Byte>(0)));
456
			this->label15->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
457
			this->label15->Location = System::Drawing::Point(0, 0);
458
			this->label15->Name = L"label15";
459
			this->label15->Size = System::Drawing::Size(365, 31);
460
			this->label15->TabIndex = 0;
461
			this->label15->Text = L"Extracting Cockpits";
462
			this->label15->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
463
			// 
464
			// pictureBox9
465
			// 
466
			this->pictureBox9->Dock = System::Windows::Forms::DockStyle::Right;
467
			this->pictureBox9->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox9.Image")));
468
			this->pictureBox9->Location = System::Drawing::Point(365, 0);
469
			this->pictureBox9->Name = L"pictureBox9";
470
			this->pictureBox9->Size = System::Drawing::Size(32, 31);
471
			this->pictureBox9->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
472
			this->pictureBox9->TabIndex = 1;
473
			this->pictureBox9->TabStop = false;
474
			// 
475
			// panel10
476
			// 
477
			this->panel10->Controls->Add(this->label4);
478
			this->panel10->Controls->Add(this->pictureBox10);
479
			this->panel10->Dock = System::Windows::Forms::DockStyle::Top;
480
			this->panel10->Location = System::Drawing::Point(25, 304);
481
			this->panel10->Name = L"panel10";
482
			this->panel10->Size = System::Drawing::Size(397, 31);
483
			this->panel10->TabIndex = 18;
484
			// 
485
			// label4
486
			// 
487
			this->label4->Dock = System::Windows::Forms::DockStyle::Fill;
488
			this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
489
				static_cast<System::Byte>(0)));
490
			this->label4->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
491
			this->label4->Location = System::Drawing::Point(0, 0);
492
			this->label4->Name = L"label4";
493
			this->label4->Size = System::Drawing::Size(365, 31);
494
			this->label4->TabIndex = 0;
495
			this->label4->Text = L"Packing up Files";
496
			this->label4->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
497
			// 
498
			// pictureBox10
499
			// 
500
			this->pictureBox10->Dock = System::Windows::Forms::DockStyle::Right;
501
			this->pictureBox10->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox10.Image")));
502
			this->pictureBox10->Location = System::Drawing::Point(365, 0);
503
			this->pictureBox10->Name = L"pictureBox10";
504
			this->pictureBox10->Size = System::Drawing::Size(32, 31);
505
			this->pictureBox10->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
506
			this->pictureBox10->TabIndex = 1;
507
			this->pictureBox10->TabStop = false;
508
			// 
509
			// button1
510
			// 
511
			this->button1->DialogResult = System::Windows::Forms::DialogResult::OK;
512
			this->button1->Dock = System::Windows::Forms::DockStyle::Fill;
513
			this->button1->Location = System::Drawing::Point(50, 10);
514
			this->button1->Name = L"button1";
515
			this->button1->Size = System::Drawing::Size(297, 29);
516
			this->button1->TabIndex = 19;
517
			this->button1->Text = L"Done";
518
			this->button1->UseVisualStyleBackColor = true;
519
			// 
520
			// panel11
521
			// 
522
			this->panel11->Controls->Add(this->button1);
523
			this->panel11->Dock = System::Windows::Forms::DockStyle::Fill;
524
			this->panel11->Location = System::Drawing::Point(25, 335);
525
			this->panel11->Name = L"panel11";
526
			this->panel11->Padding = System::Windows::Forms::Padding(50, 10, 50, 10);
527
			this->panel11->Size = System::Drawing::Size(397, 49);
528
			this->panel11->TabIndex = 20;
529
			// 
530
			// ImportShip
531
			// 
532
			this->AcceptButton = this->button1;
533
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
534
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
535
			this->ClientSize = System::Drawing::Size(447, 409);
536
			this->ControlBox = false;
537
			this->Controls->Add(this->panel11);
538
			this->Controls->Add(this->panel10);
539
			this->Controls->Add(this->panel9);
540
			this->Controls->Add(this->panel8);
541
			this->Controls->Add(this->panel7);
542
			this->Controls->Add(this->panel6);
543
			this->Controls->Add(this->panel4);
544
			this->Controls->Add(this->panel3);
545
			this->Controls->Add(this->panel5);
546
			this->Controls->Add(this->panel1);
547
			this->Controls->Add(this->panel2);
548
			this->Name = L"ImportShip";
549
			this->Padding = System::Windows::Forms::Padding(25);
550
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
551
			this->Text = L"Importing Ship";
552
			this->Load += gcnew System::EventHandler(this, &ImportShip::ImportShip_Load);
553
			this->panel1->ResumeLayout(false);
554
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->EndInit();
555
			this->panel2->ResumeLayout(false);
556
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox2))->EndInit();
557
			this->panel3->ResumeLayout(false);
558
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox4))->EndInit();
559
			this->panel4->ResumeLayout(false);
560
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox5))->EndInit();
561
			this->panel5->ResumeLayout(false);
562
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox3))->EndInit();
563
			this->panel6->ResumeLayout(false);
564
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox6))->EndInit();
565
			this->panel7->ResumeLayout(false);
566
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox7))->EndInit();
567
			this->panel8->ResumeLayout(false);
568
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox8))->EndInit();
569
			this->panel9->ResumeLayout(false);
570
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox9))->EndInit();
571
			this->panel10->ResumeLayout(false);
572
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox10))->EndInit();
573
			this->panel11->ResumeLayout(false);
574
			this->ResumeLayout(false);
575
 
576
		}
577
#pragma endregion
578
	private: System::Void ImportShip_Load(System::Object^  sender, System::EventArgs^  e) {
579
				 this->StartImport();
580
			 }
581
	private: System::Void backgroundWorker1_DoWork(System::Object^  sender, System::ComponentModel::DoWorkEventArgs^  e) {
582
				 System::Threading::Thread::Sleep(100);
583
				 this->Import();
584
			 }
585
	private: System::Void backgroundWorker1_RunWorkerCompleted(System::Object^  sender, System::ComponentModel::RunWorkerCompletedEventArgs^  e) {
36 cycrow 586
				 this->_runNext();
1 cycrow 587
			 }
588
};
589
}