Exemple #1
0
 private async void CreateRecipeButton_Click(object sender, RoutedEventArgs e)
 {
     this._navigationService.Navigate(ref this._createRecipe);
     var loadMedicinesService = new LoadMedicinesService(this._createRecipe.ViewModel);
     await loadMedicinesService.Load();
 }
Exemple #2
0
 private async void Medicines_PreviewMouseDown(object sender, MouseButtonEventArgs e)
 {
     this._navigationService.Navigate(ref this._medicines);
     var loadMedicinesService = new LoadMedicinesService(this._medicines.MedicinesViewModel);
     await loadMedicinesService.Load();
 }