Esempio n. 1
0
 private void Edit_Click(object sender, RoutedEventArgs e)
 {
     if (Model.SelectedProduct == null)
         return;
     var win = new RecipeWindow(Model.SelectedProduct);
     win.Show();
 }
Esempio n. 2
0
 private void Add_Click(object sender, RoutedEventArgs e)
 {
     var win = new RecipeWindow();
     win.Show();
 }