Bound MainWindow button to create method

This commit is contained in:
2024-05-05 18:24:55 +02:00
parent a3f6121eda
commit 6250e1a472

View File

@@ -72,7 +72,7 @@
<UniformGrid Grid.Row="1" Rows="3"> <UniformGrid Grid.Row="1" Rows="3">
<Button Content="Delete selected" Command="{Binding DeleteCustomerCommand}"></Button> <Button Content="Delete selected" Command="{Binding DeleteCustomerCommand}"></Button>
<Button Content="Create new" Command="{Binding CreateCustomerCommand}"></Button> <Button Content="Create new" Click="CreateNewCustomer"></Button>
<Button Content="Expand all" Click="ExpandAllCustomers"/> <Button Content="Expand all" Click="ExpandAllCustomers"/>
</UniformGrid> </UniformGrid>
</Grid> </Grid>