private void button8_Click(object sender, EventArgs e) { //update ssn 2 fuel amount try { _connection.UpdateObjectFuelAmount("SSN-2", 63); } catch (Exception ex) { UpdateTextBox(String.Format("Error Updating SSN-2's fuel amount: {0}", ex.Message)); } }