public void Stop() { if (InnerRunner.IsRunning) { InnerRunner.Stop(); } }
private void ProgramForm_FormClosed(object sender, FormClosedEventArgs e) { InnerRunner.Stop(); }