Example #1
0
 public void OpenFriends()
 {
     if (FriendsUCEvent != null)
     {
         FriendsUCEvent.Invoke();
     }
 }
Example #2
0
        private void FriendsBtn_Click(object sender, RoutedEventArgs e)
        {
            _RFState = !_RFState;

            if (_RFState == true)
            {
                FriendsBtn.Content = "🞂";
            }
            else
            {
                FriendsBtn.Content = "🞀 Amis";
            }

            if (FriendsUCEvent != null)
            {
                FriendsUCEvent.Invoke();
            }
        }