diff --git a/PenPaperMain/CharakterListe.xaml b/PenPaperMain/CharakterListe.xaml
new file mode 100644
index 0000000..2d805b7
--- /dev/null
+++ b/PenPaperMain/CharakterListe.xaml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PenPaperMain/CharakterListe.xaml.cs b/PenPaperMain/CharakterListe.xaml.cs
new file mode 100644
index 0000000..ed75e6a
--- /dev/null
+++ b/PenPaperMain/CharakterListe.xaml.cs
@@ -0,0 +1,49 @@
+using System.Collections.Generic;
+using System.Net.Http;
+using System.Text;
+using System.Text.Json;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace Pen_Paper_Main
+{
+ public partial class CharakterListe : Window
+ {
+ public CharakterListe() { InitializeComponent(); }
+ private class CharVm { public string name{get;set;}=""; public string username{get;set;}=""; }
+
+ private async void Window_Loaded(object s,RoutedEventArgs e) => await LoadAsync();
+
+ private async Task LoadAsync() {
+ using var http=new HttpClient();
+ var json=await http.GetStringAsync("http://localhost/api/characters.php?action=list");
+ using var doc=JsonDocument.Parse(json);
+ var items=new List();
+ foreach(var el in doc.RootElement.GetProperty("items").EnumerateArray()) {
+ items.Add(new CharVm {
+ name=el.GetProperty("name").GetString()??"",
+ username=el.GetProperty("username").GetString()??""
+ });
+ }
+ LstChars.ItemsSource=items;
+ }
+
+ private void Close_Click(object s,RoutedEventArgs e)=>Close();
+
+ private async void New_Click(object s,RoutedEventArgs e) {
+ var dlg=new CharakterNeu(); dlg.Owner=this; dlg.ShowDialog();
+ await LoadAsync();
+ }
+
+ private async void Delete_Click(object s,RoutedEventArgs e) {
+ if(LstChars.SelectedItem is CharVm vm) {
+ using var http=new HttpClient();
+ var url=$"http://localhost/api/characters.php?action=delete&username={vm.username}&name={vm.name}";
+ var resp=await http.DeleteAsync(url);
+ var body=await resp.Content.ReadAsStringAsync();
+ MessageBox.Show(body);
+ await LoadAsync();
+ }
+ }
+ }
+}
diff --git a/PenPaperMain/CharaktereNeu.xaml b/PenPaperMain/CharaktereNeu.xaml
new file mode 100644
index 0000000..52c1b39
--- /dev/null
+++ b/PenPaperMain/CharaktereNeu.xaml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/PenPaperMain/Einstellungen.xaml b/PenPaperMain/Einstellungen.xaml
new file mode 100644
index 0000000..7a84eb4
--- /dev/null
+++ b/PenPaperMain/Einstellungen.xaml
@@ -0,0 +1,42 @@
+
+
+ Einstellungen
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ProfilBild auswählen :
+
+
+ Benutzername :
+
+
+
+ Sprache :
+
+
+
+
+
+
diff --git a/PenPaperMain/Einstellungen.xaml.cs b/PenPaperMain/Einstellungen.xaml.cs
new file mode 100644
index 0000000..c0c74c2
--- /dev/null
+++ b/PenPaperMain/Einstellungen.xaml.cs
@@ -0,0 +1,27 @@
+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.Shapes;
+
+namespace Pen_Paper_Main
+{
+ ///
+ /// Interaktionslogik für Einstellungen.xaml
+ ///
+ public partial class Einstellungen : Window
+ {
+ public Einstellungen()
+ {
+ InitializeComponent();
+ }
+ }
+}