| 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 CustomiseInfo
 | 
        
           |  |  | 15 | 	/// </summary>
 | 
        
           |  |  | 16 | 	public ref class CustomiseInfo : public System::Windows::Forms::UserControl
 | 
        
           |  |  | 17 | 	{
 | 
        
           |  |  | 18 | 	public:
 | 
        
           |  |  | 19 | 		CustomiseInfo(Windows::Forms::Form ^parent, CShipData *shipData)
 | 
        
           |  |  | 20 | 		{
 | 
        
           |  |  | 21 | 			InitializeComponent();
 | 
        
           |  |  | 22 |   | 
        
           |  |  | 23 | 			m_pParent = parent;
 | 
        
           |  |  | 24 | 			m_pShipData = shipData;
 | 
        
           |  |  | 25 | 			m_bUpdateing = false;
 | 
        
           |  |  | 26 |   | 
        
           |  |  | 27 | 			this->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 28 | 		}
 | 
        
           |  |  | 29 |   | 
        
           |  |  | 30 | 		String ^AddText(String ^text, String ^def);
 | 
        
           |  |  | 31 | 		String ^FindText(int game, int page, int id);
 | 
        
           |  |  | 32 |   | 
        
           |  |  | 33 | 		void UpdateDisplay();
 | 
        
           |  |  | 34 | 		void UpdateInfo();
 | 
        
           |  |  | 35 |   | 
        
           |  |  | 36 | 		void UpdateNotority();
 | 
        
           |  |  | 37 | 		int GetNotoAmount(int preset);
 | 
        
           |  |  | 38 | 		int GetNotoPage(int race);
 | 
        
           |  |  | 39 | 		String ^GetCargoClass(int i);
 | 
        
           |  |  | 40 |   | 
        
           |  |  | 41 | 	protected:
 | 
        
           |  |  | 42 | 		/// <summary>
 | 
        
           |  |  | 43 | 		/// Clean up any resources being used.
 | 
        
           |  |  | 44 | 		/// </summary>
 | 
        
           |  |  | 45 | 		~CustomiseInfo()
 | 
        
           |  |  | 46 | 		{
 | 
        
           |  |  | 47 | 			if (components)
 | 
        
           |  |  | 48 | 			{
 | 
        
           |  |  | 49 | 				delete components;
 | 
        
           |  |  | 50 | 			}
 | 
        
           |  |  | 51 | 		}
 | 
        
           |  |  | 52 | 	private: System::Windows::Forms::GroupBox^  groupBox3;
 | 
        
           |  |  | 53 | 	protected: 
 | 
        
           |  |  | 54 | 	private: System::Windows::Forms::Panel^  panel9;
 | 
        
           |  |  | 55 | 	private: System::Windows::Forms::NumericUpDown^  NumNoto;
 | 
        
           |  |  | 56 | 	private: System::Windows::Forms::Label^  label14;
 | 
        
           |  |  | 57 | 	private: System::Windows::Forms::Panel^  panel8;
 | 
        
           |  |  | 58 | 	private: System::Windows::Forms::ComboBox^  ComboNoto;
 | 
        
           |  |  | 59 | 	private: System::Windows::Forms::Label^  label13;
 | 
        
           |  |  | 60 | 	private: System::Windows::Forms::GroupBox^  groupBox2;
 | 
        
           |  |  | 61 | 	private: System::Windows::Forms::TableLayoutPanel^  tableLayoutPanel2;
 | 
        
           |  |  | 62 | 	private: System::Windows::Forms::NumericUpDown^  TextPriceNPC;
 | 
        
           |  |  | 63 | 	private: System::Windows::Forms::NumericUpDown^  TextPricePlayer;
 | 
        
           |  |  | 64 | 	private: System::Windows::Forms::Label^  label12;
 | 
        
           |  |  | 65 | 	private: System::Windows::Forms::Label^  label10;
 | 
        
           |  |  | 66 | 	private: System::Windows::Forms::NumericUpDown^  NumPriceNPC;
 | 
        
           |  |  | 67 | 	private: System::Windows::Forms::NumericUpDown^  NumPricePlayer;
 | 
        
           |  |  | 68 | 	private: System::Windows::Forms::Label^  label11;
 | 
        
           |  |  | 69 | 	private: System::Windows::Forms::Label^  label9;
 | 
        
           |  |  | 70 | 	private: System::Windows::Forms::GroupBox^  groupBox1;
 | 
        
           |  |  | 71 | 	private: System::Windows::Forms::Panel^  panel7;
 | 
        
           |  |  | 72 | 	private: System::Windows::Forms::ComboBox^  ComboCargo;
 | 
        
           |  |  | 73 | 	private: System::Windows::Forms::Label^  label8;
 | 
        
           |  |  | 74 | 	private: System::Windows::Forms::TableLayoutPanel^  tableLayoutPanel1;
 | 
        
           |  |  | 75 | 	private: System::Windows::Forms::Label^  label7;
 | 
        
           |  |  | 76 | 	private: System::Windows::Forms::Label^  label6;
 | 
        
           |  |  | 77 | 	private: System::Windows::Forms::NumericUpDown^  NumCargoMin;
 | 
        
           |  |  | 78 | 	private: System::Windows::Forms::NumericUpDown^  NumCargoMax;
 | 
        
           |  |  | 79 | 	private: System::Windows::Forms::Panel^  panel6;
 | 
        
           |  |  | 80 | 	private: System::Windows::Forms::NumericUpDown^  NumDock;
 | 
        
           |  |  | 81 | 	private: System::Windows::Forms::Label^  label5;
 | 
        
           |  |  | 82 | 	private: System::Windows::Forms::Panel^  panel4;
 | 
        
           |  |  | 83 | 	private: System::Windows::Forms::ComboBox^  ComboVariation;
 | 
        
           |  |  | 84 | 	private: System::Windows::Forms::Label^  label3;
 | 
        
           |  |  | 85 | 	private: System::Windows::Forms::Panel^  panel10;
 | 
        
           |  |  | 86 | 	private: System::Windows::Forms::ComboBox^  ComboSubType;
 | 
        
           |  |  | 87 | 	private: System::Windows::Forms::Label^  label15;
 | 
        
           |  |  | 88 | 	private: System::Windows::Forms::Panel^  panel5;
 | 
        
           |  |  | 89 | 	private: System::Windows::Forms::ComboBox^  ComboClass;
 | 
        
           |  |  | 90 | 	private: System::Windows::Forms::Label^  label4;
 | 
        
           |  |  | 91 | 	private: System::Windows::Forms::Panel^  panel3;
 | 
        
           |  |  | 92 | 	private: System::Windows::Forms::ComboBox^  ComboRace;
 | 
        
           |  |  | 93 | 	private: System::Windows::Forms::Label^  label2;
 | 
        
           |  |  | 94 |   | 
        
           |  |  | 95 | 	private:
 | 
        
           |  |  | 96 | 		Windows::Forms::Form	^m_pParent;
 | 
        
           |  |  | 97 | 		CShipData				*m_pShipData;
 | 
        
           |  |  | 98 | 		bool					 m_bUpdateing;
 | 
        
           |  |  | 99 | 		/// <summary>
 | 
        
           |  |  | 100 | 		/// Required designer variable.
 | 
        
           |  |  | 101 | 		/// </summary>
 | 
        
           |  |  | 102 | 		System::ComponentModel::Container ^components;
 | 
        
           |  |  | 103 |   | 
        
           |  |  | 104 | #pragma region Windows Form Designer generated code
 | 
        
           |  |  | 105 | 		/// <summary>
 | 
        
           |  |  | 106 | 		/// Required method for Designer support - do not modify
 | 
        
           |  |  | 107 | 		/// the contents of this method with the code editor.
 | 
        
           |  |  | 108 | 		/// </summary>
 | 
        
           |  |  | 109 | 		void InitializeComponent(void)
 | 
        
           |  |  | 110 | 		{
 | 
        
           |  |  | 111 | 			this->groupBox3 = (gcnew System::Windows::Forms::GroupBox());
 | 
        
           |  |  | 112 | 			this->panel9 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 113 | 			this->NumNoto = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 114 | 			this->label14 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 115 | 			this->panel8 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 116 | 			this->ComboNoto = (gcnew System::Windows::Forms::ComboBox());
 | 
        
           |  |  | 117 | 			this->label13 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 118 | 			this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
 | 
        
           |  |  | 119 | 			this->tableLayoutPanel2 = (gcnew System::Windows::Forms::TableLayoutPanel());
 | 
        
           |  |  | 120 | 			this->TextPriceNPC = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 121 | 			this->TextPricePlayer = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 122 | 			this->label12 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 123 | 			this->label10 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 124 | 			this->NumPriceNPC = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 125 | 			this->NumPricePlayer = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 126 | 			this->label11 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 127 | 			this->label9 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 128 | 			this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
 | 
        
           |  |  | 129 | 			this->panel7 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 130 | 			this->ComboCargo = (gcnew System::Windows::Forms::ComboBox());
 | 
        
           |  |  | 131 | 			this->label8 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 132 | 			this->tableLayoutPanel1 = (gcnew System::Windows::Forms::TableLayoutPanel());
 | 
        
           |  |  | 133 | 			this->label7 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 134 | 			this->label6 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 135 | 			this->NumCargoMin = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 136 | 			this->NumCargoMax = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 137 | 			this->panel6 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 138 | 			this->NumDock = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 139 | 			this->label5 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 140 | 			this->panel4 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 141 | 			this->ComboVariation = (gcnew System::Windows::Forms::ComboBox());
 | 
        
           |  |  | 142 | 			this->label3 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 143 | 			this->panel10 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 144 | 			this->ComboSubType = (gcnew System::Windows::Forms::ComboBox());
 | 
        
           |  |  | 145 | 			this->label15 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 146 | 			this->panel5 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 147 | 			this->ComboClass = (gcnew System::Windows::Forms::ComboBox());
 | 
        
           |  |  | 148 | 			this->label4 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 149 | 			this->panel3 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 150 | 			this->ComboRace = (gcnew System::Windows::Forms::ComboBox());
 | 
        
           |  |  | 151 | 			this->label2 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 152 | 			this->groupBox3->SuspendLayout();
 | 
        
           |  |  | 153 | 			this->panel9->SuspendLayout();
 | 
        
           |  |  | 154 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumNoto))->BeginInit();
 | 
        
           |  |  | 155 | 			this->panel8->SuspendLayout();
 | 
        
           |  |  | 156 | 			this->groupBox2->SuspendLayout();
 | 
        
           |  |  | 157 | 			this->tableLayoutPanel2->SuspendLayout();
 | 
        
           |  |  | 158 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->TextPriceNPC))->BeginInit();
 | 
        
           |  |  | 159 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->TextPricePlayer))->BeginInit();
 | 
        
           |  |  | 160 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumPriceNPC))->BeginInit();
 | 
        
           |  |  | 161 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumPricePlayer))->BeginInit();
 | 
        
           |  |  | 162 | 			this->groupBox1->SuspendLayout();
 | 
        
           |  |  | 163 | 			this->panel7->SuspendLayout();
 | 
        
           |  |  | 164 | 			this->tableLayoutPanel1->SuspendLayout();
 | 
        
           |  |  | 165 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumCargoMin))->BeginInit();
 | 
        
           |  |  | 166 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumCargoMax))->BeginInit();
 | 
        
           |  |  | 167 | 			this->panel6->SuspendLayout();
 | 
        
           |  |  | 168 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumDock))->BeginInit();
 | 
        
           |  |  | 169 | 			this->panel4->SuspendLayout();
 | 
        
           |  |  | 170 | 			this->panel10->SuspendLayout();
 | 
        
           |  |  | 171 | 			this->panel5->SuspendLayout();
 | 
        
           |  |  | 172 | 			this->panel3->SuspendLayout();
 | 
        
           |  |  | 173 | 			this->SuspendLayout();
 | 
        
           |  |  | 174 | 			// 
 | 
        
           |  |  | 175 | 			// groupBox3
 | 
        
           |  |  | 176 | 			// 
 | 
        
           |  |  | 177 | 			this->groupBox3->Controls->Add(this->panel9);
 | 
        
           |  |  | 178 | 			this->groupBox3->Controls->Add(this->panel8);
 | 
        
           |  |  | 179 | 			this->groupBox3->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 180 | 			this->groupBox3->Location = System::Drawing::Point(0, 360);
 | 
        
           |  |  | 181 | 			this->groupBox3->Name = L"groupBox3";
 | 
        
           |  |  | 182 | 			this->groupBox3->Size = System::Drawing::Size(687, 88);
 | 
        
           |  |  | 183 | 			this->groupBox3->TabIndex = 7;
 | 
        
           |  |  | 184 | 			this->groupBox3->TabStop = false;
 | 
        
           |  |  | 185 | 			this->groupBox3->Text = L"Notority Required";
 | 
        
           |  |  | 186 | 			// 
 | 
        
           |  |  | 187 | 			// panel9
 | 
        
           |  |  | 188 | 			// 
 | 
        
           |  |  | 189 | 			this->panel9->Controls->Add(this->NumNoto);
 | 
        
           |  |  | 190 | 			this->panel9->Controls->Add(this->label14);
 | 
        
           |  |  | 191 | 			this->panel9->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 192 | 			this->panel9->Location = System::Drawing::Point(3, 48);
 | 
        
           |  |  | 193 | 			this->panel9->Name = L"panel9";
 | 
        
           |  |  | 194 | 			this->panel9->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 195 | 			this->panel9->Size = System::Drawing::Size(681, 32);
 | 
        
           |  |  | 196 | 			this->panel9->TabIndex = 5;
 | 
        
           |  |  | 197 | 			// 
 | 
        
           |  |  | 198 | 			// NumNoto
 | 
        
           |  |  | 199 | 			// 
 | 
        
           |  |  | 200 | 			this->NumNoto->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 201 | 			this->NumNoto->Location = System::Drawing::Point(155, 5);
 | 
        
           |  |  | 202 | 			this->NumNoto->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1000000, 0, 0, 0});
 | 
        
           |  |  | 203 | 			this->NumNoto->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1000000, 0, 0, System::Int32::MinValue});
 | 
        
           |  |  | 204 | 			this->NumNoto->Name = L"NumNoto";
 | 
        
           |  |  | 205 | 			this->NumNoto->Size = System::Drawing::Size(120, 20);
 | 
        
           |  |  | 206 | 			this->NumNoto->TabIndex = 1;
 | 
        
           |  |  | 207 | 			this->NumNoto->ValueChanged += gcnew System::EventHandler(this, &CustomiseInfo::NumNoto_ValueChanged);
 | 
        
           |  |  | 208 | 			// 
 | 
        
           |  |  | 209 | 			// label14
 | 
        
           |  |  | 210 | 			// 
 | 
        
           |  |  | 211 | 			this->label14->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 212 | 			this->label14->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 213 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 214 | 			this->label14->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 215 | 			this->label14->Name = L"label14";
 | 
        
           |  |  | 216 | 			this->label14->Size = System::Drawing::Size(150, 22);
 | 
        
           |  |  | 217 | 			this->label14->TabIndex = 0;
 | 
        
           |  |  | 218 | 			this->label14->Text = L"Minimum";
 | 
        
           |  |  | 219 | 			this->label14->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 220 | 			// 
 | 
        
           |  |  | 221 | 			// panel8
 | 
        
           |  |  | 222 | 			// 
 | 
        
           |  |  | 223 | 			this->panel8->Controls->Add(this->ComboNoto);
 | 
        
           |  |  | 224 | 			this->panel8->Controls->Add(this->label13);
 | 
        
           |  |  | 225 | 			this->panel8->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 226 | 			this->panel8->Location = System::Drawing::Point(3, 16);
 | 
        
           |  |  | 227 | 			this->panel8->Name = L"panel8";
 | 
        
           |  |  | 228 | 			this->panel8->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 229 | 			this->panel8->Size = System::Drawing::Size(681, 32);
 | 
        
           |  |  | 230 | 			this->panel8->TabIndex = 4;
 | 
        
           |  |  | 231 | 			// 
 | 
        
           |  |  | 232 | 			// ComboNoto
 | 
        
           |  |  | 233 | 			// 
 | 
        
           |  |  | 234 | 			this->ComboNoto->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 235 | 			this->ComboNoto->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
 | 
        
           |  |  | 236 | 			this->ComboNoto->FormattingEnabled = true;
 | 
        
           |  |  | 237 | 			this->ComboNoto->Location = System::Drawing::Point(155, 5);
 | 
        
           |  |  | 238 | 			this->ComboNoto->Name = L"ComboNoto";
 | 
        
           |  |  | 239 | 			this->ComboNoto->Size = System::Drawing::Size(521, 21);
 | 
        
           |  |  | 240 | 			this->ComboNoto->TabIndex = 1;
 | 
        
           |  |  | 241 | 			this->ComboNoto->SelectedIndexChanged += gcnew System::EventHandler(this, &CustomiseInfo::ComboNoto_SelectedIndexChanged);
 | 
        
           |  |  | 242 | 			// 
 | 
        
           |  |  | 243 | 			// label13
 | 
        
           |  |  | 244 | 			// 
 | 
        
           |  |  | 245 | 			this->label13->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 246 | 			this->label13->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 247 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 248 | 			this->label13->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 249 | 			this->label13->Name = L"label13";
 | 
        
           |  |  | 250 | 			this->label13->Size = System::Drawing::Size(150, 22);
 | 
        
           |  |  | 251 | 			this->label13->TabIndex = 0;
 | 
        
           |  |  | 252 | 			this->label13->Text = L"Set To Preset";
 | 
        
           |  |  | 253 | 			this->label13->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 254 | 			// 
 | 
        
           |  |  | 255 | 			// groupBox2
 | 
        
           |  |  | 256 | 			// 
 | 
        
           |  |  | 257 | 			this->groupBox2->Controls->Add(this->tableLayoutPanel2);
 | 
        
           |  |  | 258 | 			this->groupBox2->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 259 | 			this->groupBox2->Location = System::Drawing::Point(0, 272);
 | 
        
           |  |  | 260 | 			this->groupBox2->Name = L"groupBox2";
 | 
        
           |  |  | 261 | 			this->groupBox2->Size = System::Drawing::Size(687, 88);
 | 
        
           |  |  | 262 | 			this->groupBox2->TabIndex = 6;
 | 
        
           |  |  | 263 | 			this->groupBox2->TabStop = false;
 | 
        
           |  |  | 264 | 			this->groupBox2->Text = L"Price";
 | 
        
           |  |  | 265 | 			// 
 | 
        
           |  |  | 266 | 			// tableLayoutPanel2
 | 
        
           |  |  | 267 | 			// 
 | 
        
           |  |  | 268 | 			this->tableLayoutPanel2->ColumnCount = 3;
 | 
        
           |  |  | 269 | 			this->tableLayoutPanel2->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent, 
 | 
        
           |  |  | 270 | 				33.50785F)));
 | 
        
           |  |  | 271 | 			this->tableLayoutPanel2->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent, 
 | 
        
           |  |  | 272 | 				66.49215F)));
 | 
        
           |  |  | 273 | 			this->tableLayoutPanel2->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Absolute, 
 | 
        
           | 63 | cycrow | 274 | 				372)));
 | 
        
           | 1 | cycrow | 275 | 			this->tableLayoutPanel2->Controls->Add(this->TextPriceNPC, 2, 2);
 | 
        
           |  |  | 276 | 			this->tableLayoutPanel2->Controls->Add(this->TextPricePlayer, 2, 1);
 | 
        
           |  |  | 277 | 			this->tableLayoutPanel2->Controls->Add(this->label12, 2, 0);
 | 
        
           |  |  | 278 | 			this->tableLayoutPanel2->Controls->Add(this->label10, 1, 0);
 | 
        
           |  |  | 279 | 			this->tableLayoutPanel2->Controls->Add(this->NumPriceNPC, 1, 2);
 | 
        
           |  |  | 280 | 			this->tableLayoutPanel2->Controls->Add(this->NumPricePlayer, 1, 1);
 | 
        
           |  |  | 281 | 			this->tableLayoutPanel2->Controls->Add(this->label11, 0, 2);
 | 
        
           |  |  | 282 | 			this->tableLayoutPanel2->Controls->Add(this->label9, 0, 1);
 | 
        
           |  |  | 283 | 			this->tableLayoutPanel2->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 284 | 			this->tableLayoutPanel2->Location = System::Drawing::Point(3, 16);
 | 
        
           |  |  | 285 | 			this->tableLayoutPanel2->Name = L"tableLayoutPanel2";
 | 
        
           |  |  | 286 | 			this->tableLayoutPanel2->RowCount = 3;
 | 
        
           |  |  | 287 | 			this->tableLayoutPanel2->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 45.76271F)));
 | 
        
           |  |  | 288 | 			this->tableLayoutPanel2->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 54.23729F)));
 | 
        
           |  |  | 289 | 			this->tableLayoutPanel2->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Absolute, 24)));
 | 
        
           |  |  | 290 | 			this->tableLayoutPanel2->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Absolute, 20)));
 | 
        
           |  |  | 291 | 			this->tableLayoutPanel2->Size = System::Drawing::Size(681, 69);
 | 
        
           |  |  | 292 | 			this->tableLayoutPanel2->TabIndex = 7;
 | 
        
           |  |  | 293 | 			// 
 | 
        
           |  |  | 294 | 			// TextPriceNPC
 | 
        
           |  |  | 295 | 			// 
 | 
        
           |  |  | 296 | 			this->TextPriceNPC->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 297 | 			this->TextPriceNPC->Enabled = false;
 | 
        
           |  |  | 298 | 			this->TextPriceNPC->InterceptArrowKeys = false;
 | 
        
           | 63 | cycrow | 299 | 			this->TextPriceNPC->Location = System::Drawing::Point(311, 47);
 | 
        
           | 59 | cycrow | 300 | 			this->TextPriceNPC->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {-1894967296, 0, 0, 0});
 | 
        
           | 1 | cycrow | 301 | 			this->TextPriceNPC->Name = L"TextPriceNPC";
 | 
        
           |  |  | 302 | 			this->TextPriceNPC->ReadOnly = true;
 | 
        
           | 63 | cycrow | 303 | 			this->TextPriceNPC->Size = System::Drawing::Size(367, 20);
 | 
        
           | 1 | cycrow | 304 | 			this->TextPriceNPC->TabIndex = 10;
 | 
        
           |  |  | 305 | 			this->TextPriceNPC->TabStop = false;
 | 
        
           |  |  | 306 | 			this->TextPriceNPC->ThousandsSeparator = true;
 | 
        
           |  |  | 307 | 			this->TextPriceNPC->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
 | 
        
           |  |  | 308 | 			// 
 | 
        
           |  |  | 309 | 			// TextPricePlayer
 | 
        
           |  |  | 310 | 			// 
 | 
        
           |  |  | 311 | 			this->TextPricePlayer->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 312 | 			this->TextPricePlayer->Enabled = false;
 | 
        
           |  |  | 313 | 			this->TextPricePlayer->InterceptArrowKeys = false;
 | 
        
           | 63 | cycrow | 314 | 			this->TextPricePlayer->Location = System::Drawing::Point(311, 23);
 | 
        
           | 59 | cycrow | 315 | 			this->TextPricePlayer->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {-1894967296, 0, 0, 0});
 | 
        
           | 1 | cycrow | 316 | 			this->TextPricePlayer->Name = L"TextPricePlayer";
 | 
        
           |  |  | 317 | 			this->TextPricePlayer->ReadOnly = true;
 | 
        
           | 63 | cycrow | 318 | 			this->TextPricePlayer->Size = System::Drawing::Size(367, 20);
 | 
        
           | 1 | cycrow | 319 | 			this->TextPricePlayer->TabIndex = 9;
 | 
        
           |  |  | 320 | 			this->TextPricePlayer->TabStop = false;
 | 
        
           |  |  | 321 | 			this->TextPricePlayer->ThousandsSeparator = true;
 | 
        
           |  |  | 322 | 			this->TextPricePlayer->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
 | 
        
           |  |  | 323 | 			// 
 | 
        
           |  |  | 324 | 			// label12
 | 
        
           |  |  | 325 | 			// 
 | 
        
           |  |  | 326 | 			this->label12->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 327 | 			this->label12->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 328 | 				static_cast<System::Byte>(0)));
 | 
        
           | 63 | cycrow | 329 | 			this->label12->Location = System::Drawing::Point(311, 0);
 | 
        
           | 1 | cycrow | 330 | 			this->label12->Name = L"label12";
 | 
        
           | 63 | cycrow | 331 | 			this->label12->Size = System::Drawing::Size(367, 20);
 | 
        
           | 1 | cycrow | 332 | 			this->label12->TabIndex = 6;
 | 
        
           |  |  | 333 | 			this->label12->Text = L"Rough Price";
 | 
        
           |  |  | 334 | 			this->label12->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
 | 
        
           |  |  | 335 | 			// 
 | 
        
           |  |  | 336 | 			// label10
 | 
        
           |  |  | 337 | 			// 
 | 
        
           |  |  | 338 | 			this->label10->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 339 | 			this->label10->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 340 | 				static_cast<System::Byte>(0)));
 | 
        
           | 62 | cycrow | 341 | 			this->label10->Location = System::Drawing::Point(106, 0);
 | 
        
           | 1 | cycrow | 342 | 			this->label10->Name = L"label10";
 | 
        
           | 63 | cycrow | 343 | 			this->label10->Size = System::Drawing::Size(199, 20);
 | 
        
           | 1 | cycrow | 344 | 			this->label10->TabIndex = 5;
 | 
        
           |  |  | 345 | 			this->label10->Text = L"Relval";
 | 
        
           |  |  | 346 | 			this->label10->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
 | 
        
           |  |  | 347 | 			// 
 | 
        
           |  |  | 348 | 			// NumPriceNPC
 | 
        
           |  |  | 349 | 			// 
 | 
        
           |  |  | 350 | 			this->NumPriceNPC->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           | 62 | cycrow | 351 | 			this->NumPriceNPC->Location = System::Drawing::Point(106, 47);
 | 
        
           | 59 | cycrow | 352 | 			this->NumPriceNPC->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {25000000, 0, 0, 0});
 | 
        
           | 1 | cycrow | 353 | 			this->NumPriceNPC->Name = L"NumPriceNPC";
 | 
        
           | 63 | cycrow | 354 | 			this->NumPriceNPC->Size = System::Drawing::Size(199, 20);
 | 
        
           | 1 | cycrow | 355 | 			this->NumPriceNPC->TabIndex = 4;
 | 
        
           |  |  | 356 | 			this->NumPriceNPC->ThousandsSeparator = true;
 | 
        
           |  |  | 357 | 			this->NumPriceNPC->UpDownAlign = System::Windows::Forms::LeftRightAlignment::Left;
 | 
        
           |  |  | 358 | 			this->NumPriceNPC->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
 | 
        
           |  |  | 359 | 			this->NumPriceNPC->ValueChanged += gcnew System::EventHandler(this, &CustomiseInfo::NumPriceNPC_ValueChanged);
 | 
        
           |  |  | 360 | 			// 
 | 
        
           |  |  | 361 | 			// NumPricePlayer
 | 
        
           |  |  | 362 | 			// 
 | 
        
           |  |  | 363 | 			this->NumPricePlayer->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           | 62 | cycrow | 364 | 			this->NumPricePlayer->Location = System::Drawing::Point(106, 23);
 | 
        
           | 59 | cycrow | 365 | 			this->NumPricePlayer->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {25000000, 0, 0, 0});
 | 
        
           | 1 | cycrow | 366 | 			this->NumPricePlayer->Name = L"NumPricePlayer";
 | 
        
           | 63 | cycrow | 367 | 			this->NumPricePlayer->Size = System::Drawing::Size(199, 20);
 | 
        
           | 1 | cycrow | 368 | 			this->NumPricePlayer->TabIndex = 3;
 | 
        
           |  |  | 369 | 			this->NumPricePlayer->ThousandsSeparator = true;
 | 
        
           |  |  | 370 | 			this->NumPricePlayer->UpDownAlign = System::Windows::Forms::LeftRightAlignment::Left;
 | 
        
           |  |  | 371 | 			this->NumPricePlayer->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
 | 
        
           |  |  | 372 | 			this->NumPricePlayer->ValueChanged += gcnew System::EventHandler(this, &CustomiseInfo::NumPricePlayer_ValueChanged);
 | 
        
           |  |  | 373 | 			// 
 | 
        
           |  |  | 374 | 			// label11
 | 
        
           |  |  | 375 | 			// 
 | 
        
           |  |  | 376 | 			this->label11->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 377 | 			this->label11->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 378 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 379 | 			this->label11->Location = System::Drawing::Point(3, 44);
 | 
        
           |  |  | 380 | 			this->label11->Name = L"label11";
 | 
        
           | 62 | cycrow | 381 | 			this->label11->Size = System::Drawing::Size(97, 25);
 | 
        
           | 1 | cycrow | 382 | 			this->label11->TabIndex = 2;
 | 
        
           |  |  | 383 | 			this->label11->Text = L"NPC";
 | 
        
           |  |  | 384 | 			this->label11->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 385 | 			// 
 | 
        
           |  |  | 386 | 			// label9
 | 
        
           |  |  | 387 | 			// 
 | 
        
           |  |  | 388 | 			this->label9->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 389 | 			this->label9->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 390 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 391 | 			this->label9->Location = System::Drawing::Point(3, 20);
 | 
        
           |  |  | 392 | 			this->label9->Name = L"label9";
 | 
        
           | 62 | cycrow | 393 | 			this->label9->Size = System::Drawing::Size(97, 24);
 | 
        
           | 1 | cycrow | 394 | 			this->label9->TabIndex = 1;
 | 
        
           |  |  | 395 | 			this->label9->Text = L"Player";
 | 
        
           |  |  | 396 | 			this->label9->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 397 | 			// 
 | 
        
           |  |  | 398 | 			// groupBox1
 | 
        
           |  |  | 399 | 			// 
 | 
        
           |  |  | 400 | 			this->groupBox1->Controls->Add(this->panel7);
 | 
        
           |  |  | 401 | 			this->groupBox1->Controls->Add(this->tableLayoutPanel1);
 | 
        
           |  |  | 402 | 			this->groupBox1->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 403 | 			this->groupBox1->Location = System::Drawing::Point(0, 160);
 | 
        
           |  |  | 404 | 			this->groupBox1->Name = L"groupBox1";
 | 
        
           |  |  | 405 | 			this->groupBox1->Padding = System::Windows::Forms::Padding(10);
 | 
        
           |  |  | 406 | 			this->groupBox1->Size = System::Drawing::Size(687, 112);
 | 
        
           |  |  | 407 | 			this->groupBox1->TabIndex = 5;
 | 
        
           |  |  | 408 | 			this->groupBox1->TabStop = false;
 | 
        
           |  |  | 409 | 			this->groupBox1->Text = L"Cargo Space";
 | 
        
           |  |  | 410 | 			// 
 | 
        
           |  |  | 411 | 			// panel7
 | 
        
           |  |  | 412 | 			// 
 | 
        
           |  |  | 413 | 			this->panel7->Controls->Add(this->ComboCargo);
 | 
        
           |  |  | 414 | 			this->panel7->Controls->Add(this->label8);
 | 
        
           |  |  | 415 | 			this->panel7->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 416 | 			this->panel7->Location = System::Drawing::Point(10, 71);
 | 
        
           |  |  | 417 | 			this->panel7->Name = L"panel7";
 | 
        
           |  |  | 418 | 			this->panel7->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 419 | 			this->panel7->Size = System::Drawing::Size(667, 29);
 | 
        
           |  |  | 420 | 			this->panel7->TabIndex = 3;
 | 
        
           |  |  | 421 | 			// 
 | 
        
           |  |  | 422 | 			// ComboCargo
 | 
        
           |  |  | 423 | 			// 
 | 
        
           |  |  | 424 | 			this->ComboCargo->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 425 | 			this->ComboCargo->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
 | 
        
           |  |  | 426 | 			this->ComboCargo->FormattingEnabled = true;
 | 
        
           |  |  | 427 | 			this->ComboCargo->Location = System::Drawing::Point(155, 5);
 | 
        
           |  |  | 428 | 			this->ComboCargo->Name = L"ComboCargo";
 | 
        
           |  |  | 429 | 			this->ComboCargo->Size = System::Drawing::Size(507, 21);
 | 
        
           |  |  | 430 | 			this->ComboCargo->TabIndex = 1;
 | 
        
           |  |  | 431 | 			this->ComboCargo->SelectedIndexChanged += gcnew System::EventHandler(this, &CustomiseInfo::ComboCargo_SelectedIndexChanged);
 | 
        
           |  |  | 432 | 			// 
 | 
        
           |  |  | 433 | 			// label8
 | 
        
           |  |  | 434 | 			// 
 | 
        
           |  |  | 435 | 			this->label8->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 436 | 			this->label8->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 437 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 438 | 			this->label8->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 439 | 			this->label8->Name = L"label8";
 | 
        
           |  |  | 440 | 			this->label8->Size = System::Drawing::Size(150, 19);
 | 
        
           |  |  | 441 | 			this->label8->TabIndex = 0;
 | 
        
           |  |  | 442 | 			this->label8->Text = L"Cargo Class";
 | 
        
           |  |  | 443 | 			this->label8->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 444 | 			// 
 | 
        
           |  |  | 445 | 			// tableLayoutPanel1
 | 
        
           |  |  | 446 | 			// 
 | 
        
           |  |  | 447 | 			this->tableLayoutPanel1->ColumnCount = 2;
 | 
        
           |  |  | 448 | 			this->tableLayoutPanel1->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent, 
 | 
        
           |  |  | 449 | 				50)));
 | 
        
           |  |  | 450 | 			this->tableLayoutPanel1->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent, 
 | 
        
           |  |  | 451 | 				50)));
 | 
        
           |  |  | 452 | 			this->tableLayoutPanel1->Controls->Add(this->label7, 1, 0);
 | 
        
           |  |  | 453 | 			this->tableLayoutPanel1->Controls->Add(this->label6, 0, 0);
 | 
        
           |  |  | 454 | 			this->tableLayoutPanel1->Controls->Add(this->NumCargoMin, 0, 1);
 | 
        
           |  |  | 455 | 			this->tableLayoutPanel1->Controls->Add(this->NumCargoMax, 1, 1);
 | 
        
           |  |  | 456 | 			this->tableLayoutPanel1->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 457 | 			this->tableLayoutPanel1->Location = System::Drawing::Point(10, 23);
 | 
        
           |  |  | 458 | 			this->tableLayoutPanel1->Name = L"tableLayoutPanel1";
 | 
        
           |  |  | 459 | 			this->tableLayoutPanel1->RowCount = 2;
 | 
        
           |  |  | 460 | 			this->tableLayoutPanel1->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 50)));
 | 
        
           |  |  | 461 | 			this->tableLayoutPanel1->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 50)));
 | 
        
           |  |  | 462 | 			this->tableLayoutPanel1->Size = System::Drawing::Size(667, 48);
 | 
        
           |  |  | 463 | 			this->tableLayoutPanel1->TabIndex = 0;
 | 
        
           |  |  | 464 | 			// 
 | 
        
           |  |  | 465 | 			// label7
 | 
        
           |  |  | 466 | 			// 
 | 
        
           |  |  | 467 | 			this->label7->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 468 | 			this->label7->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 469 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 470 | 			this->label7->Location = System::Drawing::Point(336, 0);
 | 
        
           |  |  | 471 | 			this->label7->Name = L"label7";
 | 
        
           |  |  | 472 | 			this->label7->Size = System::Drawing::Size(328, 24);
 | 
        
           |  |  | 473 | 			this->label7->TabIndex = 1;
 | 
        
           |  |  | 474 | 			this->label7->Text = L"Maximum";
 | 
        
           |  |  | 475 | 			this->label7->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
 | 
        
           |  |  | 476 | 			// 
 | 
        
           |  |  | 477 | 			// label6
 | 
        
           |  |  | 478 | 			// 
 | 
        
           |  |  | 479 | 			this->label6->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 480 | 			this->label6->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 481 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 482 | 			this->label6->Location = System::Drawing::Point(3, 0);
 | 
        
           |  |  | 483 | 			this->label6->Name = L"label6";
 | 
        
           |  |  | 484 | 			this->label6->Size = System::Drawing::Size(327, 24);
 | 
        
           |  |  | 485 | 			this->label6->TabIndex = 0;
 | 
        
           |  |  | 486 | 			this->label6->Text = L"Minimum";
 | 
        
           |  |  | 487 | 			this->label6->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
 | 
        
           |  |  | 488 | 			// 
 | 
        
           |  |  | 489 | 			// NumCargoMin
 | 
        
           |  |  | 490 | 			// 
 | 
        
           |  |  | 491 | 			this->NumCargoMin->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 492 | 			this->NumCargoMin->Location = System::Drawing::Point(3, 27);
 | 
        
           |  |  | 493 | 			this->NumCargoMin->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000000, 0, 0, 0});
 | 
        
           |  |  | 494 | 			this->NumCargoMin->Name = L"NumCargoMin";
 | 
        
           |  |  | 495 | 			this->NumCargoMin->Size = System::Drawing::Size(327, 20);
 | 
        
           |  |  | 496 | 			this->NumCargoMin->TabIndex = 2;
 | 
        
           |  |  | 497 | 			this->NumCargoMin->ThousandsSeparator = true;
 | 
        
           |  |  | 498 | 			this->NumCargoMin->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
 | 
        
           |  |  | 499 | 			this->NumCargoMin->ValueChanged += gcnew System::EventHandler(this, &CustomiseInfo::NumCargoMin_ValueChanged);
 | 
        
           |  |  | 500 | 			// 
 | 
        
           |  |  | 501 | 			// NumCargoMax
 | 
        
           |  |  | 502 | 			// 
 | 
        
           |  |  | 503 | 			this->NumCargoMax->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 504 | 			this->NumCargoMax->Location = System::Drawing::Point(336, 27);
 | 
        
           |  |  | 505 | 			this->NumCargoMax->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000000, 0, 0, 0});
 | 
        
           |  |  | 506 | 			this->NumCargoMax->Name = L"NumCargoMax";
 | 
        
           |  |  | 507 | 			this->NumCargoMax->Size = System::Drawing::Size(328, 20);
 | 
        
           |  |  | 508 | 			this->NumCargoMax->TabIndex = 3;
 | 
        
           |  |  | 509 | 			this->NumCargoMax->ThousandsSeparator = true;
 | 
        
           |  |  | 510 | 			this->NumCargoMax->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
 | 
        
           |  |  | 511 | 			this->NumCargoMax->ValueChanged += gcnew System::EventHandler(this, &CustomiseInfo::NumCargoMax_ValueChanged);
 | 
        
           |  |  | 512 | 			// 
 | 
        
           |  |  | 513 | 			// panel6
 | 
        
           |  |  | 514 | 			// 
 | 
        
           |  |  | 515 | 			this->panel6->Controls->Add(this->NumDock);
 | 
        
           |  |  | 516 | 			this->panel6->Controls->Add(this->label5);
 | 
        
           |  |  | 517 | 			this->panel6->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 518 | 			this->panel6->Location = System::Drawing::Point(0, 128);
 | 
        
           |  |  | 519 | 			this->panel6->Name = L"panel6";
 | 
        
           |  |  | 520 | 			this->panel6->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 521 | 			this->panel6->Size = System::Drawing::Size(687, 32);
 | 
        
           |  |  | 522 | 			this->panel6->TabIndex = 4;
 | 
        
           |  |  | 523 | 			// 
 | 
        
           |  |  | 524 | 			// NumDock
 | 
        
           |  |  | 525 | 			// 
 | 
        
           |  |  | 526 | 			this->NumDock->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 527 | 			this->NumDock->Location = System::Drawing::Point(155, 5);
 | 
        
           |  |  | 528 | 			this->NumDock->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1000, 0, 0, 0});
 | 
        
           |  |  | 529 | 			this->NumDock->Name = L"NumDock";
 | 
        
           |  |  | 530 | 			this->NumDock->Size = System::Drawing::Size(90, 20);
 | 
        
           |  |  | 531 | 			this->NumDock->TabIndex = 1;
 | 
        
           |  |  | 532 | 			this->NumDock->UpDownAlign = System::Windows::Forms::LeftRightAlignment::Left;
 | 
        
           |  |  | 533 | 			this->NumDock->ValueChanged += gcnew System::EventHandler(this, &CustomiseInfo::NumDock_ValueChanged);
 | 
        
           |  |  | 534 | 			// 
 | 
        
           |  |  | 535 | 			// label5
 | 
        
           |  |  | 536 | 			// 
 | 
        
           |  |  | 537 | 			this->label5->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 538 | 			this->label5->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 539 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 540 | 			this->label5->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 541 | 			this->label5->Name = L"label5";
 | 
        
           |  |  | 542 | 			this->label5->Size = System::Drawing::Size(150, 22);
 | 
        
           |  |  | 543 | 			this->label5->TabIndex = 0;
 | 
        
           |  |  | 544 | 			this->label5->Text = L"Docking Slots";
 | 
        
           |  |  | 545 | 			this->label5->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 546 | 			// 
 | 
        
           |  |  | 547 | 			// panel4
 | 
        
           |  |  | 548 | 			// 
 | 
        
           |  |  | 549 | 			this->panel4->Controls->Add(this->ComboVariation);
 | 
        
           |  |  | 550 | 			this->panel4->Controls->Add(this->label3);
 | 
        
           |  |  | 551 | 			this->panel4->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 552 | 			this->panel4->Location = System::Drawing::Point(0, 96);
 | 
        
           |  |  | 553 | 			this->panel4->Name = L"panel4";
 | 
        
           |  |  | 554 | 			this->panel4->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 555 | 			this->panel4->Size = System::Drawing::Size(687, 32);
 | 
        
           |  |  | 556 | 			this->panel4->TabIndex = 2;
 | 
        
           |  |  | 557 | 			// 
 | 
        
           |  |  | 558 | 			// ComboVariation
 | 
        
           |  |  | 559 | 			// 
 | 
        
           |  |  | 560 | 			this->ComboVariation->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 561 | 			this->ComboVariation->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
 | 
        
           |  |  | 562 | 			this->ComboVariation->FormattingEnabled = true;
 | 
        
           |  |  | 563 | 			this->ComboVariation->Location = System::Drawing::Point(155, 5);
 | 
        
           |  |  | 564 | 			this->ComboVariation->Name = L"ComboVariation";
 | 
        
           |  |  | 565 | 			this->ComboVariation->Size = System::Drawing::Size(527, 21);
 | 
        
           |  |  | 566 | 			this->ComboVariation->TabIndex = 1;
 | 
        
           |  |  | 567 | 			this->ComboVariation->SelectedIndexChanged += gcnew System::EventHandler(this, &CustomiseInfo::ComboVariation_SelectedIndexChanged);
 | 
        
           |  |  | 568 | 			// 
 | 
        
           |  |  | 569 | 			// label3
 | 
        
           |  |  | 570 | 			// 
 | 
        
           |  |  | 571 | 			this->label3->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 572 | 			this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 573 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 574 | 			this->label3->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 575 | 			this->label3->Name = L"label3";
 | 
        
           |  |  | 576 | 			this->label3->Size = System::Drawing::Size(150, 22);
 | 
        
           |  |  | 577 | 			this->label3->TabIndex = 0;
 | 
        
           |  |  | 578 | 			this->label3->Text = L"Ship Variation";
 | 
        
           |  |  | 579 | 			this->label3->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 580 | 			// 
 | 
        
           |  |  | 581 | 			// panel10
 | 
        
           |  |  | 582 | 			// 
 | 
        
           |  |  | 583 | 			this->panel10->Controls->Add(this->ComboSubType);
 | 
        
           |  |  | 584 | 			this->panel10->Controls->Add(this->label15);
 | 
        
           |  |  | 585 | 			this->panel10->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 586 | 			this->panel10->Location = System::Drawing::Point(0, 64);
 | 
        
           |  |  | 587 | 			this->panel10->Name = L"panel10";
 | 
        
           |  |  | 588 | 			this->panel10->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 589 | 			this->panel10->Size = System::Drawing::Size(687, 32);
 | 
        
           |  |  | 590 | 			this->panel10->TabIndex = 8;
 | 
        
           |  |  | 591 | 			// 
 | 
        
           |  |  | 592 | 			// ComboSubType
 | 
        
           |  |  | 593 | 			// 
 | 
        
           |  |  | 594 | 			this->ComboSubType->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 595 | 			this->ComboSubType->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
 | 
        
           |  |  | 596 | 			this->ComboSubType->FormattingEnabled = true;
 | 
        
           |  |  | 597 | 			this->ComboSubType->Location = System::Drawing::Point(155, 5);
 | 
        
           |  |  | 598 | 			this->ComboSubType->Name = L"ComboSubType";
 | 
        
           |  |  | 599 | 			this->ComboSubType->Size = System::Drawing::Size(527, 21);
 | 
        
           |  |  | 600 | 			this->ComboSubType->TabIndex = 1;
 | 
        
           |  |  | 601 | 			this->ComboSubType->SelectedIndexChanged += gcnew System::EventHandler(this, &CustomiseInfo::ComboSubType_SelectedIndexChanged);
 | 
        
           |  |  | 602 | 			// 
 | 
        
           |  |  | 603 | 			// label15
 | 
        
           |  |  | 604 | 			// 
 | 
        
           |  |  | 605 | 			this->label15->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 606 | 			this->label15->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 607 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 608 | 			this->label15->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 609 | 			this->label15->Name = L"label15";
 | 
        
           |  |  | 610 | 			this->label15->Size = System::Drawing::Size(150, 22);
 | 
        
           |  |  | 611 | 			this->label15->TabIndex = 0;
 | 
        
           |  |  | 612 | 			this->label15->Text = L"Sub Type";
 | 
        
           |  |  | 613 | 			this->label15->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 614 | 			// 
 | 
        
           |  |  | 615 | 			// panel5
 | 
        
           |  |  | 616 | 			// 
 | 
        
           |  |  | 617 | 			this->panel5->Controls->Add(this->ComboClass);
 | 
        
           |  |  | 618 | 			this->panel5->Controls->Add(this->label4);
 | 
        
           |  |  | 619 | 			this->panel5->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 620 | 			this->panel5->Location = System::Drawing::Point(0, 32);
 | 
        
           |  |  | 621 | 			this->panel5->Name = L"panel5";
 | 
        
           |  |  | 622 | 			this->panel5->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 623 | 			this->panel5->Size = System::Drawing::Size(687, 32);
 | 
        
           |  |  | 624 | 			this->panel5->TabIndex = 3;
 | 
        
           |  |  | 625 | 			// 
 | 
        
           |  |  | 626 | 			// ComboClass
 | 
        
           |  |  | 627 | 			// 
 | 
        
           |  |  | 628 | 			this->ComboClass->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 629 | 			this->ComboClass->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
 | 
        
           |  |  | 630 | 			this->ComboClass->FormattingEnabled = true;
 | 
        
           |  |  | 631 | 			this->ComboClass->Location = System::Drawing::Point(155, 5);
 | 
        
           |  |  | 632 | 			this->ComboClass->Name = L"ComboClass";
 | 
        
           |  |  | 633 | 			this->ComboClass->Size = System::Drawing::Size(527, 21);
 | 
        
           |  |  | 634 | 			this->ComboClass->TabIndex = 1;
 | 
        
           |  |  | 635 | 			this->ComboClass->SelectedIndexChanged += gcnew System::EventHandler(this, &CustomiseInfo::ComboClass_SelectedIndexChanged);
 | 
        
           |  |  | 636 | 			// 
 | 
        
           |  |  | 637 | 			// label4
 | 
        
           |  |  | 638 | 			// 
 | 
        
           |  |  | 639 | 			this->label4->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 640 | 			this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 641 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 642 | 			this->label4->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 643 | 			this->label4->Name = L"label4";
 | 
        
           |  |  | 644 | 			this->label4->Size = System::Drawing::Size(150, 22);
 | 
        
           |  |  | 645 | 			this->label4->TabIndex = 0;
 | 
        
           |  |  | 646 | 			this->label4->Text = L"Ship Class";
 | 
        
           |  |  | 647 | 			this->label4->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 648 | 			// 
 | 
        
           |  |  | 649 | 			// panel3
 | 
        
           |  |  | 650 | 			// 
 | 
        
           |  |  | 651 | 			this->panel3->Controls->Add(this->ComboRace);
 | 
        
           |  |  | 652 | 			this->panel3->Controls->Add(this->label2);
 | 
        
           |  |  | 653 | 			this->panel3->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 654 | 			this->panel3->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 655 | 			this->panel3->Name = L"panel3";
 | 
        
           |  |  | 656 | 			this->panel3->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 657 | 			this->panel3->Size = System::Drawing::Size(687, 32);
 | 
        
           |  |  | 658 | 			this->panel3->TabIndex = 1;
 | 
        
           |  |  | 659 | 			// 
 | 
        
           |  |  | 660 | 			// ComboRace
 | 
        
           |  |  | 661 | 			// 
 | 
        
           |  |  | 662 | 			this->ComboRace->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 663 | 			this->ComboRace->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
 | 
        
           |  |  | 664 | 			this->ComboRace->FormattingEnabled = true;
 | 
        
           |  |  | 665 | 			this->ComboRace->Location = System::Drawing::Point(155, 5);
 | 
        
           |  |  | 666 | 			this->ComboRace->Name = L"ComboRace";
 | 
        
           |  |  | 667 | 			this->ComboRace->Size = System::Drawing::Size(527, 21);
 | 
        
           |  |  | 668 | 			this->ComboRace->TabIndex = 1;
 | 
        
           |  |  | 669 | 			this->ComboRace->SelectedIndexChanged += gcnew System::EventHandler(this, &CustomiseInfo::ComboRace_SelectedIndexChanged);
 | 
        
           |  |  | 670 | 			// 
 | 
        
           |  |  | 671 | 			// label2
 | 
        
           |  |  | 672 | 			// 
 | 
        
           |  |  | 673 | 			this->label2->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 674 | 			this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 675 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 676 | 			this->label2->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 677 | 			this->label2->Name = L"label2";
 | 
        
           |  |  | 678 | 			this->label2->Size = System::Drawing::Size(150, 22);
 | 
        
           |  |  | 679 | 			this->label2->TabIndex = 0;
 | 
        
           |  |  | 680 | 			this->label2->Text = L"Owner Race";
 | 
        
           |  |  | 681 | 			this->label2->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 682 | 			// 
 | 
        
           |  |  | 683 | 			// CustomiseInfo
 | 
        
           |  |  | 684 | 			// 
 | 
        
           |  |  | 685 | 			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
 | 
        
           |  |  | 686 | 			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
 | 
        
           |  |  | 687 | 			this->Controls->Add(this->groupBox3);
 | 
        
           |  |  | 688 | 			this->Controls->Add(this->groupBox2);
 | 
        
           |  |  | 689 | 			this->Controls->Add(this->groupBox1);
 | 
        
           |  |  | 690 | 			this->Controls->Add(this->panel6);
 | 
        
           |  |  | 691 | 			this->Controls->Add(this->panel4);
 | 
        
           |  |  | 692 | 			this->Controls->Add(this->panel10);
 | 
        
           |  |  | 693 | 			this->Controls->Add(this->panel5);
 | 
        
           |  |  | 694 | 			this->Controls->Add(this->panel3);
 | 
        
           |  |  | 695 | 			this->Name = L"CustomiseInfo";
 | 
        
           |  |  | 696 | 			this->Size = System::Drawing::Size(687, 644);
 | 
        
           |  |  | 697 | 			this->groupBox3->ResumeLayout(false);
 | 
        
           |  |  | 698 | 			this->panel9->ResumeLayout(false);
 | 
        
           |  |  | 699 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumNoto))->EndInit();
 | 
        
           |  |  | 700 | 			this->panel8->ResumeLayout(false);
 | 
        
           |  |  | 701 | 			this->groupBox2->ResumeLayout(false);
 | 
        
           |  |  | 702 | 			this->tableLayoutPanel2->ResumeLayout(false);
 | 
        
           |  |  | 703 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->TextPriceNPC))->EndInit();
 | 
        
           |  |  | 704 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->TextPricePlayer))->EndInit();
 | 
        
           |  |  | 705 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumPriceNPC))->EndInit();
 | 
        
           |  |  | 706 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumPricePlayer))->EndInit();
 | 
        
           |  |  | 707 | 			this->groupBox1->ResumeLayout(false);
 | 
        
           |  |  | 708 | 			this->panel7->ResumeLayout(false);
 | 
        
           |  |  | 709 | 			this->tableLayoutPanel1->ResumeLayout(false);
 | 
        
           |  |  | 710 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumCargoMin))->EndInit();
 | 
        
           |  |  | 711 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumCargoMax))->EndInit();
 | 
        
           |  |  | 712 | 			this->panel6->ResumeLayout(false);
 | 
        
           |  |  | 713 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumDock))->EndInit();
 | 
        
           |  |  | 714 | 			this->panel4->ResumeLayout(false);
 | 
        
           |  |  | 715 | 			this->panel10->ResumeLayout(false);
 | 
        
           |  |  | 716 | 			this->panel5->ResumeLayout(false);
 | 
        
           |  |  | 717 | 			this->panel3->ResumeLayout(false);
 | 
        
           |  |  | 718 | 			this->ResumeLayout(false);
 | 
        
           |  |  | 719 |   | 
        
           |  |  | 720 | 		}
 | 
        
           |  |  | 721 | #pragma endregion
 | 
        
           |  |  | 722 | private: System::Void NumPriceNPC_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 723 | 			 double price = Convert::ToDouble(this->NumPriceNPC->Value);
 | 
        
           |  |  | 724 | 			 if ( m_pShipData->iClass == 14 )
 | 
        
           |  |  | 725 | 				 price *= 65.555784f;
 | 
        
           |  |  | 726 | 			 else
 | 
        
           |  |  | 727 | 				price *= 80.72126f;
 | 
        
           |  |  | 728 | 			 this->TextPriceNPC->Value = Convert::ToInt32(price);
 | 
        
           |  |  | 729 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 730 | 				 m_pShipData->iRelVal = Convert::ToInt32(this->NumPriceNPC->Value);
 | 
        
           |  |  | 731 | 		 }
 | 
        
           |  |  | 732 | private: System::Void ComboNoto_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 733 | 			 if ( m_bUpdateing ) return;
 | 
        
           |  |  | 734 | 			 if ( this->ComboNoto->SelectedIndex > 0 )
 | 
        
           |  |  | 735 | 				 this->NumNoto->Value = this->GetNotoAmount(this->ComboNoto->SelectedIndex);
 | 
        
           |  |  | 736 | 		 }
 | 
        
           |  |  | 737 | private: System::Void ComboRace_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 738 | 			 if ( m_bUpdateing ) return;
 | 
        
           |  |  | 739 | 			 m_pShipData->iRace = this->ComboRace->SelectedIndex + 1;
 | 
        
           |  |  | 740 | 			 this->UpdateNotority();
 | 
        
           |  |  | 741 | 		 }
 | 
        
           |  |  | 742 | private: System::Void ComboClass_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 743 | 			 if ( m_bUpdateing ) return;
 | 
        
           |  |  | 744 | 			 m_pShipData->iClass = CShipData::GetShipClassFromNum(this->ComboClass->SelectedIndex);
 | 
        
           |  |  | 745 | 		 }
 | 
        
           |  |  | 746 | private: System::Void ComboSubType_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 747 | 			 if ( m_bUpdateing ) return;
 | 
        
           |  |  | 748 | 			 m_pShipData->iSubType = this->ComboSubType->SelectedIndex;
 | 
        
           |  |  | 749 | 		 }
 | 
        
           |  |  | 750 | private: System::Void ComboVariation_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 751 | 			 if ( m_bUpdateing ) return;
 | 
        
           |  |  | 752 | 			 m_pShipData->iVariation = this->ComboVariation->SelectedIndex;
 | 
        
           |  |  | 753 | 		 }
 | 
        
           |  |  | 754 | private: System::Void NumDock_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 755 | 			 if ( m_bUpdateing ) return;
 | 
        
           |  |  | 756 | 			 m_pShipData->iDocking = Convert::ToInt32(this->NumDock->Value);
 | 
        
           |  |  | 757 | 		 }
 | 
        
           |  |  | 758 | private: System::Void NumCargoMin_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 759 | 			 if ( m_bUpdateing ) return;
 | 
        
           |  |  | 760 | 			 m_pShipData->iCargoMin = Convert::ToInt32(this->NumCargoMin->Value);
 | 
        
           |  |  | 761 | 			 if ( Convert::ToInt32(this->NumCargoMax->Value) < Convert::ToInt32(this->NumCargoMin->Value) )
 | 
        
           |  |  | 762 | 				 this->NumCargoMax->Value = this->NumCargoMin->Value;
 | 
        
           |  |  | 763 | 		 }
 | 
        
           |  |  | 764 | private: System::Void NumCargoMax_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 765 | 			 if ( m_bUpdateing ) return;
 | 
        
           |  |  | 766 | 			 m_pShipData->iCargoMax = Convert::ToInt32(this->NumCargoMax->Value);
 | 
        
           |  |  | 767 | 			 if ( Convert::ToInt32(this->NumCargoMax->Value) < Convert::ToInt32(this->NumCargoMin->Value) )
 | 
        
           |  |  | 768 | 				 this->NumCargoMin->Value = this->NumCargoMax->Value;
 | 
        
           |  |  | 769 | 		 }
 | 
        
           |  |  | 770 | private: System::Void ComboCargo_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 771 | 			 if ( m_bUpdateing ) return;
 | 
        
           |  |  | 772 | 			 m_pShipData->iCargoClass = this->ComboCargo->SelectedIndex;
 | 
        
           |  |  | 773 | 		 }
 | 
        
           |  |  | 774 | private: System::Void NumNoto_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 775 | 			 if ( m_bUpdateing ) return;
 | 
        
           |  |  | 776 | 			 m_pShipData->iMinNoto = Convert::ToInt32(this->NumNoto->Value);
 | 
        
           |  |  | 777 | 		 }
 | 
        
           |  |  | 778 | private: System::Void NumPricePlayer_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 779 | 			 double price = Convert::ToDouble(this->NumPricePlayer->Value);
 | 
        
           |  |  | 780 | 			 if ( m_pShipData->iClass == 14 )
 | 
        
           |  |  | 781 | 				 price *= 65.555784f;
 | 
        
           |  |  | 782 | 			 else
 | 
        
           |  |  | 783 | 				price *= 80.72126f;
 | 
        
           |  |  | 784 | 			this->TextPricePlayer->Value = Convert::ToInt32(price);
 | 
        
           |  |  | 785 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 786 | 				 m_pShipData->iRelValPlayer = Convert::ToInt32(this->NumPricePlayer->Value);
 | 
        
           |  |  | 787 | 		 }
 | 
        
           |  |  | 788 | };
 | 
        
           |  |  | 789 | }
 |