public DelegateContainer(AcTaskDelegate newPartDele, AcTaskDelegate refreshDele, AcTaskDelegate tipTextDele, AcTaskDelegate newTaskDele) { NewPart += newPartDele; Refresh += refreshDele; TipText += tipTextDele; NewTask += newTaskDele; }
public UIDelegateContainer(AcTaskDelegate startDele, AcTaskDelegate newPartDele, AcTaskDelegate refreshDele, AcTaskDelegate tipTextDele, AcTaskDelegate finishDele, AcTaskDelegate errorDele, AcTaskDelegate newTaskDele) : base(newPartDele, refreshDele, tipTextDele, newTaskDele) { Start += startDele; Finish += finishDele; Error += errorDele; }
public UIDelegateContainer(AcTaskDelegate startDele, AcTaskDelegate newPartDele, AcTaskDelegate refreshDele, AcTaskDelegate tipTextDele, AcTaskDelegate finishDele, AcTaskDelegate errorDele, AcTaskDelegate newTaskDele, AcTaskDelegate allFinishedDele) : base(newPartDele, refreshDele, tipTextDele, newTaskDele) { Start += startDele; Finish += finishDele; Error += errorDele; AllFinished += allFinishedDele; }