| 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 CustomisePerformance
 | 
        
           |  |  | 15 | 	/// </summary>
 | 
        
           |  |  | 16 | 	public ref class CustomisePerformance : public System::Windows::Forms::UserControl
 | 
        
           |  |  | 17 | 	{
 | 
        
           |  |  | 18 | 	public:
 | 
        
           |  |  | 19 | 		CustomisePerformance(CShipData *shipData)
 | 
        
           |  |  | 20 | 		{
 | 
        
           |  |  | 21 | 			InitializeComponent();
 | 
        
           |  |  | 22 |   | 
        
           |  |  | 23 | 			m_pShipData = shipData;
 | 
        
           |  |  | 24 | 			m_bUpdateing = false;
 | 
        
           |  |  | 25 | 			m_bChangeSpeed = false;
 | 
        
           |  |  | 26 |   | 
        
           |  |  | 27 | 			this->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 28 | 		}
 | 
        
           |  |  | 29 |   | 
        
           |  |  | 30 | 		void UpdateDisplay()
 | 
        
           |  |  | 31 | 		{
 | 
        
           |  |  | 32 | 			m_bUpdateing = true;
 | 
        
           |  |  | 33 | 			this->NumSpeedMin->Value = m_pShipData->iSpeed;
 | 
        
           |  |  | 34 | 			this->NumSpeedExt->Value = m_pShipData->iSpeedExtension;
 | 
        
           |  |  | 35 | 			this->NumSpeedAccel->Value = m_pShipData->iAccel;
 | 
        
           |  |  | 36 | 			this->NumRudder->Value = m_pShipData->iSteeringExtension;
 | 
        
           |  |  | 37 | 			this->NumYaw->Value = Convert::ToDecimal(m_pShipData->fRotX) * Decimal(60);
 | 
        
           |  |  | 38 | 			this->NumPitch->Value = Convert::ToDecimal(m_pShipData->fRotY) * Decimal(60);
 | 
        
           |  |  | 39 | 			this->NumRoll->Value = Convert::ToDecimal(m_pShipData->fRotZ) * Decimal(60);
 | 
        
           |  |  | 40 | 			this->NumRotAccel->Value = m_pShipData->iRotationAccel;
 | 
        
           |  |  | 41 | 			m_bUpdateing = false;
 | 
        
           |  |  | 42 | 		}
 | 
        
           |  |  | 43 |   | 
        
           |  |  | 44 | 	protected:
 | 
        
           |  |  | 45 | 		/// <summary>
 | 
        
           |  |  | 46 | 		/// Clean up any resources being used.
 | 
        
           |  |  | 47 | 		/// </summary>
 | 
        
           |  |  | 48 | 		~CustomisePerformance()
 | 
        
           |  |  | 49 | 		{
 | 
        
           |  |  | 50 | 			if (components)
 | 
        
           |  |  | 51 | 			{
 | 
        
           |  |  | 52 | 				delete components;
 | 
        
           |  |  | 53 | 			}
 | 
        
           |  |  | 54 | 		}
 | 
        
           |  |  | 55 | 	private: System::Windows::Forms::GroupBox^  groupBox5;
 | 
        
           |  |  | 56 | 	protected: 
 | 
        
           |  |  | 57 | 	private: System::Windows::Forms::TableLayoutPanel^  tableLayoutPanel4;
 | 
        
           |  |  | 58 | 	private: System::Windows::Forms::Panel^  panel20;
 | 
        
           |  |  | 59 | 	private: System::Windows::Forms::Button^  button12;
 | 
        
           |  |  | 60 | 	private: System::Windows::Forms::Button^  button13;
 | 
        
           |  |  | 61 | 	private: System::Windows::Forms::Panel^  panel19;
 | 
        
           |  |  | 62 | 	private: System::Windows::Forms::Button^  button10;
 | 
        
           |  |  | 63 | 	private: System::Windows::Forms::Button^  button11;
 | 
        
           |  |  | 64 | 	private: System::Windows::Forms::NumericUpDown^  NumRoll;
 | 
        
           |  |  | 65 | 	private: System::Windows::Forms::Panel^  panel18;
 | 
        
           |  |  | 66 | 	private: System::Windows::Forms::Button^  button8;
 | 
        
           |  |  | 67 | 	private: System::Windows::Forms::Button^  button9;
 | 
        
           |  |  | 68 | 	private: System::Windows::Forms::Panel^  panel17;
 | 
        
           |  |  | 69 | 	private: System::Windows::Forms::Button^  button6;
 | 
        
           |  |  | 70 | 	private: System::Windows::Forms::Button^  button7;
 | 
        
           |  |  | 71 | 	private: System::Windows::Forms::NumericUpDown^  NumPitch;
 | 
        
           |  |  | 72 | 	private: System::Windows::Forms::Panel^  panel16;
 | 
        
           |  |  | 73 | 	private: System::Windows::Forms::Button^  button4;
 | 
        
           |  |  | 74 | 	private: System::Windows::Forms::Button^  button5;
 | 
        
           |  |  | 75 | 	private: System::Windows::Forms::Panel^  panel15;
 | 
        
           |  |  | 76 | 	private: System::Windows::Forms::Button^  button3;
 | 
        
           |  |  | 77 | 	private: System::Windows::Forms::Button^  button1;
 | 
        
           |  |  | 78 | 	private: System::Windows::Forms::TextBox^  TextRoll;
 | 
        
           |  |  | 79 | 	private: System::Windows::Forms::TextBox^  TextPitch;
 | 
        
           |  |  | 80 | 	private: System::Windows::Forms::Label^  label26;
 | 
        
           |  |  | 81 | 	private: System::Windows::Forms::Label^  label25;
 | 
        
           |  |  | 82 | 	private: System::Windows::Forms::Label^  label24;
 | 
        
           |  |  | 83 | 	private: System::Windows::Forms::TextBox^  TextYaw;
 | 
        
           |  |  | 84 | 	private: System::Windows::Forms::NumericUpDown^  NumYaw;
 | 
        
           |  |  | 85 | 	private: System::Windows::Forms::Panel^  panel14;
 | 
        
           |  |  | 86 | 	private: System::Windows::Forms::NumericUpDown^  NumRudder;
 | 
        
           |  |  | 87 | 	private: System::Windows::Forms::Label^  label23;
 | 
        
           |  |  | 88 | 	private: System::Windows::Forms::Panel^  panel32;
 | 
        
           |  |  | 89 | 	private: System::Windows::Forms::NumericUpDown^  NumRotAccel;
 | 
        
           |  |  | 90 | 	private: System::Windows::Forms::Label^  label44;
 | 
        
           |  |  | 91 | 	private: System::Windows::Forms::GroupBox^  groupBox4;
 | 
        
           |  |  | 92 | 	private: System::Windows::Forms::TableLayoutPanel^  tableLayoutPanel3;
 | 
        
           |  |  | 93 | 	private: System::Windows::Forms::NumericUpDown^  NumSpeedMax;
 | 
        
           |  |  | 94 | 	private: System::Windows::Forms::Label^  label22;
 | 
        
           |  |  | 95 | 	private: System::Windows::Forms::Label^  label21;
 | 
        
           |  |  | 96 | 	private: System::Windows::Forms::Label^  label20;
 | 
        
           |  |  | 97 | 	private: System::Windows::Forms::NumericUpDown^  NumSpeedAccel;
 | 
        
           |  |  | 98 | 	private: System::Windows::Forms::NumericUpDown^  NumSpeedExt;
 | 
        
           |  |  | 99 | 	private: System::Windows::Forms::Panel^  panel13;
 | 
        
           |  |  | 100 | 	private: System::Windows::Forms::TextBox^  TextSpeedAccel;
 | 
        
           |  |  | 101 | 	private: System::Windows::Forms::Label^  label18;
 | 
        
           |  |  | 102 | 	private: System::Windows::Forms::Panel^  panel12;
 | 
        
           |  |  | 103 | 	private: System::Windows::Forms::TextBox^  TextSpeedMax;
 | 
        
           |  |  | 104 | 	private: System::Windows::Forms::Label^  label17;
 | 
        
           |  |  | 105 | 	private: System::Windows::Forms::Panel^  panel11;
 | 
        
           |  |  | 106 | 	private: System::Windows::Forms::TextBox^  TextSpeedMin;
 | 
        
           |  |  | 107 | 	private: System::Windows::Forms::Label^  label16;
 | 
        
           |  |  | 108 | 	private: System::Windows::Forms::NumericUpDown^  NumSpeedMin;
 | 
        
           |  |  | 109 | 	private: System::Windows::Forms::Label^  label19;
 | 
        
           |  |  | 110 |   | 
        
           |  |  | 111 | 	private:
 | 
        
           |  |  | 112 | 		bool			m_bChangeSpeed;
 | 
        
           |  |  | 113 | 		CShipData		*m_pShipData;
 | 
        
           |  |  | 114 | 		bool			 m_bUpdateing;
 | 
        
           |  |  | 115 | 		/// <summary>
 | 
        
           |  |  | 116 | 		/// Required designer variable.
 | 
        
           |  |  | 117 | 		/// </summary>
 | 
        
           |  |  | 118 | 		System::ComponentModel::Container ^components;
 | 
        
           |  |  | 119 |   | 
        
           |  |  | 120 | #pragma region Windows Form Designer generated code
 | 
        
           |  |  | 121 | 		/// <summary>
 | 
        
           |  |  | 122 | 		/// Required method for Designer support - do not modify
 | 
        
           |  |  | 123 | 		/// the contents of this method with the code editor.
 | 
        
           |  |  | 124 | 		/// </summary>
 | 
        
           |  |  | 125 | 		void InitializeComponent(void)
 | 
        
           |  |  | 126 | 		{
 | 
        
           |  |  | 127 | 			this->groupBox5 = (gcnew System::Windows::Forms::GroupBox());
 | 
        
           |  |  | 128 | 			this->tableLayoutPanel4 = (gcnew System::Windows::Forms::TableLayoutPanel());
 | 
        
           |  |  | 129 | 			this->panel20 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 130 | 			this->button12 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 131 | 			this->button13 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 132 | 			this->panel19 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 133 | 			this->button10 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 134 | 			this->button11 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 135 | 			this->NumRoll = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 136 | 			this->panel18 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 137 | 			this->button8 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 138 | 			this->button9 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 139 | 			this->panel17 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 140 | 			this->button6 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 141 | 			this->button7 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 142 | 			this->NumPitch = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 143 | 			this->panel16 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 144 | 			this->button4 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 145 | 			this->button5 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 146 | 			this->panel15 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 147 | 			this->button3 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 148 | 			this->button1 = (gcnew System::Windows::Forms::Button());
 | 
        
           |  |  | 149 | 			this->TextRoll = (gcnew System::Windows::Forms::TextBox());
 | 
        
           |  |  | 150 | 			this->TextPitch = (gcnew System::Windows::Forms::TextBox());
 | 
        
           |  |  | 151 | 			this->label26 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 152 | 			this->label25 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 153 | 			this->label24 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 154 | 			this->TextYaw = (gcnew System::Windows::Forms::TextBox());
 | 
        
           |  |  | 155 | 			this->NumYaw = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 156 | 			this->panel14 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 157 | 			this->NumRudder = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 158 | 			this->label23 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 159 | 			this->panel32 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 160 | 			this->NumRotAccel = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 161 | 			this->label44 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 162 | 			this->groupBox4 = (gcnew System::Windows::Forms::GroupBox());
 | 
        
           |  |  | 163 | 			this->tableLayoutPanel3 = (gcnew System::Windows::Forms::TableLayoutPanel());
 | 
        
           |  |  | 164 | 			this->NumSpeedMax = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 165 | 			this->label22 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 166 | 			this->label21 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 167 | 			this->label20 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 168 | 			this->NumSpeedAccel = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 169 | 			this->NumSpeedExt = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 170 | 			this->panel13 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 171 | 			this->TextSpeedAccel = (gcnew System::Windows::Forms::TextBox());
 | 
        
           |  |  | 172 | 			this->label18 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 173 | 			this->panel12 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 174 | 			this->TextSpeedMax = (gcnew System::Windows::Forms::TextBox());
 | 
        
           |  |  | 175 | 			this->label17 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 176 | 			this->panel11 = (gcnew System::Windows::Forms::Panel());
 | 
        
           |  |  | 177 | 			this->TextSpeedMin = (gcnew System::Windows::Forms::TextBox());
 | 
        
           |  |  | 178 | 			this->label16 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 179 | 			this->NumSpeedMin = (gcnew System::Windows::Forms::NumericUpDown());
 | 
        
           |  |  | 180 | 			this->label19 = (gcnew System::Windows::Forms::Label());
 | 
        
           |  |  | 181 | 			this->groupBox5->SuspendLayout();
 | 
        
           |  |  | 182 | 			this->tableLayoutPanel4->SuspendLayout();
 | 
        
           |  |  | 183 | 			this->panel20->SuspendLayout();
 | 
        
           |  |  | 184 | 			this->panel19->SuspendLayout();
 | 
        
           |  |  | 185 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumRoll))->BeginInit();
 | 
        
           |  |  | 186 | 			this->panel18->SuspendLayout();
 | 
        
           |  |  | 187 | 			this->panel17->SuspendLayout();
 | 
        
           |  |  | 188 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumPitch))->BeginInit();
 | 
        
           |  |  | 189 | 			this->panel16->SuspendLayout();
 | 
        
           |  |  | 190 | 			this->panel15->SuspendLayout();
 | 
        
           |  |  | 191 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumYaw))->BeginInit();
 | 
        
           |  |  | 192 | 			this->panel14->SuspendLayout();
 | 
        
           |  |  | 193 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumRudder))->BeginInit();
 | 
        
           |  |  | 194 | 			this->panel32->SuspendLayout();
 | 
        
           |  |  | 195 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumRotAccel))->BeginInit();
 | 
        
           |  |  | 196 | 			this->groupBox4->SuspendLayout();
 | 
        
           |  |  | 197 | 			this->tableLayoutPanel3->SuspendLayout();
 | 
        
           |  |  | 198 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumSpeedMax))->BeginInit();
 | 
        
           |  |  | 199 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumSpeedAccel))->BeginInit();
 | 
        
           |  |  | 200 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumSpeedExt))->BeginInit();
 | 
        
           |  |  | 201 | 			this->panel13->SuspendLayout();
 | 
        
           |  |  | 202 | 			this->panel12->SuspendLayout();
 | 
        
           |  |  | 203 | 			this->panel11->SuspendLayout();
 | 
        
           |  |  | 204 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumSpeedMin))->BeginInit();
 | 
        
           |  |  | 205 | 			this->SuspendLayout();
 | 
        
           |  |  | 206 | 			// 
 | 
        
           |  |  | 207 | 			// groupBox5
 | 
        
           |  |  | 208 | 			// 
 | 
        
           |  |  | 209 | 			this->groupBox5->Controls->Add(this->tableLayoutPanel4);
 | 
        
           |  |  | 210 | 			this->groupBox5->Controls->Add(this->panel14);
 | 
        
           |  |  | 211 | 			this->groupBox5->Controls->Add(this->panel32);
 | 
        
           |  |  | 212 | 			this->groupBox5->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 213 | 			this->groupBox5->Location = System::Drawing::Point(0, 154);
 | 
        
           |  |  | 214 | 			this->groupBox5->Name = L"groupBox5";
 | 
        
           |  |  | 215 | 			this->groupBox5->Size = System::Drawing::Size(549, 210);
 | 
        
           |  |  | 216 | 			this->groupBox5->TabIndex = 3;
 | 
        
           |  |  | 217 | 			this->groupBox5->TabStop = false;
 | 
        
           |  |  | 218 | 			this->groupBox5->Text = L"Ship Handling";
 | 
        
           |  |  | 219 | 			// 
 | 
        
           |  |  | 220 | 			// tableLayoutPanel4
 | 
        
           |  |  | 221 | 			// 
 | 
        
           |  |  | 222 | 			this->tableLayoutPanel4->ColumnCount = 3;
 | 
        
           |  |  | 223 | 			this->tableLayoutPanel4->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent, 
 | 
        
           |  |  | 224 | 				33.33333F)));
 | 
        
           |  |  | 225 | 			this->tableLayoutPanel4->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent, 
 | 
        
           |  |  | 226 | 				33.33333F)));
 | 
        
           |  |  | 227 | 			this->tableLayoutPanel4->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent, 
 | 
        
           |  |  | 228 | 				33.33333F)));
 | 
        
           |  |  | 229 | 			this->tableLayoutPanel4->Controls->Add(this->panel20, 2, 5);
 | 
        
           |  |  | 230 | 			this->tableLayoutPanel4->Controls->Add(this->panel19, 2, 4);
 | 
        
           |  |  | 231 | 			this->tableLayoutPanel4->Controls->Add(this->NumRoll, 1, 4);
 | 
        
           |  |  | 232 | 			this->tableLayoutPanel4->Controls->Add(this->panel18, 2, 3);
 | 
        
           |  |  | 233 | 			this->tableLayoutPanel4->Controls->Add(this->panel17, 2, 2);
 | 
        
           |  |  | 234 | 			this->tableLayoutPanel4->Controls->Add(this->NumPitch, 1, 2);
 | 
        
           |  |  | 235 | 			this->tableLayoutPanel4->Controls->Add(this->panel16, 2, 1);
 | 
        
           |  |  | 236 | 			this->tableLayoutPanel4->Controls->Add(this->panel15, 2, 0);
 | 
        
           |  |  | 237 | 			this->tableLayoutPanel4->Controls->Add(this->TextRoll, 1, 5);
 | 
        
           |  |  | 238 | 			this->tableLayoutPanel4->Controls->Add(this->TextPitch, 1, 3);
 | 
        
           |  |  | 239 | 			this->tableLayoutPanel4->Controls->Add(this->label26, 0, 4);
 | 
        
           |  |  | 240 | 			this->tableLayoutPanel4->Controls->Add(this->label25, 0, 2);
 | 
        
           |  |  | 241 | 			this->tableLayoutPanel4->Controls->Add(this->label24, 0, 0);
 | 
        
           |  |  | 242 | 			this->tableLayoutPanel4->Controls->Add(this->TextYaw, 1, 1);
 | 
        
           |  |  | 243 | 			this->tableLayoutPanel4->Controls->Add(this->NumYaw, 1, 0);
 | 
        
           |  |  | 244 | 			this->tableLayoutPanel4->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 245 | 			this->tableLayoutPanel4->Location = System::Drawing::Point(3, 16);
 | 
        
           |  |  | 246 | 			this->tableLayoutPanel4->Name = L"tableLayoutPanel4";
 | 
        
           |  |  | 247 | 			this->tableLayoutPanel4->RowCount = 6;
 | 
        
           |  |  | 248 | 			this->tableLayoutPanel4->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 16.66667F)));
 | 
        
           |  |  | 249 | 			this->tableLayoutPanel4->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 16.66667F)));
 | 
        
           |  |  | 250 | 			this->tableLayoutPanel4->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 16.66667F)));
 | 
        
           |  |  | 251 | 			this->tableLayoutPanel4->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 16.66667F)));
 | 
        
           |  |  | 252 | 			this->tableLayoutPanel4->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 16.66667F)));
 | 
        
           |  |  | 253 | 			this->tableLayoutPanel4->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 16.66667F)));
 | 
        
           |  |  | 254 | 			this->tableLayoutPanel4->Size = System::Drawing::Size(543, 128);
 | 
        
           |  |  | 255 | 			this->tableLayoutPanel4->TabIndex = 0;
 | 
        
           |  |  | 256 | 			// 
 | 
        
           |  |  | 257 | 			// panel20
 | 
        
           |  |  | 258 | 			// 
 | 
        
           |  |  | 259 | 			this->panel20->Controls->Add(this->button12);
 | 
        
           |  |  | 260 | 			this->panel20->Controls->Add(this->button13);
 | 
        
           |  |  | 261 | 			this->panel20->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 262 | 			this->panel20->Location = System::Drawing::Point(363, 106);
 | 
        
           |  |  | 263 | 			this->panel20->Margin = System::Windows::Forms::Padding(1);
 | 
        
           |  |  | 264 | 			this->panel20->Name = L"panel20";
 | 
        
           |  |  | 265 | 			this->panel20->Size = System::Drawing::Size(179, 21);
 | 
        
           |  |  | 266 | 			this->panel20->TabIndex = 13;
 | 
        
           |  |  | 267 | 			// 
 | 
        
           |  |  | 268 | 			// button12
 | 
        
           |  |  | 269 | 			// 
 | 
        
           |  |  | 270 | 			this->button12->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 271 | 			this->button12->Location = System::Drawing::Point(59, 0);
 | 
        
           |  |  | 272 | 			this->button12->Name = L"button12";
 | 
        
           |  |  | 273 | 			this->button12->Size = System::Drawing::Size(59, 21);
 | 
        
           |  |  | 274 | 			this->button12->TabIndex = 1;
 | 
        
           |  |  | 275 | 			this->button12->Text = L"-10.0";
 | 
        
           |  |  | 276 | 			this->button12->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 277 | 			this->button12->Click += gcnew System::EventHandler(this, &CustomisePerformance::button12_Click);
 | 
        
           |  |  | 278 | 			// 
 | 
        
           |  |  | 279 | 			// button13
 | 
        
           |  |  | 280 | 			// 
 | 
        
           |  |  | 281 | 			this->button13->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 282 | 			this->button13->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 283 | 			this->button13->Name = L"button13";
 | 
        
           |  |  | 284 | 			this->button13->Size = System::Drawing::Size(59, 21);
 | 
        
           |  |  | 285 | 			this->button13->TabIndex = 0;
 | 
        
           |  |  | 286 | 			this->button13->Text = L"-1.0";
 | 
        
           |  |  | 287 | 			this->button13->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 288 | 			this->button13->Click += gcnew System::EventHandler(this, &CustomisePerformance::button13_Click);
 | 
        
           |  |  | 289 | 			// 
 | 
        
           |  |  | 290 | 			// panel19
 | 
        
           |  |  | 291 | 			// 
 | 
        
           |  |  | 292 | 			this->panel19->Controls->Add(this->button10);
 | 
        
           |  |  | 293 | 			this->panel19->Controls->Add(this->button11);
 | 
        
           |  |  | 294 | 			this->panel19->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 295 | 			this->panel19->Location = System::Drawing::Point(363, 85);
 | 
        
           |  |  | 296 | 			this->panel19->Margin = System::Windows::Forms::Padding(1);
 | 
        
           |  |  | 297 | 			this->panel19->Name = L"panel19";
 | 
        
           |  |  | 298 | 			this->panel19->Size = System::Drawing::Size(179, 19);
 | 
        
           |  |  | 299 | 			this->panel19->TabIndex = 12;
 | 
        
           |  |  | 300 | 			// 
 | 
        
           |  |  | 301 | 			// button10
 | 
        
           |  |  | 302 | 			// 
 | 
        
           |  |  | 303 | 			this->button10->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 304 | 			this->button10->Location = System::Drawing::Point(59, 0);
 | 
        
           |  |  | 305 | 			this->button10->Name = L"button10";
 | 
        
           |  |  | 306 | 			this->button10->Size = System::Drawing::Size(59, 19);
 | 
        
           |  |  | 307 | 			this->button10->TabIndex = 1;
 | 
        
           |  |  | 308 | 			this->button10->Text = L"+10.0";
 | 
        
           |  |  | 309 | 			this->button10->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 310 | 			this->button10->Click += gcnew System::EventHandler(this, &CustomisePerformance::button10_Click);
 | 
        
           |  |  | 311 | 			// 
 | 
        
           |  |  | 312 | 			// button11
 | 
        
           |  |  | 313 | 			// 
 | 
        
           |  |  | 314 | 			this->button11->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 315 | 			this->button11->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 316 | 			this->button11->Name = L"button11";
 | 
        
           |  |  | 317 | 			this->button11->Size = System::Drawing::Size(59, 19);
 | 
        
           |  |  | 318 | 			this->button11->TabIndex = 0;
 | 
        
           |  |  | 319 | 			this->button11->Text = L"+1.0";
 | 
        
           |  |  | 320 | 			this->button11->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 321 | 			this->button11->Click += gcnew System::EventHandler(this, &CustomisePerformance::button11_Click);
 | 
        
           |  |  | 322 | 			// 
 | 
        
           |  |  | 323 | 			// NumRoll
 | 
        
           |  |  | 324 | 			// 
 | 
        
           |  |  | 325 | 			this->NumRoll->DecimalPlaces = 1;
 | 
        
           |  |  | 326 | 			this->NumRoll->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 327 | 			this->NumRoll->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 65536});
 | 
        
           |  |  | 328 | 			this->NumRoll->Location = System::Drawing::Point(184, 87);
 | 
        
           |  |  | 329 | 			this->NumRoll->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {120, 0, 0, 0});
 | 
        
           |  |  | 330 | 			this->NumRoll->Name = L"NumRoll";
 | 
        
           |  |  | 331 | 			this->NumRoll->Size = System::Drawing::Size(175, 20);
 | 
        
           |  |  | 332 | 			this->NumRoll->TabIndex = 11;
 | 
        
           |  |  | 333 | 			this->NumRoll->ValueChanged += gcnew System::EventHandler(this, &CustomisePerformance::NumRoll_ValueChanged);
 | 
        
           |  |  | 334 | 			// 
 | 
        
           |  |  | 335 | 			// panel18
 | 
        
           |  |  | 336 | 			// 
 | 
        
           |  |  | 337 | 			this->panel18->Controls->Add(this->button8);
 | 
        
           |  |  | 338 | 			this->panel18->Controls->Add(this->button9);
 | 
        
           |  |  | 339 | 			this->panel18->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 340 | 			this->panel18->Location = System::Drawing::Point(363, 64);
 | 
        
           |  |  | 341 | 			this->panel18->Margin = System::Windows::Forms::Padding(1);
 | 
        
           |  |  | 342 | 			this->panel18->Name = L"panel18";
 | 
        
           |  |  | 343 | 			this->panel18->Size = System::Drawing::Size(179, 19);
 | 
        
           |  |  | 344 | 			this->panel18->TabIndex = 10;
 | 
        
           |  |  | 345 | 			// 
 | 
        
           |  |  | 346 | 			// button8
 | 
        
           |  |  | 347 | 			// 
 | 
        
           |  |  | 348 | 			this->button8->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 349 | 			this->button8->Location = System::Drawing::Point(59, 0);
 | 
        
           |  |  | 350 | 			this->button8->Name = L"button8";
 | 
        
           |  |  | 351 | 			this->button8->Size = System::Drawing::Size(59, 19);
 | 
        
           |  |  | 352 | 			this->button8->TabIndex = 1;
 | 
        
           |  |  | 353 | 			this->button8->Text = L"-10.0";
 | 
        
           |  |  | 354 | 			this->button8->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 355 | 			this->button8->Click += gcnew System::EventHandler(this, &CustomisePerformance::button8_Click);
 | 
        
           |  |  | 356 | 			// 
 | 
        
           |  |  | 357 | 			// button9
 | 
        
           |  |  | 358 | 			// 
 | 
        
           |  |  | 359 | 			this->button9->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 360 | 			this->button9->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 361 | 			this->button9->Name = L"button9";
 | 
        
           |  |  | 362 | 			this->button9->Size = System::Drawing::Size(59, 19);
 | 
        
           |  |  | 363 | 			this->button9->TabIndex = 0;
 | 
        
           |  |  | 364 | 			this->button9->Text = L"-1.0";
 | 
        
           |  |  | 365 | 			this->button9->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 366 | 			this->button9->Click += gcnew System::EventHandler(this, &CustomisePerformance::button9_Click);
 | 
        
           |  |  | 367 | 			// 
 | 
        
           |  |  | 368 | 			// panel17
 | 
        
           |  |  | 369 | 			// 
 | 
        
           |  |  | 370 | 			this->panel17->Controls->Add(this->button6);
 | 
        
           |  |  | 371 | 			this->panel17->Controls->Add(this->button7);
 | 
        
           |  |  | 372 | 			this->panel17->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 373 | 			this->panel17->Location = System::Drawing::Point(363, 43);
 | 
        
           |  |  | 374 | 			this->panel17->Margin = System::Windows::Forms::Padding(1);
 | 
        
           |  |  | 375 | 			this->panel17->Name = L"panel17";
 | 
        
           |  |  | 376 | 			this->panel17->Size = System::Drawing::Size(179, 19);
 | 
        
           |  |  | 377 | 			this->panel17->TabIndex = 9;
 | 
        
           |  |  | 378 | 			// 
 | 
        
           |  |  | 379 | 			// button6
 | 
        
           |  |  | 380 | 			// 
 | 
        
           |  |  | 381 | 			this->button6->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 382 | 			this->button6->Location = System::Drawing::Point(59, 0);
 | 
        
           |  |  | 383 | 			this->button6->Name = L"button6";
 | 
        
           |  |  | 384 | 			this->button6->Size = System::Drawing::Size(59, 19);
 | 
        
           |  |  | 385 | 			this->button6->TabIndex = 1;
 | 
        
           |  |  | 386 | 			this->button6->Text = L"+10.0";
 | 
        
           |  |  | 387 | 			this->button6->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 388 | 			this->button6->Click += gcnew System::EventHandler(this, &CustomisePerformance::button6_Click);
 | 
        
           |  |  | 389 | 			// 
 | 
        
           |  |  | 390 | 			// button7
 | 
        
           |  |  | 391 | 			// 
 | 
        
           |  |  | 392 | 			this->button7->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 393 | 			this->button7->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 394 | 			this->button7->Name = L"button7";
 | 
        
           |  |  | 395 | 			this->button7->Size = System::Drawing::Size(59, 19);
 | 
        
           |  |  | 396 | 			this->button7->TabIndex = 0;
 | 
        
           |  |  | 397 | 			this->button7->Text = L"+1.0";
 | 
        
           |  |  | 398 | 			this->button7->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 399 | 			this->button7->Click += gcnew System::EventHandler(this, &CustomisePerformance::button7_Click);
 | 
        
           |  |  | 400 | 			// 
 | 
        
           |  |  | 401 | 			// NumPitch
 | 
        
           |  |  | 402 | 			// 
 | 
        
           |  |  | 403 | 			this->NumPitch->DecimalPlaces = 1;
 | 
        
           |  |  | 404 | 			this->NumPitch->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 405 | 			this->NumPitch->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 65536});
 | 
        
           |  |  | 406 | 			this->NumPitch->Location = System::Drawing::Point(184, 45);
 | 
        
           |  |  | 407 | 			this->NumPitch->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {120, 0, 0, 0});
 | 
        
           |  |  | 408 | 			this->NumPitch->Name = L"NumPitch";
 | 
        
           |  |  | 409 | 			this->NumPitch->Size = System::Drawing::Size(175, 20);
 | 
        
           |  |  | 410 | 			this->NumPitch->TabIndex = 8;
 | 
        
           |  |  | 411 | 			this->NumPitch->ValueChanged += gcnew System::EventHandler(this, &CustomisePerformance::NumPitch_ValueChanged);
 | 
        
           |  |  | 412 | 			// 
 | 
        
           |  |  | 413 | 			// panel16
 | 
        
           |  |  | 414 | 			// 
 | 
        
           |  |  | 415 | 			this->panel16->Controls->Add(this->button4);
 | 
        
           |  |  | 416 | 			this->panel16->Controls->Add(this->button5);
 | 
        
           |  |  | 417 | 			this->panel16->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 418 | 			this->panel16->Location = System::Drawing::Point(363, 22);
 | 
        
           |  |  | 419 | 			this->panel16->Margin = System::Windows::Forms::Padding(1);
 | 
        
           |  |  | 420 | 			this->panel16->Name = L"panel16";
 | 
        
           |  |  | 421 | 			this->panel16->Size = System::Drawing::Size(179, 19);
 | 
        
           |  |  | 422 | 			this->panel16->TabIndex = 7;
 | 
        
           |  |  | 423 | 			// 
 | 
        
           |  |  | 424 | 			// button4
 | 
        
           |  |  | 425 | 			// 
 | 
        
           |  |  | 426 | 			this->button4->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 427 | 			this->button4->Location = System::Drawing::Point(59, 0);
 | 
        
           |  |  | 428 | 			this->button4->Name = L"button4";
 | 
        
           |  |  | 429 | 			this->button4->Size = System::Drawing::Size(59, 19);
 | 
        
           |  |  | 430 | 			this->button4->TabIndex = 1;
 | 
        
           |  |  | 431 | 			this->button4->Text = L"-10.0";
 | 
        
           |  |  | 432 | 			this->button4->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 433 | 			this->button4->Click += gcnew System::EventHandler(this, &CustomisePerformance::button4_Click);
 | 
        
           |  |  | 434 | 			// 
 | 
        
           |  |  | 435 | 			// button5
 | 
        
           |  |  | 436 | 			// 
 | 
        
           |  |  | 437 | 			this->button5->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 438 | 			this->button5->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 439 | 			this->button5->Name = L"button5";
 | 
        
           |  |  | 440 | 			this->button5->Size = System::Drawing::Size(59, 19);
 | 
        
           |  |  | 441 | 			this->button5->TabIndex = 0;
 | 
        
           |  |  | 442 | 			this->button5->Text = L"-1.0";
 | 
        
           |  |  | 443 | 			this->button5->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 444 | 			this->button5->Click += gcnew System::EventHandler(this, &CustomisePerformance::button5_Click);
 | 
        
           |  |  | 445 | 			// 
 | 
        
           |  |  | 446 | 			// panel15
 | 
        
           |  |  | 447 | 			// 
 | 
        
           |  |  | 448 | 			this->panel15->Controls->Add(this->button3);
 | 
        
           |  |  | 449 | 			this->panel15->Controls->Add(this->button1);
 | 
        
           |  |  | 450 | 			this->panel15->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 451 | 			this->panel15->Location = System::Drawing::Point(363, 1);
 | 
        
           |  |  | 452 | 			this->panel15->Margin = System::Windows::Forms::Padding(1);
 | 
        
           |  |  | 453 | 			this->panel15->Name = L"panel15";
 | 
        
           |  |  | 454 | 			this->panel15->Size = System::Drawing::Size(179, 19);
 | 
        
           |  |  | 455 | 			this->panel15->TabIndex = 2;
 | 
        
           |  |  | 456 | 			// 
 | 
        
           |  |  | 457 | 			// button3
 | 
        
           |  |  | 458 | 			// 
 | 
        
           |  |  | 459 | 			this->button3->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 460 | 			this->button3->Location = System::Drawing::Point(59, 0);
 | 
        
           |  |  | 461 | 			this->button3->Name = L"button3";
 | 
        
           |  |  | 462 | 			this->button3->Size = System::Drawing::Size(59, 19);
 | 
        
           |  |  | 463 | 			this->button3->TabIndex = 1;
 | 
        
           |  |  | 464 | 			this->button3->Text = L"+10.0";
 | 
        
           |  |  | 465 | 			this->button3->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 466 | 			this->button3->Click += gcnew System::EventHandler(this, &CustomisePerformance::button3_Click);
 | 
        
           |  |  | 467 | 			// 
 | 
        
           |  |  | 468 | 			// button1
 | 
        
           |  |  | 469 | 			// 
 | 
        
           |  |  | 470 | 			this->button1->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 471 | 			this->button1->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 472 | 			this->button1->Name = L"button1";
 | 
        
           |  |  | 473 | 			this->button1->Size = System::Drawing::Size(59, 19);
 | 
        
           |  |  | 474 | 			this->button1->TabIndex = 0;
 | 
        
           |  |  | 475 | 			this->button1->Text = L"+1.0";
 | 
        
           |  |  | 476 | 			this->button1->UseVisualStyleBackColor = true;
 | 
        
           |  |  | 477 | 			this->button1->Click += gcnew System::EventHandler(this, &CustomisePerformance::button1_Click);
 | 
        
           |  |  | 478 | 			// 
 | 
        
           |  |  | 479 | 			// TextRoll
 | 
        
           |  |  | 480 | 			// 
 | 
        
           |  |  | 481 | 			this->TextRoll->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 482 | 			this->TextRoll->Location = System::Drawing::Point(184, 108);
 | 
        
           |  |  | 483 | 			this->TextRoll->Name = L"TextRoll";
 | 
        
           |  |  | 484 | 			this->TextRoll->ReadOnly = true;
 | 
        
           |  |  | 485 | 			this->TextRoll->Size = System::Drawing::Size(175, 20);
 | 
        
           |  |  | 486 | 			this->TextRoll->TabIndex = 5;
 | 
        
           |  |  | 487 | 			this->TextRoll->TextChanged += gcnew System::EventHandler(this, &CustomisePerformance::TextRoll_TextChanged);
 | 
        
           |  |  | 488 | 			// 
 | 
        
           |  |  | 489 | 			// TextPitch
 | 
        
           |  |  | 490 | 			// 
 | 
        
           |  |  | 491 | 			this->TextPitch->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 492 | 			this->TextPitch->Location = System::Drawing::Point(184, 66);
 | 
        
           |  |  | 493 | 			this->TextPitch->Name = L"TextPitch";
 | 
        
           |  |  | 494 | 			this->TextPitch->ReadOnly = true;
 | 
        
           |  |  | 495 | 			this->TextPitch->Size = System::Drawing::Size(175, 20);
 | 
        
           |  |  | 496 | 			this->TextPitch->TabIndex = 4;
 | 
        
           |  |  | 497 | 			this->TextPitch->TextChanged += gcnew System::EventHandler(this, &CustomisePerformance::TextPitch_TextChanged);
 | 
        
           |  |  | 498 | 			// 
 | 
        
           |  |  | 499 | 			// label26
 | 
        
           |  |  | 500 | 			// 
 | 
        
           |  |  | 501 | 			this->label26->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 502 | 			this->label26->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 503 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 504 | 			this->label26->Location = System::Drawing::Point(3, 84);
 | 
        
           |  |  | 505 | 			this->label26->Name = L"label26";
 | 
        
           |  |  | 506 | 			this->tableLayoutPanel4->SetRowSpan(this->label26, 2);
 | 
        
           |  |  | 507 | 			this->label26->Size = System::Drawing::Size(175, 44);
 | 
        
           |  |  | 508 | 			this->label26->TabIndex = 2;
 | 
        
           |  |  | 509 | 			this->label26->Text = L"Roll";
 | 
        
           |  |  | 510 | 			this->label26->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 511 | 			// 
 | 
        
           |  |  | 512 | 			// label25
 | 
        
           |  |  | 513 | 			// 
 | 
        
           |  |  | 514 | 			this->label25->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 515 | 			this->label25->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 516 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 517 | 			this->label25->Location = System::Drawing::Point(3, 42);
 | 
        
           |  |  | 518 | 			this->label25->Name = L"label25";
 | 
        
           |  |  | 519 | 			this->tableLayoutPanel4->SetRowSpan(this->label25, 2);
 | 
        
           |  |  | 520 | 			this->label25->Size = System::Drawing::Size(175, 42);
 | 
        
           |  |  | 521 | 			this->label25->TabIndex = 1;
 | 
        
           |  |  | 522 | 			this->label25->Text = L"Pitch";
 | 
        
           |  |  | 523 | 			this->label25->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 524 | 			// 
 | 
        
           |  |  | 525 | 			// label24
 | 
        
           |  |  | 526 | 			// 
 | 
        
           |  |  | 527 | 			this->label24->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 528 | 			this->label24->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 529 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 530 | 			this->label24->Location = System::Drawing::Point(3, 0);
 | 
        
           |  |  | 531 | 			this->label24->Name = L"label24";
 | 
        
           |  |  | 532 | 			this->tableLayoutPanel4->SetRowSpan(this->label24, 2);
 | 
        
           |  |  | 533 | 			this->label24->Size = System::Drawing::Size(175, 42);
 | 
        
           |  |  | 534 | 			this->label24->TabIndex = 0;
 | 
        
           |  |  | 535 | 			this->label24->Text = L"Yaw";
 | 
        
           |  |  | 536 | 			this->label24->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 537 | 			// 
 | 
        
           |  |  | 538 | 			// TextYaw
 | 
        
           |  |  | 539 | 			// 
 | 
        
           |  |  | 540 | 			this->TextYaw->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 541 | 			this->TextYaw->Location = System::Drawing::Point(184, 24);
 | 
        
           |  |  | 542 | 			this->TextYaw->Name = L"TextYaw";
 | 
        
           |  |  | 543 | 			this->TextYaw->ReadOnly = true;
 | 
        
           |  |  | 544 | 			this->TextYaw->Size = System::Drawing::Size(175, 20);
 | 
        
           |  |  | 545 | 			this->TextYaw->TabIndex = 3;
 | 
        
           |  |  | 546 | 			this->TextYaw->TextChanged += gcnew System::EventHandler(this, &CustomisePerformance::TextYaw_TextChanged);
 | 
        
           |  |  | 547 | 			// 
 | 
        
           |  |  | 548 | 			// NumYaw
 | 
        
           |  |  | 549 | 			// 
 | 
        
           |  |  | 550 | 			this->NumYaw->DecimalPlaces = 1;
 | 
        
           |  |  | 551 | 			this->NumYaw->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 552 | 			this->NumYaw->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 65536});
 | 
        
           |  |  | 553 | 			this->NumYaw->Location = System::Drawing::Point(184, 3);
 | 
        
           |  |  | 554 | 			this->NumYaw->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {120, 0, 0, 0});
 | 
        
           |  |  | 555 | 			this->NumYaw->Name = L"NumYaw";
 | 
        
           |  |  | 556 | 			this->NumYaw->Size = System::Drawing::Size(175, 20);
 | 
        
           |  |  | 557 | 			this->NumYaw->TabIndex = 6;
 | 
        
           |  |  | 558 | 			this->NumYaw->ValueChanged += gcnew System::EventHandler(this, &CustomisePerformance::NumYaw_ValueChanged);
 | 
        
           |  |  | 559 | 			// 
 | 
        
           |  |  | 560 | 			// panel14
 | 
        
           |  |  | 561 | 			// 
 | 
        
           |  |  | 562 | 			this->panel14->Controls->Add(this->NumRudder);
 | 
        
           |  |  | 563 | 			this->panel14->Controls->Add(this->label23);
 | 
        
           |  |  | 564 | 			this->panel14->Dock = System::Windows::Forms::DockStyle::Bottom;
 | 
        
           |  |  | 565 | 			this->panel14->Location = System::Drawing::Point(3, 144);
 | 
        
           |  |  | 566 | 			this->panel14->Name = L"panel14";
 | 
        
           |  |  | 567 | 			this->panel14->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 568 | 			this->panel14->Size = System::Drawing::Size(543, 31);
 | 
        
           |  |  | 569 | 			this->panel14->TabIndex = 1;
 | 
        
           |  |  | 570 | 			// 
 | 
        
           |  |  | 571 | 			// NumRudder
 | 
        
           |  |  | 572 | 			// 
 | 
        
           |  |  | 573 | 			this->NumRudder->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 574 | 			this->NumRudder->Location = System::Drawing::Point(180, 5);
 | 
        
           |  |  | 575 | 			this->NumRudder->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1000, 0, 0, 0});
 | 
        
           |  |  | 576 | 			this->NumRudder->Name = L"NumRudder";
 | 
        
           |  |  | 577 | 			this->NumRudder->Size = System::Drawing::Size(120, 20);
 | 
        
           |  |  | 578 | 			this->NumRudder->TabIndex = 1;
 | 
        
           |  |  | 579 | 			this->NumRudder->ValueChanged += gcnew System::EventHandler(this, &CustomisePerformance::NumRudder_ValueChanged);
 | 
        
           |  |  | 580 | 			// 
 | 
        
           |  |  | 581 | 			// label23
 | 
        
           |  |  | 582 | 			// 
 | 
        
           |  |  | 583 | 			this->label23->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 584 | 			this->label23->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 585 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 586 | 			this->label23->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 587 | 			this->label23->Name = L"label23";
 | 
        
           |  |  | 588 | 			this->label23->Size = System::Drawing::Size(175, 21);
 | 
        
           |  |  | 589 | 			this->label23->TabIndex = 0;
 | 
        
           |  |  | 590 | 			this->label23->Text = L"Rudder Extensions";
 | 
        
           |  |  | 591 | 			this->label23->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 592 | 			// 
 | 
        
           |  |  | 593 | 			// panel32
 | 
        
           |  |  | 594 | 			// 
 | 
        
           |  |  | 595 | 			this->panel32->Controls->Add(this->NumRotAccel);
 | 
        
           |  |  | 596 | 			this->panel32->Controls->Add(this->label44);
 | 
        
           |  |  | 597 | 			this->panel32->Dock = System::Windows::Forms::DockStyle::Bottom;
 | 
        
           |  |  | 598 | 			this->panel32->Location = System::Drawing::Point(3, 175);
 | 
        
           |  |  | 599 | 			this->panel32->Name = L"panel32";
 | 
        
           |  |  | 600 | 			this->panel32->Padding = System::Windows::Forms::Padding(5);
 | 
        
           |  |  | 601 | 			this->panel32->Size = System::Drawing::Size(543, 32);
 | 
        
           |  |  | 602 | 			this->panel32->TabIndex = 10;
 | 
        
           |  |  | 603 | 			// 
 | 
        
           |  |  | 604 | 			// NumRotAccel
 | 
        
           |  |  | 605 | 			// 
 | 
        
           |  |  | 606 | 			this->NumRotAccel->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 607 | 			this->NumRotAccel->Location = System::Drawing::Point(180, 5);
 | 
        
           |  |  | 608 | 			this->NumRotAccel->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10000, 0, 0, 0});
 | 
        
           |  |  | 609 | 			this->NumRotAccel->Name = L"NumRotAccel";
 | 
        
           |  |  | 610 | 			this->NumRotAccel->Size = System::Drawing::Size(118, 20);
 | 
        
           |  |  | 611 | 			this->NumRotAccel->TabIndex = 1;
 | 
        
           |  |  | 612 | 			this->NumRotAccel->ThousandsSeparator = true;
 | 
        
           |  |  | 613 | 			this->NumRotAccel->ValueChanged += gcnew System::EventHandler(this, &CustomisePerformance::NumRotAccel_ValueChanged);
 | 
        
           |  |  | 614 | 			// 
 | 
        
           |  |  | 615 | 			// label44
 | 
        
           |  |  | 616 | 			// 
 | 
        
           |  |  | 617 | 			this->label44->Dock = System::Windows::Forms::DockStyle::Left;
 | 
        
           |  |  | 618 | 			this->label44->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 619 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 620 | 			this->label44->Location = System::Drawing::Point(5, 5);
 | 
        
           |  |  | 621 | 			this->label44->Name = L"label44";
 | 
        
           |  |  | 622 | 			this->label44->Size = System::Drawing::Size(175, 22);
 | 
        
           |  |  | 623 | 			this->label44->TabIndex = 0;
 | 
        
           |  |  | 624 | 			this->label44->Text = L"Rotation Acceleration";
 | 
        
           |  |  | 625 | 			this->label44->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 626 | 			// 
 | 
        
           |  |  | 627 | 			// groupBox4
 | 
        
           |  |  | 628 | 			// 
 | 
        
           |  |  | 629 | 			this->groupBox4->Controls->Add(this->tableLayoutPanel3);
 | 
        
           |  |  | 630 | 			this->groupBox4->Dock = System::Windows::Forms::DockStyle::Top;
 | 
        
           |  |  | 631 | 			this->groupBox4->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 632 | 			this->groupBox4->Name = L"groupBox4";
 | 
        
           |  |  | 633 | 			this->groupBox4->Size = System::Drawing::Size(549, 154);
 | 
        
           |  |  | 634 | 			this->groupBox4->TabIndex = 2;
 | 
        
           |  |  | 635 | 			this->groupBox4->TabStop = false;
 | 
        
           |  |  | 636 | 			this->groupBox4->Text = L"Speed";
 | 
        
           |  |  | 637 | 			// 
 | 
        
           |  |  | 638 | 			// tableLayoutPanel3
 | 
        
           |  |  | 639 | 			// 
 | 
        
           |  |  | 640 | 			this->tableLayoutPanel3->ColumnCount = 3;
 | 
        
           |  |  | 641 | 			this->tableLayoutPanel3->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent, 
 | 
        
           |  |  | 642 | 				33.33333F)));
 | 
        
           |  |  | 643 | 			this->tableLayoutPanel3->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent, 
 | 
        
           |  |  | 644 | 				33.33334F)));
 | 
        
           |  |  | 645 | 			this->tableLayoutPanel3->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent, 
 | 
        
           |  |  | 646 | 				33.33334F)));
 | 
        
           |  |  | 647 | 			this->tableLayoutPanel3->Controls->Add(this->NumSpeedMax, 1, 2);
 | 
        
           |  |  | 648 | 			this->tableLayoutPanel3->Controls->Add(this->label22, 0, 2);
 | 
        
           |  |  | 649 | 			this->tableLayoutPanel3->Controls->Add(this->label21, 0, 3);
 | 
        
           |  |  | 650 | 			this->tableLayoutPanel3->Controls->Add(this->label20, 0, 1);
 | 
        
           |  |  | 651 | 			this->tableLayoutPanel3->Controls->Add(this->NumSpeedAccel, 1, 3);
 | 
        
           |  |  | 652 | 			this->tableLayoutPanel3->Controls->Add(this->NumSpeedExt, 1, 1);
 | 
        
           |  |  | 653 | 			this->tableLayoutPanel3->Controls->Add(this->panel13, 2, 3);
 | 
        
           |  |  | 654 | 			this->tableLayoutPanel3->Controls->Add(this->panel12, 2, 2);
 | 
        
           |  |  | 655 | 			this->tableLayoutPanel3->Controls->Add(this->panel11, 2, 0);
 | 
        
           |  |  | 656 | 			this->tableLayoutPanel3->Controls->Add(this->NumSpeedMin, 1, 0);
 | 
        
           |  |  | 657 | 			this->tableLayoutPanel3->Controls->Add(this->label19, 0, 0);
 | 
        
           |  |  | 658 | 			this->tableLayoutPanel3->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 659 | 			this->tableLayoutPanel3->Location = System::Drawing::Point(3, 16);
 | 
        
           |  |  | 660 | 			this->tableLayoutPanel3->Name = L"tableLayoutPanel3";
 | 
        
           |  |  | 661 | 			this->tableLayoutPanel3->RowCount = 4;
 | 
        
           |  |  | 662 | 			this->tableLayoutPanel3->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 25)));
 | 
        
           |  |  | 663 | 			this->tableLayoutPanel3->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 25)));
 | 
        
           |  |  | 664 | 			this->tableLayoutPanel3->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 25)));
 | 
        
           |  |  | 665 | 			this->tableLayoutPanel3->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 25)));
 | 
        
           |  |  | 666 | 			this->tableLayoutPanel3->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Absolute, 20)));
 | 
        
           |  |  | 667 | 			this->tableLayoutPanel3->Size = System::Drawing::Size(543, 135);
 | 
        
           |  |  | 668 | 			this->tableLayoutPanel3->TabIndex = 0;
 | 
        
           |  |  | 669 | 			// 
 | 
        
           |  |  | 670 | 			// NumSpeedMax
 | 
        
           |  |  | 671 | 			// 
 | 
        
           |  |  | 672 | 			this->NumSpeedMax->AutoSize = true;
 | 
        
           |  |  | 673 | 			this->NumSpeedMax->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 674 | 			this->NumSpeedMax->Enabled = false;
 | 
        
           |  |  | 675 | 			this->NumSpeedMax->Location = System::Drawing::Point(183, 69);
 | 
        
           |  |  | 676 | 			this->NumSpeedMax->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {200000000, 0, 0, 0});
 | 
        
           |  |  | 677 | 			this->NumSpeedMax->Name = L"NumSpeedMax";
 | 
        
           |  |  | 678 | 			this->NumSpeedMax->ReadOnly = true;
 | 
        
           |  |  | 679 | 			this->NumSpeedMax->Size = System::Drawing::Size(175, 20);
 | 
        
           |  |  | 680 | 			this->NumSpeedMax->TabIndex = 12;
 | 
        
           |  |  | 681 | 			this->NumSpeedMax->TabStop = false;
 | 
        
           |  |  | 682 | 			this->NumSpeedMax->ThousandsSeparator = true;
 | 
        
           |  |  | 683 | 			this->NumSpeedMax->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
 | 
        
           |  |  | 684 | 			this->NumSpeedMax->ValueChanged += gcnew System::EventHandler(this, &CustomisePerformance::NumSpeedMax_ValueChanged);
 | 
        
           |  |  | 685 | 			// 
 | 
        
           |  |  | 686 | 			// label22
 | 
        
           |  |  | 687 | 			// 
 | 
        
           |  |  | 688 | 			this->label22->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 689 | 			this->label22->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 690 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 691 | 			this->label22->Location = System::Drawing::Point(3, 66);
 | 
        
           |  |  | 692 | 			this->label22->Name = L"label22";
 | 
        
           |  |  | 693 | 			this->label22->Size = System::Drawing::Size(174, 33);
 | 
        
           |  |  | 694 | 			this->label22->TabIndex = 11;
 | 
        
           |  |  | 695 | 			this->label22->Text = L"Maximum";
 | 
        
           |  |  | 696 | 			this->label22->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 697 | 			// 
 | 
        
           |  |  | 698 | 			// label21
 | 
        
           |  |  | 699 | 			// 
 | 
        
           |  |  | 700 | 			this->label21->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 701 | 			this->label21->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 702 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 703 | 			this->label21->Location = System::Drawing::Point(3, 99);
 | 
        
           |  |  | 704 | 			this->label21->Name = L"label21";
 | 
        
           |  |  | 705 | 			this->label21->Size = System::Drawing::Size(174, 36);
 | 
        
           |  |  | 706 | 			this->label21->TabIndex = 10;
 | 
        
           |  |  | 707 | 			this->label21->Text = L"Acceleration";
 | 
        
           |  |  | 708 | 			this->label21->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 709 | 			// 
 | 
        
           |  |  | 710 | 			// label20
 | 
        
           |  |  | 711 | 			// 
 | 
        
           |  |  | 712 | 			this->label20->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 713 | 			this->label20->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 714 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 715 | 			this->label20->Location = System::Drawing::Point(3, 33);
 | 
        
           |  |  | 716 | 			this->label20->Name = L"label20";
 | 
        
           |  |  | 717 | 			this->label20->Size = System::Drawing::Size(174, 33);
 | 
        
           |  |  | 718 | 			this->label20->TabIndex = 9;
 | 
        
           |  |  | 719 | 			this->label20->Text = L"Speed Extensions";
 | 
        
           |  |  | 720 | 			this->label20->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 721 | 			// 
 | 
        
           |  |  | 722 | 			// NumSpeedAccel
 | 
        
           |  |  | 723 | 			// 
 | 
        
           |  |  | 724 | 			this->NumSpeedAccel->AutoSize = true;
 | 
        
           |  |  | 725 | 			this->NumSpeedAccel->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 726 | 			this->NumSpeedAccel->Location = System::Drawing::Point(183, 102);
 | 
        
           |  |  | 727 | 			this->NumSpeedAccel->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {200000000, 0, 0, 0});
 | 
        
           |  |  | 728 | 			this->NumSpeedAccel->Name = L"NumSpeedAccel";
 | 
        
           |  |  | 729 | 			this->NumSpeedAccel->Size = System::Drawing::Size(175, 20);
 | 
        
           |  |  | 730 | 			this->NumSpeedAccel->TabIndex = 6;
 | 
        
           |  |  | 731 | 			this->NumSpeedAccel->ThousandsSeparator = true;
 | 
        
           |  |  | 732 | 			this->NumSpeedAccel->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
 | 
        
           |  |  | 733 | 			this->NumSpeedAccel->ValueChanged += gcnew System::EventHandler(this, &CustomisePerformance::NumSpeedAccel_ValueChanged);
 | 
        
           |  |  | 734 | 			// 
 | 
        
           |  |  | 735 | 			// NumSpeedExt
 | 
        
           |  |  | 736 | 			// 
 | 
        
           |  |  | 737 | 			this->NumSpeedExt->AutoSize = true;
 | 
        
           |  |  | 738 | 			this->NumSpeedExt->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 739 | 			this->NumSpeedExt->Location = System::Drawing::Point(183, 36);
 | 
        
           |  |  | 740 | 			this->NumSpeedExt->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {200000, 0, 0, 0});
 | 
        
           |  |  | 741 | 			this->NumSpeedExt->Name = L"NumSpeedExt";
 | 
        
           |  |  | 742 | 			this->NumSpeedExt->Size = System::Drawing::Size(175, 20);
 | 
        
           |  |  | 743 | 			this->NumSpeedExt->TabIndex = 5;
 | 
        
           |  |  | 744 | 			this->NumSpeedExt->ThousandsSeparator = true;
 | 
        
           |  |  | 745 | 			this->NumSpeedExt->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
 | 
        
           |  |  | 746 | 			this->NumSpeedExt->ValueChanged += gcnew System::EventHandler(this, &CustomisePerformance::NumSpeedExt_ValueChanged);
 | 
        
           |  |  | 747 | 			// 
 | 
        
           |  |  | 748 | 			// panel13
 | 
        
           |  |  | 749 | 			// 
 | 
        
           |  |  | 750 | 			this->panel13->AutoSize = true;
 | 
        
           |  |  | 751 | 			this->panel13->Controls->Add(this->TextSpeedAccel);
 | 
        
           |  |  | 752 | 			this->panel13->Controls->Add(this->label18);
 | 
        
           |  |  | 753 | 			this->panel13->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 754 | 			this->panel13->Location = System::Drawing::Point(364, 102);
 | 
        
           |  |  | 755 | 			this->panel13->Name = L"panel13";
 | 
        
           |  |  | 756 | 			this->panel13->Size = System::Drawing::Size(176, 30);
 | 
        
           |  |  | 757 | 			this->panel13->TabIndex = 3;
 | 
        
           |  |  | 758 | 			// 
 | 
        
           |  |  | 759 | 			// TextSpeedAccel
 | 
        
           |  |  | 760 | 			// 
 | 
        
           |  |  | 761 | 			this->TextSpeedAccel->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 762 | 			this->TextSpeedAccel->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 763 | 			this->TextSpeedAccel->Name = L"TextSpeedAccel";
 | 
        
           |  |  | 764 | 			this->TextSpeedAccel->ReadOnly = true;
 | 
        
           |  |  | 765 | 			this->TextSpeedAccel->Size = System::Drawing::Size(151, 20);
 | 
        
           |  |  | 766 | 			this->TextSpeedAccel->TabIndex = 1;
 | 
        
           |  |  | 767 | 			// 
 | 
        
           |  |  | 768 | 			// label18
 | 
        
           |  |  | 769 | 			// 
 | 
        
           |  |  | 770 | 			this->label18->Dock = System::Windows::Forms::DockStyle::Right;
 | 
        
           |  |  | 771 | 			this->label18->Location = System::Drawing::Point(151, 0);
 | 
        
           |  |  | 772 | 			this->label18->Name = L"label18";
 | 
        
           |  |  | 773 | 			this->label18->Size = System::Drawing::Size(25, 30);
 | 
        
           |  |  | 774 | 			this->label18->TabIndex = 0;
 | 
        
           |  |  | 775 | 			this->label18->Text = L"m/s";
 | 
        
           |  |  | 776 | 			this->label18->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
 | 
        
           |  |  | 777 | 			// 
 | 
        
           |  |  | 778 | 			// panel12
 | 
        
           |  |  | 779 | 			// 
 | 
        
           |  |  | 780 | 			this->panel12->AutoSize = true;
 | 
        
           |  |  | 781 | 			this->panel12->Controls->Add(this->TextSpeedMax);
 | 
        
           |  |  | 782 | 			this->panel12->Controls->Add(this->label17);
 | 
        
           |  |  | 783 | 			this->panel12->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 784 | 			this->panel12->Location = System::Drawing::Point(364, 69);
 | 
        
           |  |  | 785 | 			this->panel12->Name = L"panel12";
 | 
        
           |  |  | 786 | 			this->panel12->Size = System::Drawing::Size(176, 27);
 | 
        
           |  |  | 787 | 			this->panel12->TabIndex = 2;
 | 
        
           |  |  | 788 | 			// 
 | 
        
           |  |  | 789 | 			// TextSpeedMax
 | 
        
           |  |  | 790 | 			// 
 | 
        
           |  |  | 791 | 			this->TextSpeedMax->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 792 | 			this->TextSpeedMax->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 793 | 			this->TextSpeedMax->Name = L"TextSpeedMax";
 | 
        
           |  |  | 794 | 			this->TextSpeedMax->ReadOnly = true;
 | 
        
           |  |  | 795 | 			this->TextSpeedMax->Size = System::Drawing::Size(151, 20);
 | 
        
           |  |  | 796 | 			this->TextSpeedMax->TabIndex = 1;
 | 
        
           |  |  | 797 | 			// 
 | 
        
           |  |  | 798 | 			// label17
 | 
        
           |  |  | 799 | 			// 
 | 
        
           |  |  | 800 | 			this->label17->Dock = System::Windows::Forms::DockStyle::Right;
 | 
        
           |  |  | 801 | 			this->label17->Location = System::Drawing::Point(151, 0);
 | 
        
           |  |  | 802 | 			this->label17->Name = L"label17";
 | 
        
           |  |  | 803 | 			this->label17->Size = System::Drawing::Size(25, 27);
 | 
        
           |  |  | 804 | 			this->label17->TabIndex = 0;
 | 
        
           |  |  | 805 | 			this->label17->Text = L"m/s";
 | 
        
           |  |  | 806 | 			this->label17->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
 | 
        
           |  |  | 807 | 			// 
 | 
        
           |  |  | 808 | 			// panel11
 | 
        
           |  |  | 809 | 			// 
 | 
        
           |  |  | 810 | 			this->panel11->AutoSize = true;
 | 
        
           |  |  | 811 | 			this->panel11->Controls->Add(this->TextSpeedMin);
 | 
        
           |  |  | 812 | 			this->panel11->Controls->Add(this->label16);
 | 
        
           |  |  | 813 | 			this->panel11->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 814 | 			this->panel11->Location = System::Drawing::Point(364, 3);
 | 
        
           |  |  | 815 | 			this->panel11->Name = L"panel11";
 | 
        
           |  |  | 816 | 			this->panel11->Size = System::Drawing::Size(176, 27);
 | 
        
           |  |  | 817 | 			this->panel11->TabIndex = 1;
 | 
        
           |  |  | 818 | 			// 
 | 
        
           |  |  | 819 | 			// TextSpeedMin
 | 
        
           |  |  | 820 | 			// 
 | 
        
           |  |  | 821 | 			this->TextSpeedMin->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 822 | 			this->TextSpeedMin->Location = System::Drawing::Point(0, 0);
 | 
        
           |  |  | 823 | 			this->TextSpeedMin->Name = L"TextSpeedMin";
 | 
        
           |  |  | 824 | 			this->TextSpeedMin->Size = System::Drawing::Size(151, 20);
 | 
        
           |  |  | 825 | 			this->TextSpeedMin->TabIndex = 1;
 | 
        
           |  |  | 826 | 			this->TextSpeedMin->TextChanged += gcnew System::EventHandler(this, &CustomisePerformance::TextSpeedMin_TextChanged);
 | 
        
           |  |  | 827 | 			// 
 | 
        
           |  |  | 828 | 			// label16
 | 
        
           |  |  | 829 | 			// 
 | 
        
           |  |  | 830 | 			this->label16->Dock = System::Windows::Forms::DockStyle::Right;
 | 
        
           |  |  | 831 | 			this->label16->Location = System::Drawing::Point(151, 0);
 | 
        
           |  |  | 832 | 			this->label16->Name = L"label16";
 | 
        
           |  |  | 833 | 			this->label16->Size = System::Drawing::Size(25, 27);
 | 
        
           |  |  | 834 | 			this->label16->TabIndex = 0;
 | 
        
           |  |  | 835 | 			this->label16->Text = L"m/s";
 | 
        
           |  |  | 836 | 			this->label16->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
 | 
        
           |  |  | 837 | 			// 
 | 
        
           |  |  | 838 | 			// NumSpeedMin
 | 
        
           |  |  | 839 | 			// 
 | 
        
           |  |  | 840 | 			this->NumSpeedMin->AutoSize = true;
 | 
        
           |  |  | 841 | 			this->NumSpeedMin->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 842 | 			this->NumSpeedMin->Location = System::Drawing::Point(183, 3);
 | 
        
           |  |  | 843 | 			this->NumSpeedMin->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {200000000, 0, 0, 0});
 | 
        
           |  |  | 844 | 			this->NumSpeedMin->Name = L"NumSpeedMin";
 | 
        
           |  |  | 845 | 			this->NumSpeedMin->Size = System::Drawing::Size(175, 20);
 | 
        
           |  |  | 846 | 			this->NumSpeedMin->TabIndex = 4;
 | 
        
           |  |  | 847 | 			this->NumSpeedMin->ThousandsSeparator = true;
 | 
        
           |  |  | 848 | 			this->NumSpeedMin->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
 | 
        
           |  |  | 849 | 			this->NumSpeedMin->ValueChanged += gcnew System::EventHandler(this, &CustomisePerformance::NumSpeedMin_ValueChanged);
 | 
        
           |  |  | 850 | 			// 
 | 
        
           |  |  | 851 | 			// label19
 | 
        
           |  |  | 852 | 			// 
 | 
        
           |  |  | 853 | 			this->label19->Dock = System::Windows::Forms::DockStyle::Fill;
 | 
        
           |  |  | 854 | 			this->label19->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
 | 
        
           |  |  | 855 | 				static_cast<System::Byte>(0)));
 | 
        
           |  |  | 856 | 			this->label19->Location = System::Drawing::Point(3, 0);
 | 
        
           |  |  | 857 | 			this->label19->Name = L"label19";
 | 
        
           |  |  | 858 | 			this->label19->Size = System::Drawing::Size(174, 33);
 | 
        
           |  |  | 859 | 			this->label19->TabIndex = 8;
 | 
        
           |  |  | 860 | 			this->label19->Text = L"Minimum";
 | 
        
           |  |  | 861 | 			this->label19->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
 | 
        
           |  |  | 862 | 			// 
 | 
        
           |  |  | 863 | 			// CustomisePerformance
 | 
        
           |  |  | 864 | 			// 
 | 
        
           |  |  | 865 | 			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
 | 
        
           |  |  | 866 | 			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
 | 
        
           |  |  | 867 | 			this->Controls->Add(this->groupBox5);
 | 
        
           |  |  | 868 | 			this->Controls->Add(this->groupBox4);
 | 
        
           |  |  | 869 | 			this->Name = L"CustomisePerformance";
 | 
        
           |  |  | 870 | 			this->Size = System::Drawing::Size(549, 587);
 | 
        
           |  |  | 871 | 			this->groupBox5->ResumeLayout(false);
 | 
        
           |  |  | 872 | 			this->tableLayoutPanel4->ResumeLayout(false);
 | 
        
           |  |  | 873 | 			this->tableLayoutPanel4->PerformLayout();
 | 
        
           |  |  | 874 | 			this->panel20->ResumeLayout(false);
 | 
        
           |  |  | 875 | 			this->panel19->ResumeLayout(false);
 | 
        
           |  |  | 876 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumRoll))->EndInit();
 | 
        
           |  |  | 877 | 			this->panel18->ResumeLayout(false);
 | 
        
           |  |  | 878 | 			this->panel17->ResumeLayout(false);
 | 
        
           |  |  | 879 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumPitch))->EndInit();
 | 
        
           |  |  | 880 | 			this->panel16->ResumeLayout(false);
 | 
        
           |  |  | 881 | 			this->panel15->ResumeLayout(false);
 | 
        
           |  |  | 882 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumYaw))->EndInit();
 | 
        
           |  |  | 883 | 			this->panel14->ResumeLayout(false);
 | 
        
           |  |  | 884 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumRudder))->EndInit();
 | 
        
           |  |  | 885 | 			this->panel32->ResumeLayout(false);
 | 
        
           |  |  | 886 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumRotAccel))->EndInit();
 | 
        
           |  |  | 887 | 			this->groupBox4->ResumeLayout(false);
 | 
        
           |  |  | 888 | 			this->tableLayoutPanel3->ResumeLayout(false);
 | 
        
           |  |  | 889 | 			this->tableLayoutPanel3->PerformLayout();
 | 
        
           |  |  | 890 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumSpeedMax))->EndInit();
 | 
        
           |  |  | 891 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumSpeedAccel))->EndInit();
 | 
        
           |  |  | 892 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumSpeedExt))->EndInit();
 | 
        
           |  |  | 893 | 			this->panel13->ResumeLayout(false);
 | 
        
           |  |  | 894 | 			this->panel13->PerformLayout();
 | 
        
           |  |  | 895 | 			this->panel12->ResumeLayout(false);
 | 
        
           |  |  | 896 | 			this->panel12->PerformLayout();
 | 
        
           |  |  | 897 | 			this->panel11->ResumeLayout(false);
 | 
        
           |  |  | 898 | 			this->panel11->PerformLayout();
 | 
        
           |  |  | 899 | 			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->NumSpeedMin))->EndInit();
 | 
        
           |  |  | 900 | 			this->ResumeLayout(false);
 | 
        
           |  |  | 901 |   | 
        
           |  |  | 902 | 		}
 | 
        
           |  |  | 903 | #pragma endregion
 | 
        
           |  |  | 904 | private: System::Void NumSpeedMin_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 905 | 			 if ( !m_bChangeSpeed ) 
 | 
        
           |  |  | 906 | 				this->TextSpeedMin->Text = SystemStringFromCyString(CyString::CreateFromFloat((float)Convert::ToDouble(this->NumSpeedMin->Value) / 500.0f, 3));
 | 
        
           |  |  | 907 | 			 this->NumSpeedMax->Value = Convert::ToInt32(this->NumSpeedMin->Value) + Convert::ToInt32((Convert::ToDouble(this->NumSpeedMin->Value) * 0.1f) * Convert::ToInt32(this->NumSpeedExt->Value));
 | 
        
           |  |  | 908 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 909 | 				 m_pShipData->iSpeed = Convert::ToInt32(this->NumSpeedMin->Value);
 | 
        
           |  |  | 910 | 		 }
 | 
        
           |  |  | 911 | private: System::Void NumSpeedMax_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 912 | 			 this->TextSpeedMax->Text = SystemStringFromCyString(CyString::CreateFromFloat((float)Convert::ToDouble(this->NumSpeedMax->Value) / 500.0f, 3));
 | 
        
           |  |  | 913 | 		 }
 | 
        
           |  |  | 914 | private: System::Void NumSpeedAccel_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 915 | 			 this->TextSpeedAccel->Text = SystemStringFromCyString(CyString::CreateFromFloat((float)Convert::ToDouble(this->NumSpeedAccel->Value) / 500.0f, 3));
 | 
        
           |  |  | 916 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 917 | 				m_pShipData->iAccel = Convert::ToInt32(this->NumSpeedAccel->Value);
 | 
        
           |  |  | 918 | 		 }
 | 
        
           |  |  | 919 | private: System::Void NumSpeedExt_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 920 | 			 this->NumSpeedMax->Value = Convert::ToInt32(this->NumSpeedMin->Value) + Convert::ToInt32((Convert::ToDouble(this->NumSpeedMin->Value) * 0.1f) * Convert::ToInt32(this->NumSpeedExt->Value));
 | 
        
           |  |  | 921 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 922 | 				m_pShipData->iSpeedExtension = Convert::ToInt32(this->NumSpeedExt->Value);
 | 
        
           |  |  | 923 | 		 }
 | 
        
           |  |  | 924 | private: System::Void NumRudder_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 925 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 926 | 				m_pShipData->iSteeringExtension = Convert::ToInt32(this->NumRudder->Value);
 | 
        
           |  |  | 927 | 		 }
 | 
        
           |  |  | 928 | private: System::Void NumYaw_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 929 | 			 if ( Convert::ToDouble(this->NumYaw->Value) <= 0.1f )
 | 
        
           |  |  | 930 | 				 this->TextYaw->Text = "0";
 | 
        
           |  |  | 931 | 			 else
 | 
        
           |  |  | 932 | 				 this->TextYaw->Text = Convert::ToString(Convert::ToDouble(this->NumYaw->Value) / 60.0);
 | 
        
           |  |  | 933 | 		 }
 | 
        
           |  |  | 934 | private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 935 | 			 Decimal dec = Decimal::Add(Convert::ToDecimal(this->NumYaw->Value), Decimal(1.0));
 | 
        
           |  |  | 936 | 			 if ( Decimal::Compare(dec, Decimal(60)) >= 0 )
 | 
        
           |  |  | 937 | 				this->NumYaw->Value = 60;
 | 
        
           |  |  | 938 | 			 else
 | 
        
           |  |  | 939 | 				 this->NumYaw->Value = dec;
 | 
        
           |  |  | 940 | 		 }
 | 
        
           |  |  | 941 | private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 942 | 			 Decimal dec = Decimal::Add(Convert::ToDecimal(this->NumYaw->Value), Decimal(10.0));
 | 
        
           |  |  | 943 | 			 if ( Decimal::Compare(dec, Decimal(60)) >= 0 )
 | 
        
           |  |  | 944 | 				this->NumYaw->Value = 60;
 | 
        
           |  |  | 945 | 			 else
 | 
        
           |  |  | 946 | 				 this->NumYaw->Value = dec;
 | 
        
           |  |  | 947 | 		 }
 | 
        
           |  |  | 948 | private: System::Void button5_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 949 | 			 Decimal dec = Decimal::Subtract(Convert::ToDecimal(this->NumYaw->Value), Decimal(1.0));
 | 
        
           |  |  | 950 | 			 if ( Decimal::Compare(dec, Decimal(0)) <= 0 )
 | 
        
           |  |  | 951 | 				this->NumYaw->Value = 0;
 | 
        
           |  |  | 952 | 			 else
 | 
        
           |  |  | 953 | 				 this->NumYaw->Value = dec;
 | 
        
           |  |  | 954 | 		 }
 | 
        
           |  |  | 955 | private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 956 | 			 Decimal dec = Decimal::Subtract(Convert::ToDecimal(this->NumYaw->Value), Decimal(10.0));
 | 
        
           |  |  | 957 | 			 if ( Decimal::Compare(dec, Decimal(0)) <= 0 )
 | 
        
           |  |  | 958 | 				this->NumYaw->Value = 0;
 | 
        
           |  |  | 959 | 			 else
 | 
        
           |  |  | 960 | 				 this->NumYaw->Value = dec;
 | 
        
           |  |  | 961 | 		 }
 | 
        
           |  |  | 962 | private: System::Void NumPitch_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 963 | 			 if ( Convert::ToDouble(this->NumPitch->Value) <= 0.1f )
 | 
        
           |  |  | 964 | 				 this->TextPitch->Text = "0";
 | 
        
           |  |  | 965 | 			 else
 | 
        
           |  |  | 966 | 				 this->TextPitch->Text = Convert::ToString(Convert::ToDouble(this->NumPitch->Value) / 60.0);
 | 
        
           |  |  | 967 | 		 }
 | 
        
           |  |  | 968 | private: System::Void button7_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 969 | 			 Decimal dec = Decimal::Add(Convert::ToDecimal(this->NumPitch->Value), Decimal(1.0));
 | 
        
           |  |  | 970 | 			 if ( Decimal::Compare(dec, Decimal(60)) >= 0 )
 | 
        
           |  |  | 971 | 				this->NumPitch->Value = 60;
 | 
        
           |  |  | 972 | 			 else
 | 
        
           |  |  | 973 | 				 this->NumPitch->Value = dec;
 | 
        
           |  |  | 974 | 		 }
 | 
        
           |  |  | 975 | private: System::Void button6_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 976 | 			 Decimal dec = Decimal::Add(Convert::ToDecimal(this->NumPitch->Value), Decimal(10.0));
 | 
        
           |  |  | 977 | 			 if ( Decimal::Compare(dec, Decimal(60)) >= 0 )
 | 
        
           |  |  | 978 | 				this->NumPitch->Value = 60;
 | 
        
           |  |  | 979 | 			 else
 | 
        
           |  |  | 980 | 				 this->NumPitch->Value = dec;
 | 
        
           |  |  | 981 | 		 }
 | 
        
           |  |  | 982 | private: System::Void button9_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 983 | 			 Decimal dec = Decimal::Subtract(Convert::ToDecimal(this->NumPitch->Value), Decimal(1.0));
 | 
        
           |  |  | 984 | 			 if ( Decimal::Compare(dec, Decimal(0)) <= 0 )
 | 
        
           |  |  | 985 | 				this->NumPitch->Value = 0;
 | 
        
           |  |  | 986 | 			 else
 | 
        
           |  |  | 987 | 				 this->NumPitch->Value = dec;
 | 
        
           |  |  | 988 | 		 }
 | 
        
           |  |  | 989 | private: System::Void button8_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 990 | 			 Decimal dec = Decimal::Subtract(Convert::ToDecimal(this->NumPitch->Value), Decimal(10.0));
 | 
        
           |  |  | 991 | 			 if ( Decimal::Compare(dec, Decimal(0)) <= 0 )
 | 
        
           |  |  | 992 | 				this->NumPitch->Value = 0;
 | 
        
           |  |  | 993 | 			 else
 | 
        
           |  |  | 994 | 				 this->NumPitch->Value = dec;
 | 
        
           |  |  | 995 | 		 }
 | 
        
           |  |  | 996 | private: System::Void TextYaw_TextChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 997 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 998 | 				m_pShipData->fRotX = (float)Convert::ToDouble(this->TextYaw->Text);
 | 
        
           |  |  | 999 | 		 }
 | 
        
           |  |  | 1000 | private: System::Void TextPitch_TextChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 1001 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 1002 | 				m_pShipData->fRotY = (float)Convert::ToDouble(this->TextPitch->Text);
 | 
        
           |  |  | 1003 | 		 }
 | 
        
           |  |  | 1004 | private: System::Void NumRoll_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 1005 | 			 if ( Convert::ToDouble(this->NumRoll->Value) <= 0.1f )
 | 
        
           |  |  | 1006 | 				 this->TextRoll->Text = "0";
 | 
        
           |  |  | 1007 | 			 else
 | 
        
           |  |  | 1008 | 				 this->TextRoll->Text = Convert::ToString(Convert::ToDouble(this->NumRoll->Value) / 60.0);
 | 
        
           |  |  | 1009 | 		 }
 | 
        
           |  |  | 1010 | private: System::Void TextRoll_TextChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 1011 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 1012 | 				m_pShipData->fRotZ = (float)Convert::ToDouble(this->TextRoll->Text);
 | 
        
           |  |  | 1013 | 		 }
 | 
        
           |  |  | 1014 | private: System::Void button11_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 1015 | 			 Decimal dec = Decimal::Add(Convert::ToDecimal(this->NumRoll->Value), Decimal(1.0));
 | 
        
           |  |  | 1016 | 			 if ( Decimal::Compare(dec, Decimal(60)) >= 0 )
 | 
        
           |  |  | 1017 | 				this->NumRoll->Value = 60;
 | 
        
           |  |  | 1018 | 			 else
 | 
        
           |  |  | 1019 | 				 this->NumRoll->Value = dec;
 | 
        
           |  |  | 1020 | 		 }
 | 
        
           |  |  | 1021 | private: System::Void button10_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 1022 | 			 Decimal dec = Decimal::Add(Convert::ToDecimal(this->NumRoll->Value), Decimal(10.0));
 | 
        
           |  |  | 1023 | 			 if ( Decimal::Compare(dec, Decimal(60)) >= 0 )
 | 
        
           |  |  | 1024 | 				this->NumRoll->Value = 60;
 | 
        
           |  |  | 1025 | 			 else
 | 
        
           |  |  | 1026 | 				 this->NumRoll->Value = dec;
 | 
        
           |  |  | 1027 | 		 }
 | 
        
           |  |  | 1028 | private: System::Void button13_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 1029 | 			 Decimal dec = Decimal::Subtract(Convert::ToDecimal(this->NumRoll->Value), Decimal(1.0));
 | 
        
           |  |  | 1030 | 			 if ( Decimal::Compare(dec, Decimal(0)) <= 0 )
 | 
        
           |  |  | 1031 | 				this->NumRoll->Value = 0;
 | 
        
           |  |  | 1032 | 			 else
 | 
        
           |  |  | 1033 | 				 this->NumRoll->Value = dec;
 | 
        
           |  |  | 1034 | 		 }
 | 
        
           |  |  | 1035 | private: System::Void button12_Click(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 1036 | 			 Decimal dec = Decimal::Subtract(Convert::ToDecimal(this->NumRoll->Value), Decimal(10.0));
 | 
        
           |  |  | 1037 | 			 if ( Decimal::Compare(dec, Decimal(0)) <= 0 )
 | 
        
           |  |  | 1038 | 				this->NumRoll->Value = 0;
 | 
        
           |  |  | 1039 | 			 else
 | 
        
           |  |  | 1040 | 				 this->NumRoll->Value = dec;
 | 
        
           |  |  | 1041 | 		 }
 | 
        
           |  |  | 1042 | private: System::Void NumRotAccel_ValueChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 1043 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 1044 | 				m_pShipData->iRotationAccel = Convert::ToInt32(this->NumRotAccel->Value);
 | 
        
           |  |  | 1045 | 		 }
 | 
        
           |  |  | 1046 | private: System::Void TextSpeedMin_TextChanged(System::Object^  sender, System::EventArgs^  e) {
 | 
        
           |  |  | 1047 | 			 if ( !m_bUpdateing )
 | 
        
           |  |  | 1048 | 			 {
 | 
        
           |  |  | 1049 | 				 m_bChangeSpeed = true;
 | 
        
           |  |  | 1050 | 				 if ( this->TextSpeedMin->Text->Length && CyStringFromSystemString(this->TextSpeedMin->Text).IsNumber() )
 | 
        
           |  |  | 1051 | 					this->NumSpeedMin->Value = Decimal::Multiply(Convert::ToDecimal(this->TextSpeedMin->Text), Decimal(500));
 | 
        
           |  |  | 1052 | 				 m_bChangeSpeed = false;
 | 
        
           |  |  | 1053 | 			 }
 | 
        
           |  |  | 1054 | 		 }
 | 
        
           |  |  | 1055 | };
 | 
        
           |  |  | 1056 | }
 |