forked from s442333/DINO_SCRUM
Task: 51
This commit is contained in:
parent
566caf5554
commit
c205c3d6ed
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user