Exemple #1
0
    public void Begin()
    {
        string filePath = DownloadFileFromFtpAndReturnPathName();

        SaveDatabase sd = new SaveDatabase();

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