Subversion Repositories spk

Rev

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