stand 06.11.2022

This commit is contained in:
Natlinux
2022-11-06 21:21:20 +01:00
parent 38a5d57b25
commit a18158806c
12 changed files with 85 additions and 26 deletions

View File

@@ -46,7 +46,7 @@
<Style TargetType="TextBlock">
<Setter Property="Visibility" Value="Hidden"/>
<Style.Triggers>
<DataTrigger Binding="{Binding HasSelectedTournament}" Value="True">
<DataTrigger Binding="{Binding HasSelectedTournament}" Value="True">
<Setter Property="Visibility" Value="Visible"/>
</DataTrigger>
</Style.Triggers>

View File

@@ -62,6 +62,15 @@
Margin="40"
Cursor="Hand"
Command="{Binding AddTournamentCommand}"/>
<Button Style="{StaticResource ModernButton}"
Content="Namenliste pflegen"
FontSize="16"
Height="40"
Width="210"
Margin="40"
Cursor="Hand"
Command="{Binding NavigateNameListCommand}"/>
</StackPanel>
<Grid Grid.Column="1"

View File

@@ -0,0 +1,15 @@
<UserControl x:Class="Apollon.WPF.Views.RootdatesView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<TextBlock Text="Stammdaten"
FontSize="30"
TextAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</UserControl>

View File

@@ -16,11 +16,11 @@ using System.Windows.Shapes;
namespace Apollon.WPF.Views
{
/// <summary>
/// Interaction logic for NavBarView.xaml
/// Interaction logic for NameListView.xaml
/// </summary>
public partial class NavBarView : UserControl
public partial class RootdatesView : UserControl
{
public NavBarView()
public RootdatesView()
{
InitializeComponent();
}

View File

@@ -1,14 +1,14 @@
<UserControl x:Class="Apollon.WPF.Views.NavBarView"
<UserControl x:Class="Apollon.WPF.Views.TournamentDetailsView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
xmlns:local="clr-namespace:Apollon.WPF.Views"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid Margin="45">
<Grid Margin="50">
<Grid.RowDefinitions>
<RowDefinition Height="100"/>
<RowDefinition/>
@@ -31,17 +31,6 @@
Foreground="#0000a0"/>
</Button>
<components:TournamentDetails Grid.Column="1"/>
<StackPanel Grid.Row="1">
<Button Height="45"
Background="Transparent"/>
<Button Height="45"
Background="Transparent"/>
<Button Height="45"
Background="Transparent"/>
<Button Height="45"
Background="Transparent"/>
</StackPanel>
<components:TournamentDetails Grid.Column="1"/>
</Grid>
</UserControl>

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace Apollon.WPF.Views
{
/// <summary>
/// Interaction logic for TournamentDetailsView.xaml
/// </summary>
public partial class TournamentDetailsView : UserControl
{
public TournamentDetailsView()
{
InitializeComponent();
}
}
}