protected override void OnStop() { if (theController.IsRunning) { theController.Stop(); } }
private void btn_stop_Click(object sender, EventArgs e) { _thread.Stop(); }