Fotodokumentation hinzugefügt
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
xmlns:nav="clr-namespace:DaSaSo.Domain.Enums;assembly=DaSaSo.Domain"
|
||||
xmlns:local="clr-namespace:DaSaSo.Wpf.Controls" xmlns:viewmodel="clr-namespace:DaSaSo.ViewModel;assembly=DaSaSo.ViewModel" d:DataContext="{d:DesignInstance Type=viewmodel:SewerMainListViewModel}"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="607.5" d:DesignWidth="200">
|
||||
d:DesignHeight="647.5" d:DesignWidth="200">
|
||||
<Grid>
|
||||
<StackPanel>
|
||||
<RadioButton Content="Stammdaten" Style="{StaticResource ToggleButtonList}" Command="{Binding UpdateCurrentSewerViewModelCommand}" CommandParameter="{x:Static nav:ESewerWindowViewType.SewerStammdaten}" Margin="20" />
|
||||
@@ -15,6 +15,7 @@
|
||||
<RadioButton Content="Schließen" Style="{StaticResource ToggleButtonList}" Command="{Binding CloseCommand}" Margin="20" />
|
||||
<RadioButton Content="{Binding Schaden.Distance,FallbackValue='Damage'}" Command="{Binding UpdateCurrentSewerViewModelCommand}" IsEnabled="{Binding CanSelectDamage}" CommandParameter="{x:Static nav:ESewerWindowViewType.SewerDamageEdit}" Style="{StaticResource ToggleButtonList}" Margin="20" />
|
||||
<RadioButton Content="Schlauchliner" Style="{StaticResource ToggleButtonList}" Command="{Binding UpdateCurrentSewerViewModelCommand}" CommandParameter="{x:Static nav:ESewerWindowViewType.SewerPipeLiner}" Margin="20" />
|
||||
<RadioButton Content="Fotodokumentation" Style="{StaticResource ToggleButtonList}" Command="{Binding UpdateCurrentSewerViewModelCommand}" CommandParameter="{x:Static nav:ESewerWindowViewType.SewerPictureDocumentation}" Margin="20" />
|
||||
</StackPanel>
|
||||
|
||||
|
||||
|
||||
@@ -114,6 +114,11 @@ namespace DaSaSo.Wpf.HostBuilders
|
||||
);
|
||||
});
|
||||
|
||||
services.AddTransient<CreateViewModel<SewerPictureDocumentationViewModel>>(services =>
|
||||
{
|
||||
return () => new SewerPictureDocumentationViewModel();
|
||||
});
|
||||
|
||||
services.AddTransient<CreateViewModel<ClientListViewModel>>(services =>
|
||||
{
|
||||
return () => new ClientListViewModel(
|
||||
@@ -130,7 +135,7 @@ namespace DaSaSo.Wpf.HostBuilders
|
||||
services.GetRequiredService<ISewerMainNavigator>(),
|
||||
services.GetRequiredService<IActualProject>(),
|
||||
services.GetRequiredService<IViewModelSewerMainFactory>(),
|
||||
services.GetRequiredService<ViewModelDelegateRenavigator<SewerObjectListViewModel>>(),
|
||||
services.GetRequiredService<ViewModelDelegateRenavigator<SewerObjectListViewModel>>(),
|
||||
services.GetRequiredService<ISewerObjectService>(),
|
||||
services.GetRequiredService<ISewerpointService>()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user