public void OpenFriends() { if (FriendsUCEvent != null) { FriendsUCEvent.Invoke(); } }
private void FriendsBtn_Click(object sender, RoutedEventArgs e) { _RFState = !_RFState; if (_RFState == true) { FriendsBtn.Content = "🞂"; } else { FriendsBtn.Content = "🞀 Amis"; } if (FriendsUCEvent != null) { FriendsUCEvent.Invoke(); } }