| 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 CustomiseWeapons1
 | 
        
           |  |  | 15 | 	/// </summary>
 | 
        
           |  |  | 16 | 	public ref class CustomiseWeapons1 : public System::Windows::Forms::UserControl
 | 
        
           |  |  | 17 | 	{
 | 
        
           |  |  | 18 | 	public:
 | 
        
           |  |  | 19 | 		CustomiseWeapons1(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 UpdateShields();
 | 
        
           |  |  | 35 |   | 
        
           |  |  | 36 | 	protected:
 | 
        
           |  |  | 37 | 		/// <summary>
 | 
        
           |  |  | 38 | 		/// Clean up any resources being used.
 | 
        
           |  |  | 39 | 		/// </summary>
 | 
        
           |  |  | 40 | 		~CustomiseWeapons1()
 | 
        
           |  |  | 41 | 		{
 | 
        
           |  |  | 42 | 			if (components)
 | 
        
           |  |  | 43 | 			{
 | 
        
           |  |  | 44 | 				delete components;
 | 
        
           |  |  | 45 | 			}
 | 
        
           |  |  | 46 | 		}
 | 
        
           |  |  | 47 | 	private: System::Windows::Forms::GroupBox^  groupBox6;
 | 
        
           |  |  | 48 | 	protected: 
 | 
        
           |  |  | 49 | 	private: System::Windows::Forms::Panel^  panel23;
 | 
        
           |  |  | 50 | 	private: System::Windows::Forms::NumericUpDown^  NumHull;
 | 
        
           |  |  | 51 | 	private: System::Windows::Forms::Label^  label29;
 | 
        
           |  |  | 52 | 	private: System::Windows::Forms::Panel^  panel22;
 | 
        
           |  |  | 53 | 	private: System::Windows::Forms::NumericUpDown^  NumShieldMax;
 | 
        
           |  |  | 54 | 	private: System::Windows::Forms::Label^  label28;
 | 
        
           |  |  | 55 | 	private: System::Windows::Forms::Panel^  panel21;
 | 
        
           |  |  | 56 | 	private: System::Windows::Forms::ComboBox^  ComboShield;
 | 
        
           |  |  | 57 | 	private: System::Windows::Forms::Label^  label27;
 | 
        
           |  |  | 58 | 	private: System::Windows::Forms::GroupBox^  groupBox7;
 | 
        
           |  |  | 59 | 	private: System::Windows::Forms::Panel^  panel28;
 | 
        
           |  |  | 60 | 	private: System::Windows::Forms::NumericUpDown^  NumReaction;
 | 
        
           |  |  | 61 | 	private: System::Windows::Forms::Label^  label37;
 | 
        
           |  |  | 62 | 	private: System::Windows::Forms::Panel^  panel27;
 | 
        
           |  |  | 63 | 	private: System::Windows::Forms::NumericUpDown^  NumMissiles;
 | 
        
           |  |  | 64 | 	private: System::Windows::Forms::Label^  label36;
 | 
        
           |  |  | 65 | 	private: System::Windows::Forms::Panel^  panel26;
 | 
        
           |  |  | 66 | 	private: System::Windows::Forms::TextBox^  TextRecharge;
 | 
        
           |  |  | 67 | 	private: System::Windows::Forms::Label^  label34;
 | 
        
           |  |  | 68 | 	private: System::Windows::Forms::NumericUpDown^  NumRecharge;
 | 
        
           |  |  | 69 | 	private: System::Windows::Forms::Label^  label35;
 | 
        
           |  |  | 70 | 	private: System::Windows::Forms::Panel^  panel25;
 | 
        
           |  |  | 71 | 	private: System::Windows::Forms::Label^  label32;
 | 
        
           |  |  | 72 | 	private: System::Windows::Forms::NumericUpDown^  NumWeaponEnergy;
 | 
        
           |  |  | 73 | 	private: System::Windows::Forms::Label^  label33;
 | 
        
           |  |  | 74 | 	private: System::Windows::Forms::Panel^  panel24;
 | 
        
           |  |  | 75 | 	private: System::Windows::Forms::Label^  label31;
 | 
        
           |  |  | 76 | 	private: System::Windows::Forms::NumericUpDown^  NumReactor;
 | 
        
           |  |  | 77 | 	private: System::Windows::Forms::Label^  label30;
 | 
        
           |  |  | 78 |   | 
        
           |  |  | 79 | 	private:
 | 
        
           |  |  | 80 | 		CShipData				*m_pShipData;
 | 
        
           |  |  | 81 | 		bool					 m_bUpdateing;
 | 
        
           |  |  | 82 | 		Windows::Forms::Form	^m_pParent;
 | 
        
           |  |  | 83 | 		/// <summary>
 | 
        
           |  |  | 84 | 		/// Required designer variable.
 | 
        
           |  |  | 85 | 		/// </summary>
 | 
        
           |  |  | 86 | 		System::ComponentModel::Container ^components;
 | 
        
           |  |  | 87 |   | 
        
           |  |  | 88 | #pragma region Windows Form Designer generated code
 | 
        
           |  |  | 89 | 		/// <summary>
 | 
        
           |  |  | 90 | 		/// Required method for Designer support - do not modify
 | 
        
           |  |  | 91 | 		/// the contents of this method with the code editor.
 | 
        
           |  |  | 92 | 		/// </summary>
 | 
        
           |  |  | 93 | 		void InitializeComponent(void)
 | 
        
           |  |  | 94 | 		{
 | 
        
           |  |  | 95 | 			this->groupBox6 = (gcnew System::Windows::Forms::GroupBox());
 | 
        
           |  |  | 96 | 			this->panel23 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 97 | 			this->NumHull = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 98 | 			this->label29 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 99 | 			this->panel22 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 100 | 			this->NumShieldMax = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 101 | 			this->label28 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 102 | 			this->panel21 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 103 | 			this->ComboShield = (gcnew System::Windows::Forms::ComboBox());
 | 
        
           |  |  | 104 | 			this->label27 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 105 | 			this->groupBox7 = (gcnew System::Windows::Forms::GroupBox());
 | 
        
           |  |  | 106 | 			this->panel28 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 107 | 			this->NumReaction = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 108 | 			this->label37 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 109 | 			this->panel27 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 110 | 			this->NumMissiles = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 111 | 			this->label36 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 112 | 			this->panel26 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 113 | 			this->TextRecharge = (gcnew System::Windows::Forms::TextBox());
 | 
        
           |  |  | 114 | 			this->label34 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 115 | 			this->NumRecharge = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 116 | 			this->label35 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 117 | 			this->panel25 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 118 | 			this->label32 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 119 | 			this->NumWeaponEnergy = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 120 | 			this->label33 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 121 | 			this->panel24 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 122 | 			this->label31 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 123 | 			this->NumReactor = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 124 | 			this->label30 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 125 | 			this->groupBox6->SuspendLayout();
 | 
        
           |  |  | 126 | 			this->panel23->SuspendLayout();
 | 
        
           |  |  | 127 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumHull))->BeginInit();
 | 
        
           |  |  | 128 | 			this->panel22->SuspendLayout();
 | 
        
           |  |  | 129 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumShieldMax))->BeginInit();
 | 
        
           |  |  | 130 | 			this->panel21->SuspendLayout();
 | 
        
           |  |  | 131 | 			this->groupBox7->SuspendLayout();
 | 
        
           |  |  | 132 | 			this->panel28->SuspendLayout();
 | 
        
           |  |  | 133 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumReaction))->BeginInit();
 | 
        
           |  |  | 134 | 			this->panel27->SuspendLayout();
 | 
        
           |  |  | 135 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumMissiles))->BeginInit();
 | 
        
           |  |  | 136 | 			this->panel26->SuspendLayout();
 | 
        
           |  |  | 137 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumRecharge))->BeginInit();
 | 
        
           |  |  | 138 | 			this->panel25->SuspendLayout();
 | 
        
           |  |  | 139 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumWeaponEnergy))->BeginInit();
 | 
        
           |  |  | 140 | 			this->panel24->SuspendLayout();
 | 
        
           |  |  | 141 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumReactor))->BeginInit();
 | 
        
           |  |  | 142 | 			this->SuspendLayout();
 | 
        
           |  |  | 143 | 			// 
 | 
        
           |  |  | 144 | 			// groupBox6
 | 
        
           |  |  | 145 | 			// 
 | 
        
           |  |  | 146 | 			this->groupBox6->Controls->Add(this->panel23);
 | 
        
           |  |  | 147 | 			this->groupBox6->Controls->Add(this->panel22);
 | 
        
           |  |  | 148 | 			this->groupBox6->Controls->Add(this->panel21);
 | 
        
           |  |  | 149 | 			this->groupBox6->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 150 | 			this->groupBox6->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 151 | 			this->groupBox6->Name = L"groupBox6";
 | 
        
           |  |  | 152 | 			this->groupBox6->Size = System::Drawing::Size(439, 125);
 | 
        
           |  |  | 153 | 			this->groupBox6->TabIndex = 1;
 | 
        
           |  |  | 154 | 			this->groupBox6->TabStop = false;
 | 
        
           |  |  | 155 | 			this->groupBox6->Text = L"Shields";
 | 
        
           |  |  | 156 | 			// 
 | 
        
           |  |  | 157 | 			// panel23
 | 
        
           |  |  | 158 | 			// 
 | 
        
           |  |  | 159 | 			this->panel23->Controls->Add(this->NumHull);
 | 
        
           |  |  | 160 | 			this->panel23->Controls->Add(this->label29);
 | 
        
           |  |  | 161 | 			this->panel23->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 162 | 			this->panel23->Location = System::Drawing::Point(3, 80);
 | 
        
           |  |  | 163 | 			this->panel23->Name = L"panel23";
 | 
        
           |  |  | 164 | 			this->panel23->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 165 | 			this->panel23->Size = System::Drawing::Size(433, 32);
 | 
        
           |  |  | 166 | 			this->panel23->TabIndex = 6;
 | 
        
           |  |  | 167 | 			// 
 | 
        
           |  |  | 168 | 			// NumHull
 | 
        
           |  |  | 169 | 			// 
 | 
        
           |  |  | 170 | 			this->NumHull->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 171 | 			this->NumHull->Location = System::Drawing::Point(195, 5);
 | 
        
           |  |  | 172 | 			this->NumHull->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2000000000, 0, 0, 0});
 | 
        
           |  |  | 173 | 			this->NumHull->Name = L"NumHull";
 | 
        
           |  |  | 174 | 			this->NumHull->Size = System::Drawing::Size(118, 20);
 | 
        
           |  |  | 175 | 			this->NumHull->TabIndex = 1;
 | 
        
           |  |  | 176 | 			this->NumHull->ThousandsSeparator = true;
 | 
        
           |  |  | 177 | 			this->NumHull->ValueChanged += gcnew System::EventHandler(this, &CustomiseWeapons1::NumHull_ValueChanged);
 | 
        
           |  |  | 178 | 			// 
 | 
        
           |  |  | 179 | 			// label29
 | 
        
           |  |  | 180 | 			// 
 | 
        
           |  |  | 181 | 			this->label29->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 182 | 			this->label29->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 183 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 184 | 			this->label29->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 185 | 			this->label29->Name = L"label29";
 | 
        
           |  |  | 186 | 			this->label29->Size = System::Drawing::Size(190, 22);
 | 
        
           |  |  | 187 | 			this->label29->TabIndex = 0;
 | 
        
           |  |  | 188 | 			this->label29->Text = L"Hull Stength";
 | 
        
           |  |  | 189 | 			this->label29->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 190 | 			// 
 | 
        
           |  |  | 191 | 			// panel22
 | 
        
           |  |  | 192 | 			// 
 | 
        
           |  |  | 193 | 			this->panel22->Controls->Add(this->NumShieldMax);
 | 
        
           |  |  | 194 | 			this->panel22->Controls->Add(this->label28);
 | 
        
           |  |  | 195 | 			this->panel22->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 196 | 			this->panel22->Location = System::Drawing::Point(3, 48);
 | 
        
           |  |  | 197 | 			this->panel22->Name = L"panel22";
 | 
        
           |  |  | 198 | 			this->panel22->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 199 | 			this->panel22->Size = System::Drawing::Size(433, 32);
 | 
        
           |  |  | 200 | 			this->panel22->TabIndex = 5;
 | 
        
           |  |  | 201 | 			// 
 | 
        
           |  |  | 202 | 			// NumShieldMax
 | 
        
           |  |  | 203 | 			// 
 | 
        
           |  |  | 204 | 			this->NumShieldMax->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 205 | 			this->NumShieldMax->Location = System::Drawing::Point(195, 5);
 | 
        
           |  |  | 206 | 			this->NumShieldMax->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1000, 0, 0, 0});
 | 
        
           |  |  | 207 | 			this->NumShieldMax->Name = L"NumShieldMax";
 | 
        
           |  |  | 208 | 			this->NumShieldMax->Size = System::Drawing::Size(118, 20);
 | 
        
           |  |  | 209 | 			this->NumShieldMax->TabIndex = 1;
 | 
        
           |  |  | 210 | 			this->NumShieldMax->ValueChanged += gcnew System::EventHandler(this, &CustomiseWeapons1::NumShieldMax_ValueChanged);
 | 
        
           |  |  | 211 | 			// 
 | 
        
           |  |  | 212 | 			// label28
 | 
        
           |  |  | 213 | 			// 
 | 
        
           |  |  | 214 | 			this->label28->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 215 | 			this->label28->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 216 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 217 | 			this->label28->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 218 | 			this->label28->Name = L"label28";
 | 
        
           |  |  | 219 | 			this->label28->Size = System::Drawing::Size(190, 22);
 | 
        
           |  |  | 220 | 			this->label28->TabIndex = 0;
 | 
        
           |  |  | 221 | 			this->label28->Text = L"Maximum Shield Count";
 | 
        
           |  |  | 222 | 			this->label28->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 223 | 			// 
 | 
        
           |  |  | 224 | 			// panel21
 | 
        
           |  |  | 225 | 			// 
 | 
        
           |  |  | 226 | 			this->panel21->Controls->Add(this->ComboShield);
 | 
        
           |  |  | 227 | 			this->panel21->Controls->Add(this->label27);
 | 
        
           |  |  | 228 | 			this->panel21->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 229 | 			this->panel21->Location = System::Drawing::Point(3, 16);
 | 
        
           |  |  | 230 | 			this->panel21->Name = L"panel21";
 | 
        
           |  |  | 231 | 			this->panel21->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 232 | 			this->panel21->Size = System::Drawing::Size(433, 32);
 | 
        
           |  |  | 233 | 			this->panel21->TabIndex = 2;
 | 
        
           |  |  | 234 | 			// 
 | 
        
           |  |  | 235 | 			// ComboShield
 | 
        
           |  |  | 236 | 			// 
 | 
        
           |  |  | 237 | 			this->ComboShield->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 238 | 			this->ComboShield->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
 | 
        
           |  |  | 239 | 			this->ComboShield->FormattingEnabled = true;
 | 
        
           |  |  | 240 | 			this->ComboShield->Location = System::Drawing::Point(195, 5);
 | 
        
           |  |  | 241 | 			this->ComboShield->Name = L"ComboShield";
 | 
        
           |  |  | 242 | 			this->ComboShield->Size = System::Drawing::Size(233, 21);
 | 
        
           |  |  | 243 | 			this->ComboShield->TabIndex = 1;
 | 
        
           |  |  | 244 | 			this->ComboShield->SelectedIndexChanged += gcnew System::EventHandler(this, &CustomiseWeapons1::ComboShield_SelectedIndexChanged);
 | 
        
           |  |  | 245 | 			// 
 | 
        
           |  |  | 246 | 			// label27
 | 
        
           |  |  | 247 | 			// 
 | 
        
           |  |  | 248 | 			this->label27->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 249 | 			this->label27->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 250 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 251 | 			this->label27->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 252 | 			this->label27->Name = L"label27";
 | 
        
           |  |  | 253 | 			this->label27->Size = System::Drawing::Size(190, 22);
 | 
        
           |  |  | 254 | 			this->label27->TabIndex = 0;
 | 
        
           |  |  | 255 | 			this->label27->Text = L"Shield Type";
 | 
        
           |  |  | 256 | 			this->label27->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 257 | 			// 
 | 
        
           |  |  | 258 | 			// groupBox7
 | 
        
           |  |  | 259 | 			// 
 | 
        
           |  |  | 260 | 			this->groupBox7->Controls->Add(this->panel28);
 | 
        
           |  |  | 261 | 			this->groupBox7->Controls->Add(this->panel27);
 | 
        
           |  |  | 262 | 			this->groupBox7->Controls->Add(this->panel26);
 | 
        
           |  |  | 263 | 			this->groupBox7->Controls->Add(this->panel25);
 | 
        
           |  |  | 264 | 			this->groupBox7->Controls->Add(this->panel24);
 | 
        
           |  |  | 265 | 			this->groupBox7->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 266 | 			this->groupBox7->Location = System::Drawing::Point(0, 125);
 | 
        
           |  |  | 267 | 			this->groupBox7->Name = L"groupBox7";
 | 
        
           |  |  | 268 | 			this->groupBox7->Size = System::Drawing::Size(439, 185);
 | 
        
           |  |  | 269 | 			this->groupBox7->TabIndex = 2;
 | 
        
           |  |  | 270 | 			this->groupBox7->TabStop = false;
 | 
        
           |  |  | 271 | 			this->groupBox7->Text = L"Reactor Output";
 | 
        
           |  |  | 272 | 			// 
 | 
        
           |  |  | 273 | 			// panel28
 | 
        
           |  |  | 274 | 			// 
 | 
        
           |  |  | 275 | 			this->panel28->Controls->Add(this->NumReaction);
 | 
        
           |  |  | 276 | 			this->panel28->Controls->Add(this->label37);
 | 
        
           |  |  | 277 | 			this->panel28->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 278 | 			this->panel28->Location = System::Drawing::Point(3, 144);
 | 
        
           |  |  | 279 | 			this->panel28->Name = L"panel28";
 | 
        
           |  |  | 280 | 			this->panel28->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 281 | 			this->panel28->Size = System::Drawing::Size(433, 32);
 | 
        
           |  |  | 282 | 			this->panel28->TabIndex = 11;
 | 
        
           |  |  | 283 | 			// 
 | 
        
           |  |  | 284 | 			// NumReaction
 | 
        
           |  |  | 285 | 			// 
 | 
        
           |  |  | 286 | 			this->NumReaction->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 287 | 			this->NumReaction->Location = System::Drawing::Point(240, 5);
 | 
        
           |  |  | 288 | 			this->NumReaction->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2000000000, 0, 0, 0});
 | 
        
           |  |  | 289 | 			this->NumReaction->Name = L"NumReaction";
 | 
        
           |  |  | 290 | 			this->NumReaction->Size = System::Drawing::Size(118, 20);
 | 
        
           |  |  | 291 | 			this->NumReaction->TabIndex = 1;
 | 
        
           |  |  | 292 | 			this->NumReaction->ThousandsSeparator = true;
 | 
        
           |  |  | 293 | 			this->NumReaction->ValueChanged += gcnew System::EventHandler(this, &CustomiseWeapons1::NumReaction_ValueChanged);
 | 
        
           |  |  | 294 | 			// 
 | 
        
           |  |  | 295 | 			// label37
 | 
        
           |  |  | 296 | 			// 
 | 
        
           |  |  | 297 | 			this->label37->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 298 | 			this->label37->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 299 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 300 | 			this->label37->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 301 | 			this->label37->Name = L"label37";
 | 
        
           |  |  | 302 | 			this->label37->Size = System::Drawing::Size(235, 22);
 | 
        
           |  |  | 303 | 			this->label37->TabIndex = 0;
 | 
        
           |  |  | 304 | 			this->label37->Text = L"Average Reaction Delay";
 | 
        
           |  |  | 305 | 			this->label37->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 306 | 			// 
 | 
        
           |  |  | 307 | 			// panel27
 | 
        
           |  |  | 308 | 			// 
 | 
        
           |  |  | 309 | 			this->panel27->Controls->Add(this->NumMissiles);
 | 
        
           |  |  | 310 | 			this->panel27->Controls->Add(this->label36);
 | 
        
           |  |  | 311 | 			this->panel27->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 312 | 			this->panel27->Location = System::Drawing::Point(3, 112);
 | 
        
           |  |  | 313 | 			this->panel27->Name = L"panel27";
 | 
        
           |  |  | 314 | 			this->panel27->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 315 | 			this->panel27->Size = System::Drawing::Size(433, 32);
 | 
        
           |  |  | 316 | 			this->panel27->TabIndex = 10;
 | 
        
           |  |  | 317 | 			// 
 | 
        
           |  |  | 318 | 			// NumMissiles
 | 
        
           |  |  | 319 | 			// 
 | 
        
           |  |  | 320 | 			this->NumMissiles->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 321 | 			this->NumMissiles->Location = System::Drawing::Point(240, 5);
 | 
        
           |  |  | 322 | 			this->NumMissiles->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1000, 0, 0, 0});
 | 
        
           |  |  | 323 | 			this->NumMissiles->Name = L"NumMissiles";
 | 
        
           |  |  | 324 | 			this->NumMissiles->Size = System::Drawing::Size(118, 20);
 | 
        
           |  |  | 325 | 			this->NumMissiles->TabIndex = 1;
 | 
        
           |  |  | 326 | 			this->NumMissiles->ThousandsSeparator = true;
 | 
        
           |  |  | 327 | 			this->NumMissiles->ValueChanged += gcnew System::EventHandler(this, &CustomiseWeapons1::NumMissiles_ValueChanged);
 | 
        
           |  |  | 328 | 			// 
 | 
        
           |  |  | 329 | 			// label36
 | 
        
           |  |  | 330 | 			// 
 | 
        
           |  |  | 331 | 			this->label36->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 332 | 			this->label36->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 333 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 334 | 			this->label36->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 335 | 			this->label36->Name = L"label36";
 | 
        
           |  |  | 336 | 			this->label36->Size = System::Drawing::Size(235, 22);
 | 
        
           |  |  | 337 | 			this->label36->TabIndex = 0;
 | 
        
           |  |  | 338 | 			this->label36->Text = L"Number of Missiles (NPC)";
 | 
        
           |  |  | 339 | 			this->label36->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 340 | 			// 
 | 
        
           |  |  | 341 | 			// panel26
 | 
        
           |  |  | 342 | 			// 
 | 
        
           |  |  | 343 | 			this->panel26->Controls->Add(this->TextRecharge);
 | 
        
           |  |  | 344 | 			this->panel26->Controls->Add(this->label34);
 | 
        
           |  |  | 345 | 			this->panel26->Controls->Add(this->NumRecharge);
 | 
        
           |  |  | 346 | 			this->panel26->Controls->Add(this->label35);
 | 
        
           |  |  | 347 | 			this->panel26->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 348 | 			this->panel26->Location = System::Drawing::Point(3, 80);
 | 
        
           |  |  | 349 | 			this->panel26->Name = L"panel26";
 | 
        
           |  |  | 350 | 			this->panel26->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 351 | 			this->panel26->Size = System::Drawing::Size(433, 32);
 | 
        
           |  |  | 352 | 			this->panel26->TabIndex = 9;
 | 
        
           |  |  | 353 | 			// 
 | 
        
           |  |  | 354 | 			// TextRecharge
 | 
        
           |  |  | 355 | 			// 
 | 
        
           |  |  | 356 | 			this->TextRecharge->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 357 | 			this->TextRecharge->Location = System::Drawing::Point(354, 5);
 | 
        
           |  |  | 358 | 			this->TextRecharge->Name = L"TextRecharge";
 | 
        
           |  |  | 359 | 			this->TextRecharge->Size = System::Drawing::Size(74, 20);
 | 
        
           |  |  | 360 | 			this->TextRecharge->TabIndex = 3;
 | 
        
           |  |  | 361 | 			this->TextRecharge->TextChanged += gcnew System::EventHandler(this, &CustomiseWeapons1::TextRecharge_TextChanged);
 | 
        
           |  |  | 362 | 			// 
 | 
        
           |  |  | 363 | 			// label34
 | 
        
           |  |  | 364 | 			// 
 | 
        
           |  |  | 365 | 			this->label34->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 366 | 			this->label34->Location = System::Drawing::Point(313, 5);
 | 
        
           |  |  | 367 | 			this->label34->Name = L"label34";
 | 
        
           |  |  | 368 | 			this->label34->Size = System::Drawing::Size(41, 22);
 | 
        
           |  |  | 369 | 			this->label34->TabIndex = 2;
 | 
        
           |  |  | 370 | 			this->label34->Text = L"Kw/s";
 | 
        
           |  |  | 371 | 			this->label34->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 372 | 			// 
 | 
        
           |  |  | 373 | 			// NumRecharge
 | 
        
           |  |  | 374 | 			// 
 | 
        
           |  |  | 375 | 			this->NumRecharge->DecimalPlaces = 3;
 | 
        
           |  |  | 376 | 			this->NumRecharge->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 377 | 			this->NumRecharge->Location = System::Drawing::Point(195, 5);
 | 
        
           |  |  | 378 | 			this->NumRecharge->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2000000000, 0, 0, 0});
 | 
        
           |  |  | 379 | 			this->NumRecharge->Name = L"NumRecharge";
 | 
        
           |  |  | 380 | 			this->NumRecharge->Size = System::Drawing::Size(118, 20);
 | 
        
           |  |  | 381 | 			this->NumRecharge->TabIndex = 1;
 | 
        
           |  |  | 382 | 			this->NumRecharge->ThousandsSeparator = true;
 | 
        
           |  |  | 383 | 			this->NumRecharge->ValueChanged += gcnew System::EventHandler(this, &CustomiseWeapons1::NumRecharge_ValueChanged);
 | 
        
           |  |  | 384 | 			// 
 | 
        
           |  |  | 385 | 			// label35
 | 
        
           |  |  | 386 | 			// 
 | 
        
           |  |  | 387 | 			this->label35->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 388 | 			this->label35->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 389 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 390 | 			this->label35->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 391 | 			this->label35->Name = L"label35";
 | 
        
           |  |  | 392 | 			this->label35->Size = System::Drawing::Size(190, 22);
 | 
        
           |  |  | 393 | 			this->label35->TabIndex = 0;
 | 
        
           |  |  | 394 | 			this->label35->Text = L"Recharge Rate";
 | 
        
           |  |  | 395 | 			this->label35->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 396 | 			// 
 | 
        
           |  |  | 397 | 			// panel25
 | 
        
           |  |  | 398 | 			// 
 | 
        
           |  |  | 399 | 			this->panel25->Controls->Add(this->label32);
 | 
        
           |  |  | 400 | 			this->panel25->Controls->Add(this->NumWeaponEnergy);
 | 
        
           |  |  | 401 | 			this->panel25->Controls->Add(this->label33);
 | 
        
           |  |  | 402 | 			this->panel25->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 403 | 			this->panel25->Location = System::Drawing::Point(3, 48);
 | 
        
           |  |  | 404 | 			this->panel25->Name = L"panel25";
 | 
        
           |  |  | 405 | 			this->panel25->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 406 | 			this->panel25->Size = System::Drawing::Size(433, 32);
 | 
        
           |  |  | 407 | 			this->panel25->TabIndex = 8;
 | 
        
           |  |  | 408 | 			// 
 | 
        
           |  |  | 409 | 			// label32
 | 
        
           |  |  | 410 | 			// 
 | 
        
           |  |  | 411 | 			this->label32->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 412 | 			this->label32->Location = System::Drawing::Point(313, 5);
 | 
        
           |  |  | 413 | 			this->label32->Name = L"label32";
 | 
        
           |  |  | 414 | 			this->label32->Size = System::Drawing::Size(41, 22);
 | 
        
           |  |  | 415 | 			this->label32->TabIndex = 2;
 | 
        
           |  |  | 416 | 			this->label32->Text = L"Kw";
 | 
        
           |  |  | 417 | 			this->label32->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 418 | 			// 
 | 
        
           |  |  | 419 | 			// NumWeaponEnergy
 | 
        
           |  |  | 420 | 			// 
 | 
        
           |  |  | 421 | 			this->NumWeaponEnergy->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 422 | 			this->NumWeaponEnergy->Location = System::Drawing::Point(195, 5);
 | 
        
           |  |  | 423 | 			this->NumWeaponEnergy->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2000000000, 0, 0, 0});
 | 
        
           |  |  | 424 | 			this->NumWeaponEnergy->Name = L"NumWeaponEnergy";
 | 
        
           |  |  | 425 | 			this->NumWeaponEnergy->Size = System::Drawing::Size(118, 20);
 | 
        
           |  |  | 426 | 			this->NumWeaponEnergy->TabIndex = 1;
 | 
        
           |  |  | 427 | 			this->NumWeaponEnergy->ThousandsSeparator = true;
 | 
        
           |  |  | 428 | 			this->NumWeaponEnergy->ValueChanged += gcnew System::EventHandler(this, &CustomiseWeapons1::NumWeaponEnergy_ValueChanged);
 | 
        
           |  |  | 429 | 			// 
 | 
        
           |  |  | 430 | 			// label33
 | 
        
           |  |  | 431 | 			// 
 | 
        
           |  |  | 432 | 			this->label33->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 433 | 			this->label33->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 434 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 435 | 			this->label33->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 436 | 			this->label33->Name = L"label33";
 | 
        
           |  |  | 437 | 			this->label33->Size = System::Drawing::Size(190, 22);
 | 
        
           |  |  | 438 | 			this->label33->TabIndex = 0;
 | 
        
           |  |  | 439 | 			this->label33->Text = L"Weapons Energy";
 | 
        
           |  |  | 440 | 			this->label33->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 441 | 			// 
 | 
        
           |  |  | 442 | 			// panel24
 | 
        
           |  |  | 443 | 			// 
 | 
        
           |  |  | 444 | 			this->panel24->Controls->Add(this->label31);
 | 
        
           |  |  | 445 | 			this->panel24->Controls->Add(this->NumReactor);
 | 
        
           |  |  | 446 | 			this->panel24->Controls->Add(this->label30);
 | 
        
           |  |  | 447 | 			this->panel24->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 448 | 			this->panel24->Location = System::Drawing::Point(3, 16);
 | 
        
           |  |  | 449 | 			this->panel24->Name = L"panel24";
 | 
        
           |  |  | 450 | 			this->panel24->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 451 | 			this->panel24->Size = System::Drawing::Size(433, 32);
 | 
        
           |  |  | 452 | 			this->panel24->TabIndex = 7;
 | 
        
           |  |  | 453 | 			// 
 | 
        
           |  |  | 454 | 			// label31
 | 
        
           |  |  | 455 | 			// 
 | 
        
           |  |  | 456 | 			this->label31->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 457 | 			this->label31->Location = System::Drawing::Point(313, 5);
 | 
        
           |  |  | 458 | 			this->label31->Name = L"label31";
 | 
        
           |  |  | 459 | 			this->label31->Size = System::Drawing::Size(41, 22);
 | 
        
           |  |  | 460 | 			this->label31->TabIndex = 2;
 | 
        
           |  |  | 461 | 			this->label31->Text = L"MW";
 | 
        
           |  |  | 462 | 			this->label31->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 463 | 			// 
 | 
        
           |  |  | 464 | 			// NumReactor
 | 
        
           |  |  | 465 | 			// 
 | 
        
           |  |  | 466 | 			this->NumReactor->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 467 | 			this->NumReactor->Location = System::Drawing::Point(195, 5);
 | 
        
           |  |  | 468 | 			this->NumReactor->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2000000000, 0, 0, 0});
 | 
        
           |  |  | 469 | 			this->NumReactor->Name = L"NumReactor";
 | 
        
           |  |  | 470 | 			this->NumReactor->Size = System::Drawing::Size(118, 20);
 | 
        
           |  |  | 471 | 			this->NumReactor->TabIndex = 1;
 | 
        
           |  |  | 472 | 			this->NumReactor->ThousandsSeparator = true;
 | 
        
           |  |  | 473 | 			this->NumReactor->ValueChanged += gcnew System::EventHandler(this, &CustomiseWeapons1::NumReactor_ValueChanged);
 | 
        
           |  |  | 474 | 			// 
 | 
        
           |  |  | 475 | 			// label30
 | 
        
           |  |  | 476 | 			// 
 | 
        
           |  |  | 477 | 			this->label30->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 478 | 			this->label30->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 479 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 480 | 			this->label30->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 481 | 			this->label30->Name = L"label30";
 | 
        
           |  |  | 482 | 			this->label30->Size = System::Drawing::Size(190, 22);
 | 
        
           |  |  | 483 | 			this->label30->TabIndex = 0;
 | 
        
           |  |  | 484 | 			this->label30->Text = L"Reactor Output";
 | 
        
           |  |  | 485 | 			this->label30->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 486 | 			// 
 | 
        
           |  |  | 487 | 			// CustomiseWeapons1
 | 
        
           |  |  | 488 | 			// 
 | 
        
           |  |  | 489 | 			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
 | 
        
           |  |  | 490 | 			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
 | 
        
           |  |  | 491 | 			this->Controls->Add(this->groupBox7);
 | 
        
           |  |  | 492 | 			this->Controls->Add(this->groupBox6);
 | 
        
           |  |  | 493 | 			this->Name = L"CustomiseWeapons1";
 | 
        
           |  |  | 494 | 			this->Size = System::Drawing::Size(439, 452);
 | 
        
           |  |  | 495 | 			this->groupBox6->ResumeLayout(false);
 | 
        
           |  |  | 496 | 			this->panel23->ResumeLayout(false);
 | 
        
           |  |  | 497 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumHull))->EndInit();
 | 
        
           |  |  | 498 | 			this->panel22->ResumeLayout(false);
 | 
        
           |  |  | 499 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumShieldMax))->EndInit();
 | 
        
           |  |  | 500 | 			this->panel21->ResumeLayout(false);
 | 
        
           |  |  | 501 | 			this->groupBox7->ResumeLayout(false);
 | 
        
           |  |  | 502 | 			this->panel28->ResumeLayout(false);
 | 
        
           |  |  | 503 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumReaction))->EndInit();
 | 
        
           |  |  | 504 | 			this->panel27->ResumeLayout(false);
 | 
        
           |  |  | 505 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumMissiles))->EndInit();
 | 
        
           |  |  | 506 | 			this->panel26->ResumeLayout(false);
 | 
        
           |  |  | 507 | 			this->panel26->PerformLayout();
 | 
        
           |  |  | 508 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumRecharge))->EndInit();
 | 
        
           |  |  | 509 | 			this->panel25->ResumeLayout(false);
 | 
        
           |  |  | 510 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumWeaponEnergy))->EndInit();
 | 
        
           |  |  | 511 | 			this->panel24->ResumeLayout(false);
 | 
        
           |  |  | 512 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumReactor))->EndInit();
 | 
        
           |  |  | 513 | 			this->ResumeLayout(false);
 | 
        
           |  |  | 514 |   | 
        
           |  |  | 515 | 		}
 | 
        
           |  |  | 516 | #pragma endregion
 | 
        
           |  |  | 517 | private: System::Void ComboShield_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 518 | 			 m_pShipData->iShieldType = this->ComboShield->SelectedIndex;
 | 
        
           |  |  | 519 | 		 }
 | 
        
           |  |  | 520 | private: System::Void NumShieldMax_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 521 | 			 m_pShipData->iMaxShields = Convert::ToInt32(this->NumShieldMax->Value);
 | 
        
           |  |  | 522 | 		 }
 | 
        
           |  |  | 523 | private: System::Void NumHull_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 524 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 525 | 				 m_pShipData->iHull = Convert::ToInt32(this->NumHull->Value);
 | 
        
           |  |  | 526 | 		 }
 | 
        
           |  |  | 527 | private: System::Void NumReactor_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 528 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 529 | 				 m_pShipData->iPower = Convert::ToInt32(this->NumReactor->Value);
 | 
        
           |  |  | 530 | 		 }
 | 
        
           |  |  | 531 | private: System::Void NumWeaponEnergy_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 532 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 533 | 				 m_pShipData->iLaserEnergy = Convert::ToInt32(this->NumWeaponEnergy->Value);
 | 
        
           |  |  | 534 | 			 this->NumRecharge->Value = Convert::ToDecimal(m_pShipData->fLaserRecharge * Convert::ToDouble(this->NumWeaponEnergy->Value));
 | 
        
           |  |  | 535 | 		 }
 | 
        
           |  |  | 536 | private: System::Void TextRecharge_TextChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 537 | 			 if ( !this->TextRecharge->Text || !this->TextRecharge->Text->Length )
 | 
        
           |  |  | 538 | 				 return;
 | 
        
           |  |  | 539 | 			 if ( !CyStringFromSystemString(this->TextRecharge->Text).IsNumber() )
 | 
        
           |  |  | 540 | 				 return;
 | 
        
           |  |  | 541 |   | 
        
           |  |  | 542 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 543 | 				m_pShipData->fLaserRecharge = (float)Convert::ToDouble(this->TextRecharge->Text);
 | 
        
           |  |  | 544 | 			 this->NumRecharge->Value = Convert::ToDecimal(m_pShipData->fLaserRecharge * Convert::ToDouble(this->NumWeaponEnergy->Value));
 | 
        
           |  |  | 545 | 		 }
 | 
        
           |  |  | 546 | private: System::Void NumRecharge_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 547 | 			 this->TextRecharge->Text = Convert::ToString(Convert::ToDouble(this->NumRecharge->Value) / Convert::ToDouble(this->NumWeaponEnergy->Value));
 | 
        
           |  |  | 548 | 		 }
 | 
        
           |  |  | 549 | private: System::Void NumMissiles_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 550 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 551 | 				m_pShipData->iMissileCount = Convert::ToInt32(this->NumMissiles->Value);
 | 
        
           |  |  | 552 | 		 }
 | 
        
           |  |  | 553 | private: System::Void NumReaction_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 554 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 555 | 				m_pShipData->iReactionDelay = Convert::ToInt32(this->NumReaction->Value);
 | 
        
           |  |  | 556 | 		 }
 | 
        
           |  |  | 557 | };
 | 
        
           |  |  | 558 | }
 |