private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { ConveyorBasicController.stop(); }