diff --git a/bibtalk/bib-talk/MainWindow.xaml b/bibtalk/bib-talk/MainWindow.xaml
index 1ca9a37..52fa2bb 100644
--- a/bibtalk/bib-talk/MainWindow.xaml
+++ b/bibtalk/bib-talk/MainWindow.xaml
@@ -113,7 +113,16 @@
Background="#FF323134"
Foreground="White"
SelectionBrush="#FF6332A0" KeyDown="messageBOX_KeyDown"/>
-
+
+
+
+
+
+
+
+
+
+
diff --git a/bibtalk/bib-talk/MainWindow.xaml.cs b/bibtalk/bib-talk/MainWindow.xaml.cs
index 798baab..54f3977 100644
--- a/bibtalk/bib-talk/MainWindow.xaml.cs
+++ b/bibtalk/bib-talk/MainWindow.xaml.cs
@@ -189,6 +189,45 @@ namespace bib_talk
public string IsOnline { get; set; }
}
+ private void ChatFenster_Click(object sender, RoutedEventArgs e)
+ {
+ if(popup.IsOpen = true)
+ {
+ popup.Focus();
+ }
+ else
+ {
+ popup.IsOpen = true;
+ }
+
+ }
+ private void Button1_Click(object sender, RoutedEventArgs e)
+ {
+ MessageBox.Show("Button 1 wurde geklickt!");
+ ClosePopup();
+ }
+ private void Button2_Click(object sender, RoutedEventArgs e)
+ {
+ MessageBox.Show("Button 2 wurde geklickt!");
+ ClosePopup();
+ }
+
+ private void Button3_Click(object sender, RoutedEventArgs e)
+ {
+ MessageBox.Show("Button 3 wurde geklickt!");
+ ClosePopup();
+ }
+
+ private void Popup_LostFocus(object sender, RoutedEventArgs e)
+ {
+
+ ClosePopup();
+ }
+
+ private void ClosePopup()
+ {
+ popup.IsOpen = false;
+ }
}
}