Пример #1
0
 /// <summary>
 /// Cancel a specific save
 /// </summary>
 /// <param name="_nb">Index of the work in the list</param>
 public void CancelSave(int _nb)
 {
     lock (sync)
     {
         if (WorkList[_nb].Progress != null)
         {
             WorkList[_nb].Progress.Cancelled = true;
             EditLog.SaveCancelled(_nb);
         }
     }
 }