private void btn_Stop_Click(object sender, EventArgs e) { tbx_Status.Text = "Stopping"; _CswScheduleService.stop(); tmr_Seconds.Stop(); tbx_Status.Text = "Idle"; }
}//OnStart() protected override void OnStop() { _CswScheduleService.stop(); } //OnStop()