diff --git a/Apollon.WPF/MainWindow.xaml b/Apollon.WPF/MainWindow.xaml index 954819e..0bec6be 100644 --- a/Apollon.WPF/MainWindow.xaml +++ b/Apollon.WPF/MainWindow.xaml @@ -3,7 +3,10 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:local="clr-namespace:Apollon.WPF" xmlns:views="clr-namespace:Apollon.WPF.Views" + xmlns:local="clr-namespace:Apollon.WPF" + xmlns:views="clr-namespace:Apollon.WPF.Views" + xmlns:vms="clr-namespace:Apollon.WPF.ViewModels" + xmlns:custom="clr-namespace:ModalControl;assembly=ModalControl" mc:Ignorable="d" Title="Apollon Auswertung Bogen" Height="680" @@ -13,6 +16,11 @@ AllowsTransparency="True" WindowStyle="None" ResizeMode="CanResizeWithGrip"> + + + + + @@ -20,6 +28,11 @@ + + + + + - + + \ No newline at end of file diff --git a/Apollon.WPF/ViewModels/MainViewModel.cs b/Apollon.WPF/ViewModels/MainViewModel.cs index c3d07bf..1609bb1 100644 --- a/Apollon.WPF/ViewModels/MainViewModel.cs +++ b/Apollon.WPF/ViewModels/MainViewModel.cs @@ -21,6 +21,8 @@ namespace Apollon.WPF.ViewModels OverviewViewModel = overviewViewModel; _modalNavigationStore.CurrentViewModelChanged += ModalNavigationStore_CurrentViewModelChanged; + + //_modalNavigationStore.CurrentViewModel = new AddTournametViewModel(); } protected override void Dispose() diff --git a/Apollon.WPF/Views/AddTournamentView.xaml b/Apollon.WPF/Views/AddTournamentView.xaml index 6a8b098..5c67bdb 100644 --- a/Apollon.WPF/Views/AddTournamentView.xaml +++ b/Apollon.WPF/Views/AddTournamentView.xaml @@ -3,17 +3,16 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:local="clr-namespace:Apollon.WPF.Views" xmlns:components="clr-namespace:Apollon.WPF.Views.Components" - mc:Ignorable="d" - d:DesignHeight="450" d:DesignWidth="800"> + xmlns:local="clr-namespace:Apollon.WPF.Views" + xmlns:components="clr-namespace:Apollon.WPF.Views.Components" + mc:Ignorable="d"> - - + Foreground="#0000a0"/> + diff --git a/Apollon.WPF/Views/AddTournamentView.xaml.cs b/Apollon.WPF/Views/AddTournamentView.xaml.cs index 2a32612..bc14985 100644 --- a/Apollon.WPF/Views/AddTournamentView.xaml.cs +++ b/Apollon.WPF/Views/AddTournamentView.xaml.cs @@ -24,5 +24,6 @@ namespace Apollon.WPF.Views { InitializeComponent(); } + } } diff --git a/Apollon.WPF/Views/Components/AddEditDetails.xaml b/Apollon.WPF/Views/Components/AddEditDetails.xaml index cebf2d3..2750de6 100644 --- a/Apollon.WPF/Views/Components/AddEditDetails.xaml +++ b/Apollon.WPF/Views/Components/AddEditDetails.xaml @@ -4,85 +4,113 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:Apollon.WPF.Views.Components" - mc:Ignorable="d" - d:DesignHeight="450" d:DesignWidth="800"> - - - - - - - - - - + mc:Ignorable="d"> + + + + + + + + + + + + + + + - - - - - - - - - - - + Style="{StaticResource ModalTextBlock}"/> + + + + + - - - - - + - - + FontSize="16" + Height="30" + VerticalContentAlignment="Center" + Background="LightGray"/> + + + + + + + + + + + + +