try navigationservices

This commit is contained in:
Natlinux
2022-11-26 17:58:31 +01:00
parent 34e648dc8a
commit 873d130aaa
13 changed files with 165 additions and 17 deletions

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Apollon.WPF.ViewModels
{
public class ArchersViewModel : ViewModelBase
{
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Apollon.WPF.ViewModels
{
public class ClassesViewModel : ViewModelBase
{
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Apollon.WPF.ViewModels
{
public class GroupsViewModel : ViewModelBase
{
}
}

View File

@@ -1,4 +1,5 @@
using System;
using Apollon.WPF.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -9,8 +10,10 @@ namespace Apollon.WPF.ViewModels
{
public class NavBarTournamentDetailsViewModel : ViewModelBase
{
public ICommand NavigateNameListCommand { get;}
public ICommand GroupsCommand { get;}
public ICommand NavigateArchersCommand { get;}
public ICommand NavigateGroupsCommand { get;}
public ICommand NavigateClassesCommand { get;}
}
}

View File

@@ -7,7 +7,7 @@
xmlns:components="clr-namespace:Apollon.WPF.Views.Components"
mc:Ignorable="d">
<Grid>
<TextBlock Text="Turniers erstellen"
<TextBlock Text="Turnier erstellen"
TextAlignment="Center"
FontFamily="Arial"
FontWeight="Bold"

View File

@@ -0,0 +1,12 @@
<UserControl x:Class="Apollon.WPF.Views.ArchersView"
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="Teilnehmer" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</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 ArchersView.xaml
/// </summary>
public partial class ArchersView : UserControl
{
public ArchersView()
{
InitializeComponent();
}
}
}

View File

@@ -0,0 +1,12 @@
<UserControl x:Class="Apollon.WPF.Views.ClassesView"
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="Klassen" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</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 ClassesView.xaml
/// </summary>
public partial class ClassesView : UserControl
{
public ClassesView()
{
InitializeComponent();
}
}
}

View File

@@ -66,17 +66,6 @@
VerticalAlignment="Center"/>
</MenuItem.Icon>
</MenuItem>
<MenuItem Header="Kl. Vereinsmeistersch."
Template="{StaticResource Item_Template}">
<MenuItem.Icon>
<iconPacks:PackIconMaterial Kind="BallotOutline"
Height="20"
Width="20"
Foreground="#0000a0"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</MenuItem.Icon>
</MenuItem>
<MenuItem Header="Teilnehmer setzen"
Template="{StaticResource Item_Template}">
<MenuItem.Icon>

View File

@@ -7,7 +7,7 @@
xmlns:components="clr-namespace:Apollon.WPF.Views.Components"
mc:Ignorable="d">
<Grid>
<TextBlock Text="Turniers bearbeiten"
<TextBlock Text="Turnier bearbeiten"
TextAlignment="Center"
FontFamily="Arial"
FontWeight="Bold"

View File

@@ -0,0 +1,12 @@
<UserControl x:Class="Apollon.WPF.Views.GroupsView"
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="Gruppen" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</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 GroupsView.xaml
/// </summary>
public partial class GroupsView : UserControl
{
public GroupsView()
{
InitializeComponent();
}
}
}