diff --git a/bibtalk/bib-talk/UI/MainWindow.xaml b/bibtalk/bib-talk/UI/MainWindow.xaml index 7eb3632..15dea0b 100644 --- a/bibtalk/bib-talk/UI/MainWindow.xaml +++ b/bibtalk/bib-talk/UI/MainWindow.xaml @@ -90,6 +90,15 @@ + diff --git a/bibtalk/bib-talk/UI/MainWindow.xaml.cs b/bibtalk/bib-talk/UI/MainWindow.xaml.cs index 455927b..1bd2544 100644 --- a/bibtalk/bib-talk/UI/MainWindow.xaml.cs +++ b/bibtalk/bib-talk/UI/MainWindow.xaml.cs @@ -4,6 +4,7 @@ using System.Windows; using System.Windows.Input; using System.Windows.Threading; using bib_talk.Business; +using System.Windows.Controls; namespace bib_talk { @@ -87,5 +88,31 @@ namespace bib_talk await mwManager.UploadProfileImage(filePath); } } + // Chat Settings Logik + private void MenuButton_Click(object sender, RoutedEventArgs e) + { + // Öffnen Sie das Kontextmenü, wenn Sie auf den Drei-Punkte-Button klicken + contextMenu.IsOpen = true; + } + + private void BlockButton_Click(object sender, RoutedEventArgs e) + { + // Logik zum Blockieren eines Benutzers + } + + private void DeleteChatButton_Click(object sender, RoutedEventArgs e) + { + // Logik zum Löschen eines Chats + } + + private void RemoveFriendButton_Click(object sender, RoutedEventArgs e) + { + // Logik zum Entfernen eines Freundes + } + + private void SendButton_Click(object sender, RoutedEventArgs e) + { + // Logik zum Senden einer Nachricht + } } }