public void PauseTimer()
 {
     time = recipeStepTimer.getSecondsLeft();
     recipeStepTimer.deactivate ();
     RecipeStepTimer newTimer = new RecipeStepTimer (time);
     newTimer.SetStepTextView (recipeStepTimer.GetStepTextView ());
     newTimer.SetBarTextView (recipeStepTimer.GetBarTextView ());
     newTimer.SetProgressBar (recipeStepTimer.GetProgressBar ());
     recipeStepTimer = newTimer;
 }
 public RecipeStepTimerHandler(int t, string s)
 {
     time = t;
     timerName = s;
     recipeStepTimer = new RecipeStepTimer (t);
 }