private void Form1_FormClosing(object sender, FormClosingEventArgs e) { #region ThreadHandler mythread.Stop(); #endregion #region ArduinoHandler aduinodataconsumer.Stop(); myarduinohandler.StopAquisition(); arduinoBufferLabel.Stop(); #endregion #region ArduinoPlotter myArduinoPlotter.Finish(); #endregion }
public void Finish() { dataconsumer.Stop(); arduinoHandler.StopAquisition(); chartHandler.PlotterUpdater.Stop(); bufferLabelUpdater.Stop(); }