private void btnOpenArduinoIde_Click(object sender, EventArgs e) { var arduino = new ArduinoIDE { FirmwareDirectory = Configuration.GetInstance.NewFirmware, ArduinoDirectory = Configuration.GetInstance.ArduinoIde }; arduino.OpenArduinoWithMarlin(); }
private void btnOpenArduinoIde_Click(object sender, EventArgs e) { Configuration configuration = new Configuration(); var arduino = new ArduinoIDE { FirmwareDirectory = configuration.NewFirmware, ArduinoDirectory = configuration.ArduinoIde }; arduino.OpenArduinoWithMarlin(); }