Exemplo n.º 1
0
 private void btn_Stop_Click(object sender, EventArgs e)
 {
     tbx_Status.Text = "Stopping";
     _CswScheduleService.stop();
     tmr_Seconds.Stop();
     tbx_Status.Text = "Idle";
 }
Exemplo n.º 2
0
        }//OnStart()

        protected override void OnStop()
        {
            _CswScheduleService.stop();
        } //OnStop()