public void startConnection(String port) { startButton.Text = "Stop"; cboPorts.Enabled = false; if (port == "Local") { connection.openFake(); } else if (!connection.openSerial(port, ArduinoVersion)) { stopConnection(); } }