Zmiany #11

Merged
s434786 merged 12 commits from s434739/DINO_SCRUM:master into master 2019-01-21 20:50:33 +01:00
Showing only changes of commit c205c3d6ed - Show all commits

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)