1
0
forked from s434786/DINO_SCRUM
This commit is contained in:
Konrad Pierzyński 2019-01-16 23:24:11 +01:00
parent 566caf5554
commit c205c3d6ed

View File

@ -54,14 +54,14 @@ namespace Magazyn.Views
{
AmountWindow window = new AmountWindow(fruit, -1);
window.SaveChangingAmountOfFruits += WindowSaveChangingAmountOfFruits;
window.Show();
window.ShowDialog();
}
private void addButton_Click(object sender, RoutedEventArgs e)
{
AmountWindow window = new AmountWindow(fruit, 1);
window.SaveChangingAmountOfFruits += WindowSaveChangingAmountOfFruits;
window.Show();
window.ShowDialog();
}
private void WindowSaveChangingAmountOfFruits(int amountChanged)