Esempio n. 1
0
 /// <summary>
 /// Завершает текущую задачу
 /// </summary>
 /// <param name="count">Объем задачи</param>
 public void TaskEnd()
 {
     if (IsCancel)
     {
         return;
     }
     Form.TaskDone();
     isTaskStart = false;
 }
Esempio n. 2
0
 private void EndProgress(FormProgressBar form)
 {
     form.Step = form.Count - form.Value;
     form.TaskDone();
 }