Ejemplo n.º 1
0
 protected internal void SetTimeOff(Term timeOff, Term term)
 {
     if (TimeOff != null)
     {
         TimeBox.SetTime(timeOff, term.Start.Date, term.Start.AddDays(1).Date, (terms, success) =>
         {
             if (!success)
             {
                 Message.AppendLine(LanguageReader.GetValue("Shifts_BoxPairSwap_SetTimeOff"));
                 return;
             }
         }, true);
     }
 }