From 4edc2f2188b565e4b0911d75b6d261c76a60ddd1 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 30 Aug 2024 10:08:18 +0200 Subject: [PATCH] =?UTF-8?q?Chat=20settings=20abge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit + Region hinzugefügt --- bibtalk/bib-talk/UI/MainWindow.xaml | 6 +++--- bibtalk/bib-talk/UI/MainWindow.xaml.cs | 20 +++++++++----------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/bibtalk/bib-talk/UI/MainWindow.xaml b/bibtalk/bib-talk/UI/MainWindow.xaml index 15dea0b..a5f2d9b 100644 --- a/bibtalk/bib-talk/UI/MainWindow.xaml +++ b/bibtalk/bib-talk/UI/MainWindow.xaml @@ -93,9 +93,9 @@ diff --git a/bibtalk/bib-talk/UI/MainWindow.xaml.cs b/bibtalk/bib-talk/UI/MainWindow.xaml.cs index 1bd2544..0e8c4ac 100644 --- a/bibtalk/bib-talk/UI/MainWindow.xaml.cs +++ b/bibtalk/bib-talk/UI/MainWindow.xaml.cs @@ -88,31 +88,29 @@ namespace bib_talk await mwManager.UploadProfileImage(filePath); } } - // Chat Settings Logik - private void MenuButton_Click(object sender, RoutedEventArgs e) + + #region Ohne Funktion + // 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) + private void muteChatButton_Click(object sender, RoutedEventArgs e) { // Logik zum Blockieren eines Benutzers } - private void DeleteChatButton_Click(object sender, RoutedEventArgs e) + private void clearChatButton_Click(object sender, RoutedEventArgs e) { // Logik zum Löschen eines Chats } - private void RemoveFriendButton_Click(object sender, RoutedEventArgs e) + private void helpButton_Click(object sender, RoutedEventArgs e) { // Logik zum Entfernen eines Freundes } - - private void SendButton_Click(object sender, RoutedEventArgs e) - { - // Logik zum Senden einer Nachricht - } - } + #endregion + } }