public void Begin() { string filePath = DownloadFileFromFtpAndReturnPathName(); SaveDatabase sd = new SaveDatabase(); sd.Begin(filePath, NotifyFtpComplete()); }
private void DatabasesListViewModelPropertyChangedHandler(object sender, System.ComponentModel.PropertyChangedEventArgs e) { if (e.PropertyName == nameof(DatabasesListViewModel.SelectedDatabase)) { OperateDatabase.RaiseCanExecuteChanged(); SaveDatabase.RaiseCanExecuteChanged(); } }
public UpdateJournalControl(HomeWindow window, Patient patient, Journal journal) { _homeWindow = window; _loadDatabase = new LoadDatabase(); _saveDatabase = new SaveDatabase(); _patient = patient; _journal = journal; }
public ExerciseControl(HomeWindow window) { _homeWindow = window; _loadDatabase = new LoadDatabase(); _saveDatabase = new SaveDatabase(); }
public TrainingReminderControl(HomeWindow homeWindow) { _homeWindow = homeWindow; _returnController = new ReturnController(_homeWindow); _saveDatabase = new SaveDatabase(); }