Rev 170 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#pragma once
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
namespace Creator {
/// <summary>
/// Summary for ImportShip
///
/// WARNING: If you change the name of this class, you will need to change the
/// 'Resource File Name' property for the managed resource compiler tool
/// associated with all .resx files this class depends on. Otherwise,
/// the designers will not be able to interact properly with localized
/// resources associated with this form.
/// </summary>
public ref class ImportShip : public System::Windows::Forms::Form
{
private:
int m_iStatus;
bool m_bError;
Utils::WStringList *_lModels;
CProgressInfo *m_pInfo;
String ^m_sID;
CXspFile *m_pShip;
String ^m_sError;
CVirtualFileSystem *m_pVfs;
String ^_sShipName;
public:
ImportShip(String ^id, String ^shipName, CVirtualFileSystem *vfs);
String ^getErrorString() { return m_sError; }
CXspFile *GetShip() { return m_pShip; }
void StartImport();
bool Error() { return m_bError; }
void Import();
protected:
void _runNext();
void _cleanUp();
/// <summary>
/// Clean up any resources being used.
/// </summary>
~ImportShip()
{
if (components)
{
delete components;
}
this->_cleanUp();
}
////////////////////////////////////////////////////////////////////////////////////////////
private:
private: System::ComponentModel::BackgroundWorker^ backgroundWorker1;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Panel^ panel1;
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::Panel^ panel2;
private: System::Windows::Forms::PictureBox^ pictureBox2;
private: System::Windows::Forms::Panel^ panel3;
private: System::Windows::Forms::Label^ label11;
private: System::Windows::Forms::PictureBox^ pictureBox4;
private: System::Windows::Forms::Panel^ panel4;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::PictureBox^ pictureBox5;
private: System::Windows::Forms::Panel^ panel5;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::PictureBox^ pictureBox3;
private: System::Windows::Forms::Panel^ panel6;
private: System::Windows::Forms::Label^ label12;
private: System::Windows::Forms::PictureBox^ pictureBox6;
private: System::Windows::Forms::Panel^ panel7;
private: System::Windows::Forms::Label^ label13;
private: System::Windows::Forms::PictureBox^ pictureBox7;
private: System::Windows::Forms::Panel^ panel8;
private: System::Windows::Forms::Label^ label14;
private: System::Windows::Forms::PictureBox^ pictureBox8;
private: System::Windows::Forms::Label^ label10;
private: System::Windows::Forms::Panel^ panel9;
private: System::Windows::Forms::Label^ label15;
private: System::Windows::Forms::PictureBox^ pictureBox9;
private: System::Windows::Forms::Panel^ panel10;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::PictureBox^ pictureBox10;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::Panel^ panel11;
private: System::ComponentModel::IContainer^ components;
/// <summary>
/// Required designer variable.
/// </summary>
#pragma region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(ImportShip::typeid));
this->backgroundWorker1 = (gcnew System::ComponentModel::BackgroundWorker());
this->label1 = (gcnew System::Windows::Forms::Label());
this->panel1 = (gcnew System::Windows::Forms::Panel());
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->panel2 = (gcnew System::Windows::Forms::Panel());
this->label10 = (gcnew System::Windows::Forms::Label());
this->pictureBox2 = (gcnew System::Windows::Forms::PictureBox());
this->panel3 = (gcnew System::Windows::Forms::Panel());
this->label11 = (gcnew System::Windows::Forms::Label());
this->pictureBox4 = (gcnew System::Windows::Forms::PictureBox());
this->panel4 = (gcnew System::Windows::Forms::Panel());
this->label2 = (gcnew System::Windows::Forms::Label());
this->pictureBox5 = (gcnew System::Windows::Forms::PictureBox());
this->panel5 = (gcnew System::Windows::Forms::Panel());
this->label3 = (gcnew System::Windows::Forms::Label());
this->pictureBox3 = (gcnew System::Windows::Forms::PictureBox());
this->panel6 = (gcnew System::Windows::Forms::Panel());
this->label12 = (gcnew System::Windows::Forms::Label());
this->pictureBox6 = (gcnew System::Windows::Forms::PictureBox());
this->panel7 = (gcnew System::Windows::Forms::Panel());
this->label13 = (gcnew System::Windows::Forms::Label());
this->pictureBox7 = (gcnew System::Windows::Forms::PictureBox());
this->panel8 = (gcnew System::Windows::Forms::Panel());
this->label14 = (gcnew System::Windows::Forms::Label());
this->pictureBox8 = (gcnew System::Windows::Forms::PictureBox());
this->panel9 = (gcnew System::Windows::Forms::Panel());
this->label15 = (gcnew System::Windows::Forms::Label());
this->pictureBox9 = (gcnew System::Windows::Forms::PictureBox());
this->panel10 = (gcnew System::Windows::Forms::Panel());
this->label4 = (gcnew System::Windows::Forms::Label());
this->pictureBox10 = (gcnew System::Windows::Forms::PictureBox());
this->button1 = (gcnew System::Windows::Forms::Button());
this->panel11 = (gcnew System::Windows::Forms::Panel());
this->panel1->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox1))->BeginInit();
this->panel2->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox2))->BeginInit();
this->panel3->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox4))->BeginInit();
this->panel4->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox5))->BeginInit();
this->panel5->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox3))->BeginInit();
this->panel6->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox6))->BeginInit();
this->panel7->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox7))->BeginInit();
this->panel8->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox8))->BeginInit();
this->panel9->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox9))->BeginInit();
this->panel10->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox10))->BeginInit();
this->panel11->SuspendLayout();
this->SuspendLayout();
//
// backgroundWorker1
//
this->backgroundWorker1->DoWork += gcnew System::ComponentModel::DoWorkEventHandler(this, &ImportShip::backgroundWorker1_DoWork);
this->backgroundWorker1->RunWorkerCompleted += gcnew System::ComponentModel::RunWorkerCompletedEventHandler(this, &ImportShip::backgroundWorker1_RunWorkerCompleted);
//
// label1
//
this->label1->Dock = System::Windows::Forms::DockStyle::Fill;
this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label1->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
this->label1->Location = System::Drawing::Point(0, 0);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(365, 31);
this->label1->TabIndex = 0;
this->label1->Text = L"Reading Mod File";
this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// panel1
//
this->panel1->Controls->Add(this->label1);
this->panel1->Controls->Add(this->pictureBox1);
this->panel1->Dock = System::Windows::Forms::DockStyle::Top;
this->panel1->Location = System::Drawing::Point(25, 56);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(397, 31);
this->panel1->TabIndex = 9;
//
// pictureBox1
//
this->pictureBox1->Dock = System::Windows::Forms::DockStyle::Right;
this->pictureBox1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->Location = System::Drawing::Point(365, 0);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(32, 31);
this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox1->TabIndex = 1;
this->pictureBox1->TabStop = false;
//
// panel2
//
this->panel2->Controls->Add(this->label10);
this->panel2->Controls->Add(this->pictureBox2);
this->panel2->Dock = System::Windows::Forms::DockStyle::Top;
this->panel2->Location = System::Drawing::Point(25, 25);
this->panel2->Name = L"panel2";
this->panel2->Size = System::Drawing::Size(397, 31);
this->panel2->TabIndex = 10;
//
// label10
//
this->label10->Dock = System::Windows::Forms::DockStyle::Fill;
this->label10->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label10->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
this->label10->Location = System::Drawing::Point(0, 0);
this->label10->Name = L"label10";
this->label10->Size = System::Drawing::Size(365, 31);
this->label10->TabIndex = 0;
this->label10->Text = L"Extracting Scene File";
this->label10->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// pictureBox2
//
this->pictureBox2->Dock = System::Windows::Forms::DockStyle::Right;
this->pictureBox2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox2.Image")));
this->pictureBox2->Location = System::Drawing::Point(365, 0);
this->pictureBox2->Name = L"pictureBox2";
this->pictureBox2->Size = System::Drawing::Size(32, 31);
this->pictureBox2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox2->TabIndex = 1;
this->pictureBox2->TabStop = false;
//
// panel3
//
this->panel3->Controls->Add(this->label11);
this->panel3->Controls->Add(this->pictureBox4);
this->panel3->Dock = System::Windows::Forms::DockStyle::Top;
this->panel3->Location = System::Drawing::Point(25, 118);
this->panel3->Name = L"panel3";
this->panel3->Size = System::Drawing::Size(397, 31);
this->panel3->TabIndex = 11;
//
// label11
//
this->label11->Dock = System::Windows::Forms::DockStyle::Fill;
this->label11->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label11->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
this->label11->Location = System::Drawing::Point(0, 0);
this->label11->Name = L"label11";
this->label11->Size = System::Drawing::Size(365, 31);
this->label11->TabIndex = 0;
this->label11->Text = L"Extracting Componants";
this->label11->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// pictureBox4
//
this->pictureBox4->Dock = System::Windows::Forms::DockStyle::Right;
this->pictureBox4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox4.Image")));
this->pictureBox4->Location = System::Drawing::Point(365, 0);
this->pictureBox4->Name = L"pictureBox4";
this->pictureBox4->Size = System::Drawing::Size(32, 31);
this->pictureBox4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox4->TabIndex = 1;
this->pictureBox4->TabStop = false;
//
// panel4
//
this->panel4->Controls->Add(this->label2);
this->panel4->Controls->Add(this->pictureBox5);
this->panel4->Dock = System::Windows::Forms::DockStyle::Top;
this->panel4->Location = System::Drawing::Point(25, 149);
this->panel4->Name = L"panel4";
this->panel4->Size = System::Drawing::Size(397, 31);
this->panel4->TabIndex = 12;
//
// label2
//
this->label2->Dock = System::Windows::Forms::DockStyle::Fill;
this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label2->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
this->label2->Location = System::Drawing::Point(0, 0);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(365, 31);
this->label2->TabIndex = 0;
this->label2->Text = L"Extracting Models";
this->label2->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// pictureBox5
//
this->pictureBox5->Dock = System::Windows::Forms::DockStyle::Right;
this->pictureBox5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox5.Image")));
this->pictureBox5->Location = System::Drawing::Point(365, 0);
this->pictureBox5->Name = L"pictureBox5";
this->pictureBox5->Size = System::Drawing::Size(32, 31);
this->pictureBox5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox5->TabIndex = 1;
this->pictureBox5->TabStop = false;
//
// panel5
//
this->panel5->Controls->Add(this->label3);
this->panel5->Controls->Add(this->pictureBox3);
this->panel5->Dock = System::Windows::Forms::DockStyle::Top;
this->panel5->Location = System::Drawing::Point(25, 87);
this->panel5->Name = L"panel5";
this->panel5->Size = System::Drawing::Size(397, 31);
this->panel5->TabIndex = 13;
//
// label3
//
this->label3->Dock = System::Windows::Forms::DockStyle::Fill;
this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label3->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
this->label3->Location = System::Drawing::Point(0, 0);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(365, 31);
this->label3->TabIndex = 0;
this->label3->Text = L"Extracting Dummy Entries";
this->label3->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// pictureBox3
//
this->pictureBox3->Dock = System::Windows::Forms::DockStyle::Right;
this->pictureBox3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox3.Image")));
this->pictureBox3->Location = System::Drawing::Point(365, 0);
this->pictureBox3->Name = L"pictureBox3";
this->pictureBox3->Size = System::Drawing::Size(32, 31);
this->pictureBox3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox3->TabIndex = 1;
this->pictureBox3->TabStop = false;
//
// panel6
//
this->panel6->Controls->Add(this->label12);
this->panel6->Controls->Add(this->pictureBox6);
this->panel6->Dock = System::Windows::Forms::DockStyle::Top;
this->panel6->Location = System::Drawing::Point(25, 180);
this->panel6->Name = L"panel6";
this->panel6->Size = System::Drawing::Size(397, 31);
this->panel6->TabIndex = 14;
//
// label12
//
this->label12->Dock = System::Windows::Forms::DockStyle::Fill;
this->label12->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label12->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
this->label12->Location = System::Drawing::Point(0, 0);
this->label12->Name = L"label12";
this->label12->Size = System::Drawing::Size(365, 31);
this->label12->TabIndex = 0;
this->label12->Text = L"Extracting Textures";
this->label12->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// pictureBox6
//
this->pictureBox6->Dock = System::Windows::Forms::DockStyle::Right;
this->pictureBox6->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox6.Image")));
this->pictureBox6->Location = System::Drawing::Point(365, 0);
this->pictureBox6->Name = L"pictureBox6";
this->pictureBox6->Size = System::Drawing::Size(32, 31);
this->pictureBox6->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox6->TabIndex = 1;
this->pictureBox6->TabStop = false;
//
// panel7
//
this->panel7->Controls->Add(this->label13);
this->panel7->Controls->Add(this->pictureBox7);
this->panel7->Dock = System::Windows::Forms::DockStyle::Top;
this->panel7->Location = System::Drawing::Point(25, 211);
this->panel7->Name = L"panel7";
this->panel7->Size = System::Drawing::Size(397, 31);
this->panel7->TabIndex = 15;
//
// label13
//
this->label13->Dock = System::Windows::Forms::DockStyle::Fill;
this->label13->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label13->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
this->label13->Location = System::Drawing::Point(0, 0);
this->label13->Name = L"label13";
this->label13->Size = System::Drawing::Size(365, 31);
this->label13->TabIndex = 0;
this->label13->Text = L"Extracting Texts";
this->label13->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// pictureBox7
//
this->pictureBox7->Dock = System::Windows::Forms::DockStyle::Right;
this->pictureBox7->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox7.Image")));
this->pictureBox7->Location = System::Drawing::Point(365, 0);
this->pictureBox7->Name = L"pictureBox7";
this->pictureBox7->Size = System::Drawing::Size(32, 31);
this->pictureBox7->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox7->TabIndex = 1;
this->pictureBox7->TabStop = false;
//
// panel8
//
this->panel8->Controls->Add(this->label14);
this->panel8->Controls->Add(this->pictureBox8);
this->panel8->Dock = System::Windows::Forms::DockStyle::Top;
this->panel8->Location = System::Drawing::Point(25, 242);
this->panel8->Name = L"panel8";
this->panel8->Size = System::Drawing::Size(397, 31);
this->panel8->TabIndex = 16;
//
// label14
//
this->label14->Dock = System::Windows::Forms::DockStyle::Fill;
this->label14->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label14->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
this->label14->Location = System::Drawing::Point(0, 0);
this->label14->Name = L"label14";
this->label14->Size = System::Drawing::Size(365, 31);
this->label14->TabIndex = 0;
this->label14->Text = L"Extracting Bodies";
this->label14->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// pictureBox8
//
this->pictureBox8->Dock = System::Windows::Forms::DockStyle::Right;
this->pictureBox8->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox8.Image")));
this->pictureBox8->Location = System::Drawing::Point(365, 0);
this->pictureBox8->Name = L"pictureBox8";
this->pictureBox8->Size = System::Drawing::Size(32, 31);
this->pictureBox8->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox8->TabIndex = 1;
this->pictureBox8->TabStop = false;
//
// panel9
//
this->panel9->Controls->Add(this->label15);
this->panel9->Controls->Add(this->pictureBox9);
this->panel9->Dock = System::Windows::Forms::DockStyle::Top;
this->panel9->Location = System::Drawing::Point(25, 273);
this->panel9->Name = L"panel9";
this->panel9->Size = System::Drawing::Size(397, 31);
this->panel9->TabIndex = 17;
//
// label15
//
this->label15->Dock = System::Windows::Forms::DockStyle::Fill;
this->label15->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label15->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
this->label15->Location = System::Drawing::Point(0, 0);
this->label15->Name = L"label15";
this->label15->Size = System::Drawing::Size(365, 31);
this->label15->TabIndex = 0;
this->label15->Text = L"Extracting Cockpits";
this->label15->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// pictureBox9
//
this->pictureBox9->Dock = System::Windows::Forms::DockStyle::Right;
this->pictureBox9->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox9.Image")));
this->pictureBox9->Location = System::Drawing::Point(365, 0);
this->pictureBox9->Name = L"pictureBox9";
this->pictureBox9->Size = System::Drawing::Size(32, 31);
this->pictureBox9->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox9->TabIndex = 1;
this->pictureBox9->TabStop = false;
//
// panel10
//
this->panel10->Controls->Add(this->label4);
this->panel10->Controls->Add(this->pictureBox10);
this->panel10->Dock = System::Windows::Forms::DockStyle::Top;
this->panel10->Location = System::Drawing::Point(25, 304);
this->panel10->Name = L"panel10";
this->panel10->Size = System::Drawing::Size(397, 31);
this->panel10->TabIndex = 18;
//
// label4
//
this->label4->Dock = System::Windows::Forms::DockStyle::Fill;
this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label4->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
this->label4->Location = System::Drawing::Point(0, 0);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(365, 31);
this->label4->TabIndex = 0;
this->label4->Text = L"Packing up Files";
this->label4->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// pictureBox10
//
this->pictureBox10->Dock = System::Windows::Forms::DockStyle::Right;
this->pictureBox10->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox10.Image")));
this->pictureBox10->Location = System::Drawing::Point(365, 0);
this->pictureBox10->Name = L"pictureBox10";
this->pictureBox10->Size = System::Drawing::Size(32, 31);
this->pictureBox10->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox10->TabIndex = 1;
this->pictureBox10->TabStop = false;
//
// button1
//
this->button1->DialogResult = System::Windows::Forms::DialogResult::OK;
this->button1->Dock = System::Windows::Forms::DockStyle::Fill;
this->button1->Location = System::Drawing::Point(50, 10);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(297, 29);
this->button1->TabIndex = 19;
this->button1->Text = L"Done";
this->button1->UseVisualStyleBackColor = true;
//
// panel11
//
this->panel11->Controls->Add(this->button1);
this->panel11->Dock = System::Windows::Forms::DockStyle::Fill;
this->panel11->Location = System::Drawing::Point(25, 335);
this->panel11->Name = L"panel11";
this->panel11->Padding = System::Windows::Forms::Padding(50, 10, 50, 10);
this->panel11->Size = System::Drawing::Size(397, 49);
this->panel11->TabIndex = 20;
//
// ImportShip
//
this->AcceptButton = this->button1;
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(447, 409);
this->ControlBox = false;
this->Controls->Add(this->panel11);
this->Controls->Add(this->panel10);
this->Controls->Add(this->panel9);
this->Controls->Add(this->panel8);
this->Controls->Add(this->panel7);
this->Controls->Add(this->panel6);
this->Controls->Add(this->panel4);
this->Controls->Add(this->panel3);
this->Controls->Add(this->panel5);
this->Controls->Add(this->panel1);
this->Controls->Add(this->panel2);
this->Name = L"ImportShip";
this->Padding = System::Windows::Forms::Padding(25);
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
this->Text = L"Importing Ship";
this->Load += gcnew System::EventHandler(this, &ImportShip::ImportShip_Load);
this->panel1->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox1))->EndInit();
this->panel2->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox2))->EndInit();
this->panel3->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox4))->EndInit();
this->panel4->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox5))->EndInit();
this->panel5->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox3))->EndInit();
this->panel6->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox6))->EndInit();
this->panel7->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox7))->EndInit();
this->panel8->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox8))->EndInit();
this->panel9->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox9))->EndInit();
this->panel10->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox10))->EndInit();
this->panel11->ResumeLayout(false);
this->ResumeLayout(false);
}
#pragma endregion
private: System::Void ImportShip_Load(System::Object^ sender, System::EventArgs^ e) {
this->StartImport();
}
private: System::Void backgroundWorker1_DoWork(System::Object^ sender, System::ComponentModel::DoWorkEventArgs^ e) {
System::Threading::Thread::Sleep(100);
this->Import();
}
private: System::Void backgroundWorker1_RunWorkerCompleted(System::Object^ sender, System::ComponentModel::RunWorkerCompletedEventArgs^ e) {
this->_runNext();
}
};
}