From fd2ebc5aaad70b868dd810eeec0fa4f0d365fb1d Mon Sep 17 00:00:00 2001 From: Exudonze Date: Thu, 29 Aug 2024 18:41:36 +0200 Subject: [PATCH] =?UTF-8?q?Chat=20Settings=20eingef=C3=BCgt=20(Visuell)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bibtalk/bib-talk/UI/MainWindow.xaml | 9 +++++++++ bibtalk/bib-talk/UI/MainWindow.xaml.cs | 27 ++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) 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 + } } }