diff --git a/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/MainWindow.xaml b/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/MainWindow.xaml
index 8597539..09c011e 100644
--- a/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/MainWindow.xaml
+++ b/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/MainWindow.xaml
@@ -7,6 +7,7 @@
mc:Ignorable="d"
Title="Community Fragen - WPF-1" Height="287" Width="460" Background="#00A8C6">
+
diff --git a/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/MainWindow.xaml.cs b/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/MainWindow.xaml.cs
index 8dc246e..25a4530 100644
--- a/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/MainWindow.xaml.cs
+++ b/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/MainWindow.xaml.cs
@@ -24,5 +24,11 @@ public MainWindow()
{
InitializeComponent();
}
+
+ private void Button_Click(object sender, RoutedEventArgs e)
+ {
+ SubWindow sub = new SubWindow();
+ sub.Show();
+ }
}
}
diff --git a/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/SubWindow.xaml b/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/SubWindow.xaml
new file mode 100644
index 0000000..fc47da5
--- /dev/null
+++ b/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/SubWindow.xaml
@@ -0,0 +1,12 @@
+
+
+
+
+
diff --git a/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/SubWindow.xaml.cs b/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/SubWindow.xaml.cs
new file mode 100644
index 0000000..1b2f387
--- /dev/null
+++ b/WPF-1/WPF1-Unterfenster/WPF1-Unterfenster/SubWindow.xaml.cs
@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+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.Shapes;
+
+namespace WPF1_Unterfenster
+{
+ ///
+ /// Interaktionslogik für SubWindow.xaml
+ ///
+ public partial class SubWindow : Window
+ {
+ public SubWindow()
+ {
+ InitializeComponent();
+ }
+ }
+}