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 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>
|
<Button.ContextMenu>
|
||||||
<ContextMenu x:Name="contextMenu" IsOpen="False">
|
<ContextMenu x:Name="contextMenu" IsOpen="False">
|
||||||
<MenuItem x:Name="blockButton" Header="Blockieren" Click="BlockButton_Click"/>
|
<MenuItem x:Name="muteChatButton" Header="Chat muten" Click="muteChatButton_Click"/>
|
||||||
<MenuItem x:Name="deleteChatButton" Header="Chat löschen" Click="DeleteChatButton_Click"/>
|
<MenuItem x:Name="clearChatButton" Header="Clear chat" Click="clearChatButton_Click"/>
|
||||||
<MenuItem x:Name="removeFriendButton" Header="Freund entfernen" Click="RemoveFriendButton_Click"/>
|
<MenuItem x:Name="helpButton" Header="Help" Click="helpButton_Click"/>
|
||||||
</ContextMenu>
|
</ContextMenu>
|
||||||
</Button.ContextMenu>
|
</Button.ContextMenu>
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -88,6 +88,8 @@ namespace bib_talk
|
|||||||
await mwManager.UploadProfileImage(filePath);
|
await mwManager.UploadProfileImage(filePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region Ohne Funktion
|
||||||
// Chat Settings Logik
|
// Chat Settings Logik
|
||||||
private void MenuButton_Click(object sender, RoutedEventArgs e)
|
private void MenuButton_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
@ -95,24 +97,20 @@ namespace bib_talk
|
|||||||
contextMenu.IsOpen = true;
|
contextMenu.IsOpen = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BlockButton_Click(object sender, RoutedEventArgs e)
|
private void muteChatButton_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
// Logik zum Blockieren eines Benutzers
|
// 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
|
// 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
|
// Logik zum Entfernen eines Freundes
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
private void SendButton_Click(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
// Logik zum Senden einer Nachricht
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user