Inheritance: INotifyPropertyChanged
Esempio n. 1
0
        public EditTimer(MainViewModel viewModel, Guid selected)
        {
            this.viewModel = viewModel;
            InitializeComponent();

            DataContext = new EditTimerModel(viewModel.Gallifrey, selected);
        }
Esempio n. 2
0
        public EditTimer(ModelHelpers modelHelpers, Guid selected)
        {
            this.modelHelpers = modelHelpers;
            InitializeComponent();

            progressDialogHelper = new ProgressDialogHelper(modelHelpers.DialogContext);

            EditedTimerId = selected;
            DataContext = new EditTimerModel(modelHelpers.Gallifrey, EditedTimerId);
        }