Compare commits

...

2 Commits

Author SHA1 Message Date
fa7d16473c [chore:] added Result-Tab 2026-02-09 17:33:42 +01:00
b0487920d0 [init:] added file for structures 2026-02-09 17:33:25 +01:00
2 changed files with 24 additions and 1 deletions

View File

@@ -36,13 +36,26 @@
<TabItem>
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<LucideIcon Kind="Table" Width="32" Height="32" Size="32" />
<LucideIcon Kind="LandPlot" Width="32" Height="32" Size="32" />
<Label FontSize="20" Content="Kurse" VerticalContentAlignment="Center" />
</StackPanel>
</TabItem.Header>
<Grid RowDefinitions="2*,*,*">
</Grid>
</TabItem>
<TabItem>
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<LucideIcon Kind="Sparkles" Width="32" Height="32" Size="32" />
<Label FontSize="20" Content="Ergebnisse" VerticalContentAlignment="Center" />
</StackPanel>
</TabItem.Header>
<Grid RowDefinitions="2*,*,*">
</Grid>
</TabItem>
</TabControl>

10
structs.cs Normal file
View File

@@ -0,0 +1,10 @@
namespace spplus;
public class Sport
{
public string Name { get; set; } = "Neuer Kurs"; // Kursname
public int MaxCoursesPerSemester { get; set; } = 1; // Maximale Anzahl an Kursen pro Semester
public int MaxStudents { get; set; } = 20; // Maximale Anzahl an Schülern pro Kurs
public int MinStudents { get; set; } = 5; // Minimale Anzahl an Schülern pro Kurs
public int[] Semester { get; set; } = [1, 2, 3, 4]; // Angebot in diesen Semestern
}