Initial commit
This commit is contained in:
80
Apollon.WPF/Views/ApollonOverviewView.xaml
Normal file
80
Apollon.WPF/Views/ApollonOverviewView.xaml
Normal file
@@ -0,0 +1,80 @@
|
||||
<UserControl x:Class="Apollon.WPF.Views.ApollonOverviewView"
|
||||
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"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="800" d:DesignWidth="1120"
|
||||
Background="Transparent">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="150"></RowDefinition>
|
||||
<RowDefinition></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition></ColumnDefinition>
|
||||
<ColumnDefinition></ColumnDefinition>
|
||||
<ColumnDefinition></ColumnDefinition>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border CornerRadius="20" Grid.RowSpan="2" Grid.ColumnSpan="3">
|
||||
<Border.Background>
|
||||
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
||||
<GradientStop Color="#d7e8fd" Offset="0.2"/>
|
||||
<GradientStop Color="#81a9e2" Offset="0.8"/>
|
||||
</LinearGradientBrush>
|
||||
</Border.Background>
|
||||
</Border>
|
||||
<StackPanel Grid.ColumnSpan="3">
|
||||
<TextBlock
|
||||
Text="Apollon"
|
||||
FontSize="50"
|
||||
TextAlignment="Center"
|
||||
Margin="0,35"
|
||||
Foreground="#ff8000"
|
||||
FontFamily="Arial Black">
|
||||
<TextBlock.Effect>
|
||||
<DropShadowEffect Color="#808080"></DropShadowEffect>
|
||||
</TextBlock.Effect>
|
||||
</TextBlock>
|
||||
<TextBlock
|
||||
Margin="-25"
|
||||
Text="Auswertung Bogen"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="18"
|
||||
Foreground="#0000a0">
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Row="2"
|
||||
VerticalAlignment="Center">
|
||||
<components:ApollonOverViewListing Height="400"/>
|
||||
<Button Style="{StaticResource ModernButton}"
|
||||
Content="Neues Turnier vorbereiten"
|
||||
FontSize="16"
|
||||
Height="40"
|
||||
Width="210"
|
||||
Margin="40"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Column="1"
|
||||
Grid.Row="1"
|
||||
VerticalAlignment="Center">
|
||||
<components:ApollonOverviewDetails/>
|
||||
<Button Style="{StaticResource ModernButton}"
|
||||
Content="Turnier bearbeiten"
|
||||
FontSize="16"
|
||||
Height="40"
|
||||
Width="210"
|
||||
Margin="40"/>
|
||||
</StackPanel>
|
||||
|
||||
<Image Grid.Column="2"
|
||||
Grid.Row="2"
|
||||
Source="D:\Projekte\Apollon\Apollon\Apollon.WPF\Images\Scheibe.png"
|
||||
Width="300"
|
||||
Height="300">
|
||||
</Image>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
28
Apollon.WPF/Views/ApollonOverviewView.xaml.cs
Normal file
28
Apollon.WPF/Views/ApollonOverviewView.xaml.cs
Normal 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 ApollonOverviewView.xaml
|
||||
/// </summary>
|
||||
public partial class ApollonOverviewView : UserControl
|
||||
{
|
||||
public ApollonOverviewView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
17
Apollon.WPF/Views/Components/ApollonOverViewListing.xaml
Normal file
17
Apollon.WPF/Views/Components/ApollonOverViewListing.xaml
Normal file
@@ -0,0 +1,17 @@
|
||||
<UserControl x:Class="Apollon.WPF.Views.Components.ApollonOverViewListing"
|
||||
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.Components"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<Border BorderBrush="#0000a0"
|
||||
BorderThickness="1"
|
||||
CornerRadius="10"
|
||||
Width="300">
|
||||
</Border>
|
||||
<ListView Background="Transparent"/>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
28
Apollon.WPF/Views/Components/ApollonOverViewListing.xaml.cs
Normal file
28
Apollon.WPF/Views/Components/ApollonOverViewListing.xaml.cs
Normal 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.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for ApollonOverViewListing.xaml
|
||||
/// </summary>
|
||||
public partial class ApollonOverViewListing : UserControl
|
||||
{
|
||||
public ApollonOverViewListing()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
38
Apollon.WPF/Views/Components/ApollonOverviewDetails.xaml
Normal file
38
Apollon.WPF/Views/Components/ApollonOverviewDetails.xaml
Normal file
@@ -0,0 +1,38 @@
|
||||
<UserControl x:Class="Apollon.WPF.Views.Components.ApollonOverviewDetails"
|
||||
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.Components"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<Border BorderBrush="#0000a0"
|
||||
BorderThickness="1"
|
||||
CornerRadius="10">
|
||||
</Border>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Tuniername"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="40"/>
|
||||
<TextBlock Text="Vom 01.01.2022 bis 03.01.2022"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="0,0,0,40"/>
|
||||
<TextBlock Text="Veranstaltungsort"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="0,0,0,40"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
28
Apollon.WPF/Views/Components/ApollonOverviewDetails.xaml.cs
Normal file
28
Apollon.WPF/Views/Components/ApollonOverviewDetails.xaml.cs
Normal 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.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for ApollonOverviewDetails.xaml
|
||||
/// </summary>
|
||||
public partial class ApollonOverviewDetails : UserControl
|
||||
{
|
||||
public ApollonOverviewDetails()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user