update
This commit is contained in:
parent
313bb6d990
commit
dd92942809
@ -104,7 +104,7 @@
|
||||
<EllipseGeometry Center="40,40" RadiusX="40" RadiusY="40"/>
|
||||
</Image.Clip>
|
||||
</Image>
|
||||
<Button Content="⋮" HorizontalAlignment="Left" Margin="638,8,0,0" VerticalAlignment="Top" Width="19" Height="70" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" FontSize="58"/>
|
||||
<Button Content="⋮" HorizontalAlignment="Left" Margin="638,8,0,0" VerticalAlignment="Top" Width="19" Height="70" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" FontSize="58" Click="ChatFenster_Click"/>
|
||||
</Grid>
|
||||
<Grid Margin="76,17,454,176">
|
||||
|
||||
|
@ -189,9 +189,46 @@ namespace bib_talk
|
||||
public string IsOnline { get; set; }
|
||||
}
|
||||
|
||||
private void onlineUsersListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
private void ChatFenster_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (popup.IsOpen = true)
|
||||
{
|
||||
popup.Focus();
|
||||
}
|
||||
else
|
||||
{
|
||||
popup.IsOpen = true;
|
||||
}
|
||||
|
||||
}
|
||||
private void Button1_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
MessageBox.Show("Button 1 wurde geklickt!");
|
||||
ClosePopup();
|
||||
}
|
||||
|
||||
private void Button2_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
MessageBox.Show("Button 2 wurde geklickt!");
|
||||
ClosePopup();
|
||||
}
|
||||
|
||||
private void Button3_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
MessageBox.Show("Button 3 wurde geklickt!");
|
||||
ClosePopup();
|
||||
}
|
||||
|
||||
private void Popup_LostFocus(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
ClosePopup();
|
||||
}
|
||||
|
||||
private void ClosePopup()
|
||||
{
|
||||
popup.IsOpen = false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user