Chat settings abgeändert
+ Region hinzugefügt
This commit is contained in:
parent
fd2ebc5aaa
commit
4edc2f2188
@ -93,9 +93,9 @@
|
||||
<Button x:Name="ChatSettings" Content="⚙️" Click="MenuButton_Click" HorizontalAlignment="Left" Margin="634,2,0,0" VerticalAlignment="Top" Height="37" Width="26" Background="Transparent" BorderBrush="Transparent">
|
||||
<Button.ContextMenu>
|
||||
<ContextMenu x:Name="contextMenu" IsOpen="False">
|
||||
<MenuItem x:Name="blockButton" Header="Blockieren" Click="BlockButton_Click"/>
|
||||
<MenuItem x:Name="deleteChatButton" Header="Chat löschen" Click="DeleteChatButton_Click"/>
|
||||
<MenuItem x:Name="removeFriendButton" Header="Freund entfernen" Click="RemoveFriendButton_Click"/>
|
||||
<MenuItem x:Name="muteChatButton" Header="Chat muten" Click="muteChatButton_Click"/>
|
||||
<MenuItem x:Name="clearChatButton" Header="Clear chat" Click="clearChatButton_Click"/>
|
||||
<MenuItem x:Name="helpButton" Header="Help" Click="helpButton_Click"/>
|
||||
</ContextMenu>
|
||||
</Button.ContextMenu>
|
||||
</Button>
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user