public bool WorkOn(float speed, ProgressBar progressBar) { currTask.LowerPercent(speed); progressBar.ChangeColor(CurrTask); progressBar.ChangeValue(currTask.percent); return(currTask.IsEnded()); }