From 54d25ac1550bac6328f1fdabbe1e3c50a42792ef Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Mon, 23 Dec 2024 23:03:20 +0100 Subject: [PATCH] [feat:] first project version --- App.axaml | 4 + Backup.cs | 7 + Exam.cs | 20 ++ MainWindow.axaml | 47 +++- MainWindow.axaml.cs | 516 +++++++++++++++++++++++++++++++++++++++++++- MessageBox.axaml | 18 ++ MessageBox.axaml.cs | 76 +++++++ PLG-Exam.sln | 25 +++ 8 files changed, 705 insertions(+), 8 deletions(-) create mode 100644 Backup.cs create mode 100644 Exam.cs create mode 100644 MessageBox.axaml create mode 100644 MessageBox.axaml.cs create mode 100644 PLG-Exam.sln diff --git a/App.axaml b/App.axaml index ad778c3..3046fdc 100644 --- a/App.axaml +++ b/App.axaml @@ -7,4 +7,8 @@ + + 10 + 1000 + \ No newline at end of file diff --git a/Backup.cs b/Backup.cs new file mode 100644 index 0000000..4267d1d --- /dev/null +++ b/Backup.cs @@ -0,0 +1,7 @@ +using System; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + + diff --git a/Exam.cs b/Exam.cs new file mode 100644 index 0000000..14b28fa --- /dev/null +++ b/Exam.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; + +namespace PLG_Exam +{ + public class Exam + { + public string Name { get; set; } = string.Empty; + public string Vorname { get; set; } = string.Empty; + public DateTime? Datum { get; set; } + public List Tabs { get; set; } = new(); + } + + public class ExamTab + { + public string Aufgabennummer { get; set; } = string.Empty; + public string Überschrift { get; set; } = string.Empty; + public string Inhalt { get; set; } = string.Empty; + } +} diff --git a/MainWindow.axaml b/MainWindow.axaml index 6b78751..9dfbbb4 100644 --- a/MainWindow.axaml +++ b/MainWindow.axaml @@ -4,6 +4,49 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" x:Class="PLG_Exam.MainWindow" - Title="PLG_Exam"> - Welcome to Avalonia! + Title="PLG Exam"> + + + + +