protected virtual void ScheduleAddedCompleted(JobberEvent e) { try { if (OnScheduleAddedCompleted != null) { OnScheduleAddedCompleted.Invoke(this, e); } } catch { } }
private void OnScheduleAddedCompleted(object sender, JobberEvent e) { statusLeft.Text = string.Format("所有任务创建成功,队列总任务{0}个.", e.ScheduleCount); }