public ExercisePopupViewModel(ExersicePopup exersicePopup, NewTrainingViewModel newTrainingViewModel) { _ep = exersicePopup; _newTrainingViewModel = newTrainingViewModel; FillCollection(); CloseButtonClick = new Command(CloseButtonClickImpl); }
public TimerPopupViewModel(TimerPopup timerPopup, NewTrainingViewModel newTrainingViewModel, int sec) { _newTrainingViewModel = newTrainingViewModel; _tp = timerPopup; _seconds = sec; CloseClickCommand = new Command(CloseClickCommandImpl); TextToDisplay = sec.ToString(); ButtonText = "Zacznij"; }