Fixed missing buttons for deletion
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="9*" />
|
||||
<RowDefinition Height="1*" />
|
||||
<RowDefinition Height="8*" />
|
||||
<RowDefinition Height="2*" />
|
||||
</Grid.RowDefinitions>
|
||||
<ListBox ItemsSource="{Binding Customers}" Grid.Row="0" SelectedItem="{Binding SelectedCustomer}">
|
||||
<ListBox.ItemContainerStyle>
|
||||
@@ -68,8 +68,9 @@
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
|
||||
<UniformGrid Rows="2" Grid.Row="1">
|
||||
<UniformGrid Rows="3" Grid.Row="1">
|
||||
<Button Content="Edit selected" Command="{Binding UpdateCustomerCommand}"/>
|
||||
<Button Content="Delete selected" Command="{Binding DeleteCustomerCommand}"/>
|
||||
<Button Content="Create new" Click="CreateNewCustomer" />
|
||||
</UniformGrid>
|
||||
</Grid>
|
||||
|
||||
@@ -64,10 +64,11 @@
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
|
||||
<UniformGrid Rows="3" Grid.Row="1">
|
||||
<UniformGrid Rows="2" Grid.Row="1">
|
||||
<Button Content="Edit selected" Command="{Binding UpdateMaintainerTeamCommand}"/>
|
||||
<Button Content="Create new" Click="CreateNewMaintainerTeam" />
|
||||
<Button Content="Delete selected" Command="{Binding DeleteMaintainerTeamCommand}"/>
|
||||
<Button Content="Who works in this team" Command="{Binding GetColleaguesCommand}" />
|
||||
<Button Content="Create new" Click="CreateNewMaintainerTeam" />
|
||||
</UniformGrid>
|
||||
</Grid>
|
||||
</Window>
|
||||
@@ -86,11 +86,11 @@
|
||||
|
||||
<UniformGrid Rows="3" Grid.Row="1">
|
||||
<Button Content="Edit selected" Command="{Binding UpdateServiceCommand}"/>
|
||||
<Button Content="Create new" Click="CreateNewService" />
|
||||
<Button Content="Delete selected" Command="{Binding DeleteServiceCommand}"/>
|
||||
<Button Content="Get responsible employee" Command="{Binding GetResponsibleEmployeeCommand}"/>
|
||||
<Button Content="Get all maintainers" Command="{Binding GetMaintainersCommand}"/>
|
||||
<Button Content="Who uses this service" Command="{Binding GetUserCommand}"/>
|
||||
<Button Content="Create new" Click="CreateNewService" />
|
||||
</UniformGrid>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user