Rev 191 | 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 CustomiseModel
/// </summary>
public ref class CustomiseModel : public System::Windows::Forms::UserControl
{
public:
CustomiseModel(CShipData *shipData)
{
InitializeComponent();
m_pShipData = shipData;
m_bUpdateing = false;
this->SetupControls();
}
void UpdateDisplay()
{
m_bUpdateing = true;
this->NumPicture->Value = m_pShipData->iPictureID;
this->NumVideo->Value = m_pShipData->iVideoID;
this->TextBody->Text = _US(m_pShipData->sModel);
this->NumEffect->Value = m_pShipData->iEngineEffect;
this->NumGlow->Value = m_pShipData->iEngineGlow;
this->NumSound->Value = m_pShipData->iEngineSound;
this->NumSkin->Value = m_pShipData->iSkin;
this->NumSoundMin->Value = m_pShipData->iSoundMin;
this->NumSoundMax->Value = m_pShipData->iSoundMax;
this->NumExplosion->Value = m_pShipData->iExplosionDef;
this->NumBodyDef->Value = m_pShipData->iExplosionBody;
this->NumParticle->Value = m_pShipData->iParticle;
m_bUpdateing = false;
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
void SetupControls()
{
this->Dock = System::Windows::Forms::DockStyle::Fill;
}
~CustomiseModel()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::GroupBox^ groupBox11;
protected:
private: System::Windows::Forms::TableLayoutPanel^ tableLayoutPanel7;
private: System::Windows::Forms::NumericUpDown^ NumExplosion;
private: System::Windows::Forms::NumericUpDown^ NumBodyDef;
private: System::Windows::Forms::NumericUpDown^ NumParticle;
private: System::Windows::Forms::Label^ label47;
private: System::Windows::Forms::Label^ label49;
private: System::Windows::Forms::Label^ label50;
private: System::Windows::Forms::GroupBox^ groupBox10;
private: System::Windows::Forms::TableLayoutPanel^ tableLayoutPanel6;
private: System::Windows::Forms::NumericUpDown^ NumSoundMin;
private: System::Windows::Forms::NumericUpDown^ NumSoundMax;
private: System::Windows::Forms::Label^ label46;
private: System::Windows::Forms::Label^ label48;
private: System::Windows::Forms::GroupBox^ groupBox9;
private: System::Windows::Forms::TableLayoutPanel^ tableLayoutPanel5;
private: System::Windows::Forms::NumericUpDown^ NumEffect;
private: System::Windows::Forms::NumericUpDown^ NumGlow;
private: System::Windows::Forms::NumericUpDown^ NumSound;
private: System::Windows::Forms::Label^ label43;
private: System::Windows::Forms::Label^ label42;
private: System::Windows::Forms::Label^ label41;
private: System::Windows::Forms::GroupBox^ groupBox8;
private: System::Windows::Forms::Panel^ panel33;
private: System::Windows::Forms::NumericUpDown^ NumSkin;
private: System::Windows::Forms::Label^ label45;
private: System::Windows::Forms::Panel^ panel31;
private: System::Windows::Forms::NumericUpDown^ NumVideo;
private: System::Windows::Forms::Label^ label40;
private: System::Windows::Forms::Panel^ panel30;
private: System::Windows::Forms::NumericUpDown^ NumPicture;
private: System::Windows::Forms::Label^ label39;
private: System::Windows::Forms::Panel^ panel29;
private: System::Windows::Forms::TextBox^ TextBody;
private: System::Windows::Forms::Label^ label38;
private:
CShipData *m_pShipData;
bool m_bUpdateing;
/// <summary>
/// Required designer variable.
/// </summary>
System::ComponentModel::Container ^components;
#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)
{
this->groupBox11 = (gcnew System::Windows::Forms::GroupBox());
this->tableLayoutPanel7 = (gcnew System::Windows::Forms::TableLayoutPanel());
this->NumExplosion = (gcnew System::Windows::Forms::NumericUpDown());
this->NumBodyDef = (gcnew System::Windows::Forms::NumericUpDown());
this->NumParticle = (gcnew System::Windows::Forms::NumericUpDown());
this->label47 = (gcnew System::Windows::Forms::Label());
this->label49 = (gcnew System::Windows::Forms::Label());
this->label50 = (gcnew System::Windows::Forms::Label());
this->groupBox10 = (gcnew System::Windows::Forms::GroupBox());
this->tableLayoutPanel6 = (gcnew System::Windows::Forms::TableLayoutPanel());
this->NumSoundMin = (gcnew System::Windows::Forms::NumericUpDown());
this->NumSoundMax = (gcnew System::Windows::Forms::NumericUpDown());
this->label46 = (gcnew System::Windows::Forms::Label());
this->label48 = (gcnew System::Windows::Forms::Label());
this->groupBox9 = (gcnew System::Windows::Forms::GroupBox());
this->tableLayoutPanel5 = (gcnew System::Windows::Forms::TableLayoutPanel());
this->NumEffect = (gcnew System::Windows::Forms::NumericUpDown());
this->NumGlow = (gcnew System::Windows::Forms::NumericUpDown());
this->NumSound = (gcnew System::Windows::Forms::NumericUpDown());
this->label43 = (gcnew System::Windows::Forms::Label());
this->label42 = (gcnew System::Windows::Forms::Label());
this->label41 = (gcnew System::Windows::Forms::Label());
this->groupBox8 = (gcnew System::Windows::Forms::GroupBox());
this->panel33 = (gcnew System::Windows::Forms::Panel());
this->NumSkin = (gcnew System::Windows::Forms::NumericUpDown());
this->label45 = (gcnew System::Windows::Forms::Label());
this->panel31 = (gcnew System::Windows::Forms::Panel());
this->NumVideo = (gcnew System::Windows::Forms::NumericUpDown());
this->label40 = (gcnew System::Windows::Forms::Label());
this->panel30 = (gcnew System::Windows::Forms::Panel());
this->NumPicture = (gcnew System::Windows::Forms::NumericUpDown());
this->label39 = (gcnew System::Windows::Forms::Label());
this->panel29 = (gcnew System::Windows::Forms::Panel());
this->TextBody = (gcnew System::Windows::Forms::TextBox());
this->label38 = (gcnew System::Windows::Forms::Label());
this->groupBox11->SuspendLayout();
this->tableLayoutPanel7->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumExplosion))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumBodyDef))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumParticle))->BeginInit();
this->groupBox10->SuspendLayout();
this->tableLayoutPanel6->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumSoundMin))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumSoundMax))->BeginInit();
this->groupBox9->SuspendLayout();
this->tableLayoutPanel5->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumEffect))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumGlow))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumSound))->BeginInit();
this->groupBox8->SuspendLayout();
this->panel33->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumSkin))->BeginInit();
this->panel31->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumVideo))->BeginInit();
this->panel30->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumPicture))->BeginInit();
this->panel29->SuspendLayout();
this->SuspendLayout();
//
// groupBox11
//
this->groupBox11->Controls->Add(this->tableLayoutPanel7);
this->groupBox11->Dock = System::Windows::Forms::DockStyle::Top;
this->groupBox11->Location = System::Drawing::Point(0, 316);
this->groupBox11->Name = L"groupBox11";
this->groupBox11->Padding = System::Windows::Forms::Padding(6);
this->groupBox11->Size = System::Drawing::Size(447, 81);
this->groupBox11->TabIndex = 3;
this->groupBox11->TabStop = false;
this->groupBox11->Text = L"Explosion";
//
// tableLayoutPanel7
//
this->tableLayoutPanel7->ColumnCount = 3;
this->tableLayoutPanel7->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
33.33333F)));
this->tableLayoutPanel7->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
33.33333F)));
this->tableLayoutPanel7->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
33.33333F)));
this->tableLayoutPanel7->Controls->Add(this->NumExplosion, 0, 1);
this->tableLayoutPanel7->Controls->Add(this->NumBodyDef, 0, 1);
this->tableLayoutPanel7->Controls->Add(this->NumParticle, 0, 1);
this->tableLayoutPanel7->Controls->Add(this->label47, 1, 0);
this->tableLayoutPanel7->Controls->Add(this->label49, 2, 0);
this->tableLayoutPanel7->Controls->Add(this->label50, 0, 0);
this->tableLayoutPanel7->Dock = System::Windows::Forms::DockStyle::Fill;
this->tableLayoutPanel7->Location = System::Drawing::Point(6, 19);
this->tableLayoutPanel7->Name = L"tableLayoutPanel7";
this->tableLayoutPanel7->RowCount = 2;
this->tableLayoutPanel7->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 50)));
this->tableLayoutPanel7->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 50)));
this->tableLayoutPanel7->Size = System::Drawing::Size(435, 56);
this->tableLayoutPanel7->TabIndex = 0;
//
// NumExplosion
//
this->NumExplosion->Dock = System::Windows::Forms::DockStyle::Fill;
this->NumExplosion->Location = System::Drawing::Point(3, 31);
this->NumExplosion->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumExplosion->Name = L"NumExplosion";
this->NumExplosion->Size = System::Drawing::Size(139, 20);
this->NumExplosion->TabIndex = 8;
this->NumExplosion->ThousandsSeparator = true;
this->NumExplosion->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumExplosion_ValueChanged);
//
// NumBodyDef
//
this->NumBodyDef->Dock = System::Windows::Forms::DockStyle::Fill;
this->NumBodyDef->Location = System::Drawing::Point(148, 31);
this->NumBodyDef->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumBodyDef->Name = L"NumBodyDef";
this->NumBodyDef->Size = System::Drawing::Size(139, 20);
this->NumBodyDef->TabIndex = 7;
this->NumBodyDef->ThousandsSeparator = true;
this->NumBodyDef->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumBodyDef_ValueChanged);
//
// NumParticle
//
this->NumParticle->Dock = System::Windows::Forms::DockStyle::Fill;
this->NumParticle->Location = System::Drawing::Point(293, 31);
this->NumParticle->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumParticle->Name = L"NumParticle";
this->NumParticle->Size = System::Drawing::Size(139, 20);
this->NumParticle->TabIndex = 6;
this->NumParticle->ThousandsSeparator = true;
this->NumParticle->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumParticle_ValueChanged);
//
// label47
//
this->label47->Dock = System::Windows::Forms::DockStyle::Fill;
this->label47->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label47->Location = System::Drawing::Point(148, 0);
this->label47->Name = L"label47";
this->label47->Size = System::Drawing::Size(139, 28);
this->label47->TabIndex = 3;
this->label47->Text = L"Body Def";
this->label47->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// label49
//
this->label49->Dock = System::Windows::Forms::DockStyle::Fill;
this->label49->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label49->Location = System::Drawing::Point(293, 0);
this->label49->Name = L"label49";
this->label49->Size = System::Drawing::Size(139, 28);
this->label49->TabIndex = 2;
this->label49->Text = L"Particle Emitter";
this->label49->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// label50
//
this->label50->Dock = System::Windows::Forms::DockStyle::Fill;
this->label50->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label50->Location = System::Drawing::Point(3, 0);
this->label50->Name = L"label50";
this->label50->Size = System::Drawing::Size(139, 28);
this->label50->TabIndex = 1;
this->label50->Text = L"Explosion Def";
this->label50->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// groupBox10
//
this->groupBox10->Controls->Add(this->tableLayoutPanel6);
this->groupBox10->Dock = System::Windows::Forms::DockStyle::Top;
this->groupBox10->Location = System::Drawing::Point(0, 235);
this->groupBox10->Name = L"groupBox10";
this->groupBox10->Padding = System::Windows::Forms::Padding(6);
this->groupBox10->Size = System::Drawing::Size(447, 81);
this->groupBox10->TabIndex = 2;
this->groupBox10->TabStop = false;
this->groupBox10->Text = L"Sound Volumn";
//
// tableLayoutPanel6
//
this->tableLayoutPanel6->ColumnCount = 2;
this->tableLayoutPanel6->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
33.33333F)));
this->tableLayoutPanel6->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
33.33333F)));
this->tableLayoutPanel6->Controls->Add(this->NumSoundMin, 0, 1);
this->tableLayoutPanel6->Controls->Add(this->NumSoundMax, 0, 1);
this->tableLayoutPanel6->Controls->Add(this->label46, 1, 0);
this->tableLayoutPanel6->Controls->Add(this->label48, 0, 0);
this->tableLayoutPanel6->Dock = System::Windows::Forms::DockStyle::Fill;
this->tableLayoutPanel6->Location = System::Drawing::Point(6, 19);
this->tableLayoutPanel6->Name = L"tableLayoutPanel6";
this->tableLayoutPanel6->RowCount = 2;
this->tableLayoutPanel6->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 50)));
this->tableLayoutPanel6->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 50)));
this->tableLayoutPanel6->Size = System::Drawing::Size(435, 56);
this->tableLayoutPanel6->TabIndex = 0;
//
// NumSoundMin
//
this->NumSoundMin->Dock = System::Windows::Forms::DockStyle::Fill;
this->NumSoundMin->Location = System::Drawing::Point(3, 31);
this->NumSoundMin->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumSoundMin->Name = L"NumSoundMin";
this->NumSoundMin->Size = System::Drawing::Size(211, 20);
this->NumSoundMin->TabIndex = 8;
this->NumSoundMin->ThousandsSeparator = true;
this->NumSoundMin->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumSoundMin_ValueChanged);
//
// NumSoundMax
//
this->NumSoundMax->Dock = System::Windows::Forms::DockStyle::Fill;
this->NumSoundMax->Location = System::Drawing::Point(220, 31);
this->NumSoundMax->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumSoundMax->Name = L"NumSoundMax";
this->NumSoundMax->Size = System::Drawing::Size(212, 20);
this->NumSoundMax->TabIndex = 7;
this->NumSoundMax->ThousandsSeparator = true;
this->NumSoundMax->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumSoundMax_ValueChanged);
//
// label46
//
this->label46->Dock = System::Windows::Forms::DockStyle::Fill;
this->label46->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label46->Location = System::Drawing::Point(220, 0);
this->label46->Name = L"label46";
this->label46->Size = System::Drawing::Size(212, 28);
this->label46->TabIndex = 3;
this->label46->Text = L"Maximum";
this->label46->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// label48
//
this->label48->Dock = System::Windows::Forms::DockStyle::Fill;
this->label48->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label48->Location = System::Drawing::Point(3, 0);
this->label48->Name = L"label48";
this->label48->Size = System::Drawing::Size(211, 28);
this->label48->TabIndex = 1;
this->label48->Text = L"Minimum";
this->label48->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// groupBox9
//
this->groupBox9->Controls->Add(this->tableLayoutPanel5);
this->groupBox9->Dock = System::Windows::Forms::DockStyle::Top;
this->groupBox9->Location = System::Drawing::Point(0, 154);
this->groupBox9->Name = L"groupBox9";
this->groupBox9->Padding = System::Windows::Forms::Padding(6);
this->groupBox9->Size = System::Drawing::Size(447, 81);
this->groupBox9->TabIndex = 1;
this->groupBox9->TabStop = false;
this->groupBox9->Text = L"Engine Effects";
//
// tableLayoutPanel5
//
this->tableLayoutPanel5->ColumnCount = 3;
this->tableLayoutPanel5->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
33.33333F)));
this->tableLayoutPanel5->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
33.33333F)));
this->tableLayoutPanel5->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
33.33333F)));
this->tableLayoutPanel5->Controls->Add(this->NumEffect, 0, 1);
this->tableLayoutPanel5->Controls->Add(this->NumGlow, 0, 1);
this->tableLayoutPanel5->Controls->Add(this->NumSound, 0, 1);
this->tableLayoutPanel5->Controls->Add(this->label43, 1, 0);
this->tableLayoutPanel5->Controls->Add(this->label42, 2, 0);
this->tableLayoutPanel5->Controls->Add(this->label41, 0, 0);
this->tableLayoutPanel5->Dock = System::Windows::Forms::DockStyle::Fill;
this->tableLayoutPanel5->Location = System::Drawing::Point(6, 19);
this->tableLayoutPanel5->Name = L"tableLayoutPanel5";
this->tableLayoutPanel5->RowCount = 2;
this->tableLayoutPanel5->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 50)));
this->tableLayoutPanel5->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 50)));
this->tableLayoutPanel5->Size = System::Drawing::Size(435, 56);
this->tableLayoutPanel5->TabIndex = 0;
//
// NumEffect
//
this->NumEffect->Dock = System::Windows::Forms::DockStyle::Fill;
this->NumEffect->Location = System::Drawing::Point(3, 31);
this->NumEffect->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumEffect->Name = L"NumEffect";
this->NumEffect->Size = System::Drawing::Size(139, 20);
this->NumEffect->TabIndex = 8;
this->NumEffect->ThousandsSeparator = true;
this->NumEffect->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumEffect_ValueChanged);
//
// NumGlow
//
this->NumGlow->Dock = System::Windows::Forms::DockStyle::Fill;
this->NumGlow->Location = System::Drawing::Point(148, 31);
this->NumGlow->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumGlow->Name = L"NumGlow";
this->NumGlow->Size = System::Drawing::Size(139, 20);
this->NumGlow->TabIndex = 7;
this->NumGlow->ThousandsSeparator = true;
this->NumGlow->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumGlow_ValueChanged);
//
// NumSound
//
this->NumSound->Dock = System::Windows::Forms::DockStyle::Fill;
this->NumSound->Location = System::Drawing::Point(293, 31);
this->NumSound->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumSound->Name = L"NumSound";
this->NumSound->Size = System::Drawing::Size(139, 20);
this->NumSound->TabIndex = 6;
this->NumSound->ThousandsSeparator = true;
this->NumSound->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumSound_ValueChanged);
//
// label43
//
this->label43->Dock = System::Windows::Forms::DockStyle::Fill;
this->label43->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label43->Location = System::Drawing::Point(148, 0);
this->label43->Name = L"label43";
this->label43->Size = System::Drawing::Size(139, 28);
this->label43->TabIndex = 3;
this->label43->Text = L"Glow Effect";
this->label43->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// label42
//
this->label42->Dock = System::Windows::Forms::DockStyle::Fill;
this->label42->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label42->Location = System::Drawing::Point(293, 0);
this->label42->Name = L"label42";
this->label42->Size = System::Drawing::Size(139, 28);
this->label42->TabIndex = 2;
this->label42->Text = L"Sound";
this->label42->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// label41
//
this->label41->Dock = System::Windows::Forms::DockStyle::Fill;
this->label41->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label41->Location = System::Drawing::Point(3, 0);
this->label41->Name = L"label41";
this->label41->Size = System::Drawing::Size(139, 28);
this->label41->TabIndex = 1;
this->label41->Text = L"Effect (colour)";
this->label41->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// groupBox8
//
this->groupBox8->Controls->Add(this->panel33);
this->groupBox8->Controls->Add(this->panel31);
this->groupBox8->Controls->Add(this->panel30);
this->groupBox8->Controls->Add(this->panel29);
this->groupBox8->Dock = System::Windows::Forms::DockStyle::Top;
this->groupBox8->Location = System::Drawing::Point(0, 0);
this->groupBox8->Name = L"groupBox8";
this->groupBox8->Padding = System::Windows::Forms::Padding(6);
this->groupBox8->Size = System::Drawing::Size(447, 154);
this->groupBox8->TabIndex = 0;
this->groupBox8->TabStop = false;
this->groupBox8->Text = L"ID\'s";
//
// panel33
//
this->panel33->Controls->Add(this->NumSkin);
this->panel33->Controls->Add(this->label45);
this->panel33->Dock = System::Windows::Forms::DockStyle::Top;
this->panel33->Location = System::Drawing::Point(6, 115);
this->panel33->Name = L"panel33";
this->panel33->Padding = System::Windows::Forms::Padding(5);
this->panel33->Size = System::Drawing::Size(435, 31);
this->panel33->TabIndex = 10;
//
// NumSkin
//
this->NumSkin->Dock = System::Windows::Forms::DockStyle::Left;
this->NumSkin->Location = System::Drawing::Point(145, 5);
this->NumSkin->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumSkin->Name = L"NumSkin";
this->NumSkin->Size = System::Drawing::Size(118, 20);
this->NumSkin->TabIndex = 1;
this->NumSkin->ThousandsSeparator = true;
this->NumSkin->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumSkin_ValueChanged);
//
// label45
//
this->label45->Dock = System::Windows::Forms::DockStyle::Left;
this->label45->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label45->Location = System::Drawing::Point(5, 5);
this->label45->Name = L"label45";
this->label45->Size = System::Drawing::Size(140, 21);
this->label45->TabIndex = 0;
this->label45->Text = L"Skin Index";
this->label45->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// panel31
//
this->panel31->Controls->Add(this->NumVideo);
this->panel31->Controls->Add(this->label40);
this->panel31->Dock = System::Windows::Forms::DockStyle::Top;
this->panel31->Location = System::Drawing::Point(6, 83);
this->panel31->Name = L"panel31";
this->panel31->Padding = System::Windows::Forms::Padding(5);
this->panel31->Size = System::Drawing::Size(435, 32);
this->panel31->TabIndex = 9;
//
// NumVideo
//
this->NumVideo->Dock = System::Windows::Forms::DockStyle::Left;
this->NumVideo->Location = System::Drawing::Point(145, 5);
this->NumVideo->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumVideo->Name = L"NumVideo";
this->NumVideo->Size = System::Drawing::Size(118, 20);
this->NumVideo->TabIndex = 1;
this->NumVideo->ThousandsSeparator = true;
this->NumVideo->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumVideo_ValueChanged);
//
// label40
//
this->label40->Dock = System::Windows::Forms::DockStyle::Left;
this->label40->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label40->Location = System::Drawing::Point(5, 5);
this->label40->Name = L"label40";
this->label40->Size = System::Drawing::Size(140, 22);
this->label40->TabIndex = 0;
this->label40->Text = L"Video ID";
this->label40->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// panel30
//
this->panel30->Controls->Add(this->NumPicture);
this->panel30->Controls->Add(this->label39);
this->panel30->Dock = System::Windows::Forms::DockStyle::Top;
this->panel30->Location = System::Drawing::Point(6, 51);
this->panel30->Name = L"panel30";
this->panel30->Padding = System::Windows::Forms::Padding(5);
this->panel30->Size = System::Drawing::Size(435, 32);
this->panel30->TabIndex = 8;
//
// NumPicture
//
this->NumPicture->Dock = System::Windows::Forms::DockStyle::Left;
this->NumPicture->Location = System::Drawing::Point(145, 5);
this->NumPicture->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
this->NumPicture->Name = L"NumPicture";
this->NumPicture->Size = System::Drawing::Size(118, 20);
this->NumPicture->TabIndex = 1;
this->NumPicture->ThousandsSeparator = true;
this->NumPicture->ValueChanged += gcnew System::EventHandler(this, &CustomiseModel::NumPicture_ValueChanged);
//
// label39
//
this->label39->Dock = System::Windows::Forms::DockStyle::Left;
this->label39->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label39->Location = System::Drawing::Point(5, 5);
this->label39->Name = L"label39";
this->label39->Size = System::Drawing::Size(140, 22);
this->label39->TabIndex = 0;
this->label39->Text = L"Picture ID";
this->label39->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// panel29
//
this->panel29->Controls->Add(this->TextBody);
this->panel29->Controls->Add(this->label38);
this->panel29->Dock = System::Windows::Forms::DockStyle::Top;
this->panel29->Location = System::Drawing::Point(6, 19);
this->panel29->Name = L"panel29";
this->panel29->Padding = System::Windows::Forms::Padding(5);
this->panel29->Size = System::Drawing::Size(435, 32);
this->panel29->TabIndex = 7;
//
// TextBody
//
this->TextBody->Dock = System::Windows::Forms::DockStyle::Fill;
this->TextBody->Location = System::Drawing::Point(145, 5);
this->TextBody->Name = L"TextBody";
this->TextBody->Size = System::Drawing::Size(285, 20);
this->TextBody->TabIndex = 1;
this->TextBody->TextChanged += gcnew System::EventHandler(this, &CustomiseModel::TextBody_TextChanged);
//
// label38
//
this->label38->Dock = System::Windows::Forms::DockStyle::Left;
this->label38->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label38->Location = System::Drawing::Point(5, 5);
this->label38->Name = L"label38";
this->label38->Size = System::Drawing::Size(140, 22);
this->label38->TabIndex = 0;
this->label38->Text = L"Body File";
this->label38->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
//
// CustomiseModel
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->Controls->Add(this->groupBox11);
this->Controls->Add(this->groupBox10);
this->Controls->Add(this->groupBox9);
this->Controls->Add(this->groupBox8);
this->Name = L"CustomiseModel";
this->Size = System::Drawing::Size(447, 418);
this->groupBox11->ResumeLayout(false);
this->tableLayoutPanel7->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumExplosion))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumBodyDef))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumParticle))->EndInit();
this->groupBox10->ResumeLayout(false);
this->tableLayoutPanel6->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumSoundMin))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumSoundMax))->EndInit();
this->groupBox9->ResumeLayout(false);
this->tableLayoutPanel5->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumEffect))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumGlow))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumSound))->EndInit();
this->groupBox8->ResumeLayout(false);
this->panel33->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumSkin))->EndInit();
this->panel31->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumVideo))->EndInit();
this->panel30->ResumeLayout(false);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->NumPicture))->EndInit();
this->panel29->ResumeLayout(false);
this->panel29->PerformLayout();
this->ResumeLayout(false);
}
#pragma endregion
private: System::Void TextBody_TextChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->sModel = _WS(this->TextBody->Text);
}
private: System::Void NumPicture_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iPictureID = Convert::ToInt32(this->NumPicture->Value);
}
private: System::Void NumVideo_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iVideoID = Convert::ToInt32(this->NumVideo->Value);
}
private: System::Void NumEffect_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iEngineEffect = Convert::ToInt32(this->NumEffect->Value);
}
private: System::Void NumGlow_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iEngineGlow = Convert::ToInt32(this->NumGlow->Value);
}
private: System::Void NumSound_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iEngineSound = Convert::ToInt32(this->NumSound->Value);
}
private: System::Void NumSkin_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iSkin = Convert::ToInt32(this->NumSkin->Value);
}
private: System::Void NumSoundMin_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iSoundMin = Convert::ToInt32(this->NumSoundMin->Value);
}
private: System::Void NumSoundMax_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iSoundMax = Convert::ToInt32(this->NumSoundMax->Value);
}
private: System::Void NumExplosion_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iExplosionDef = Convert::ToInt32(this->NumExplosion->Value);
}
private: System::Void NumBodyDef_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iExplosionBody = Convert::ToInt32(this->NumBodyDef->Value);
}
private: System::Void NumParticle_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
if ( !m_bUpdateing )
m_pShipData->iParticle = Convert::ToInt32(this->NumParticle->Value);
}
};
}