Projekte können erstellt und geladen werden
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
xmlns:viewmodel="clr-namespace:SewerStammGen.WPF.ViewModel"
|
||||
xmlns:controls="clr-namespace:SewerStammGen.WPF.Views.Controls"
|
||||
mc:Ignorable="d"
|
||||
Title="{Binding ApplicationTitle}" Height="450" Width="800">
|
||||
Title="{Binding ApplicationTitle}" Height="450" Width="800" FontSize="20"
|
||||
WindowState="Maximized"
|
||||
>
|
||||
<Window.Resources>
|
||||
<DataTemplate DataType="{x:Type viewmodel:HomeViewModel}">
|
||||
<view:HomeView />
|
||||
@@ -23,15 +25,23 @@
|
||||
<DataTemplate DataType="{x:Type viewmodel:ProjektListViewModel}">
|
||||
<view:ProjektListView />
|
||||
</DataTemplate>
|
||||
<DataTemplate DataType="{x:Type viewmodel:ProjektEditViewModel}">
|
||||
<view:ProjektEditView />
|
||||
</DataTemplate>
|
||||
</Window.Resources>
|
||||
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="200" />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<controls:UCMainWindowNavigationBar Grid.Column="0" />
|
||||
<ContentControl Grid.Column="1" Content="{Binding CurrentViewModel}" />
|
||||
<StatusBar Grid.Row="1" Grid.ColumnSpan="2">
|
||||
<StatusBarItem Content="{Binding Projektnummer}" />
|
||||
</StatusBar>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user