From a0f3cb721f83737d9060bcf3dca69fb863a3727b Mon Sep 17 00:00:00 2001 From: Jakob Weber Date: Wed, 3 Sep 2025 10:32:06 +0200 Subject: [PATCH] Dateien nach "PenPaperMain" hochladen --- PenPaperMain/AssemblyInfo.cs | 10 +++++ PenPaperMain/MainWindow.xaml.cs | 41 ++++++++++++++++++++ PenPaperMain/Würfel.xaml | 66 +++++++++++++++++++++++++++++++++ PenPaperMain/Würfel.xaml.cs | 27 ++++++++++++++ 4 files changed, 144 insertions(+) create mode 100644 PenPaperMain/AssemblyInfo.cs create mode 100644 PenPaperMain/MainWindow.xaml.cs create mode 100644 PenPaperMain/Würfel.xaml create mode 100644 PenPaperMain/Würfel.xaml.cs diff --git a/PenPaperMain/AssemblyInfo.cs b/PenPaperMain/AssemblyInfo.cs new file mode 100644 index 0000000..372e037 --- /dev/null +++ b/PenPaperMain/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/PenPaperMain/MainWindow.xaml.cs b/PenPaperMain/MainWindow.xaml.cs new file mode 100644 index 0000000..902efac --- /dev/null +++ b/PenPaperMain/MainWindow.xaml.cs @@ -0,0 +1,41 @@ +using System.Text; +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 Pen_Paper_Main +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + + + + //Event für die Buttons "Anmelden" und "Registrieren" + private void Anmelden_Click(object sender, RoutedEventArgs e) + { + Anmeldung anmeldung = new Anmeldung(); + anmeldung.Show(); + this.Close(); + } + + private void Registrieren_Click(object sender, RoutedEventArgs e) + { + Registrieren registrieren = new Registrieren(); + registrieren.Show(); + this.Close(); + } + } +} \ No newline at end of file diff --git a/PenPaperMain/Würfel.xaml b/PenPaperMain/Würfel.xaml new file mode 100644 index 0000000..1a267cd --- /dev/null +++ b/PenPaperMain/Würfel.xaml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + +