Exemple #1
0
 private void ProfileSettingsScreen_DeleteProfile(object sender, System.EventArgs e)
 {
     if (sender is ProfileSettingsScreen.ProfileSettingsScreen proflesettingsscreen)
     {
         DisplayedProfiles.Remove(proflesettingsscreen.Profile);
         ReturnBack();
     }
 }
Exemple #2
0
        private void ProfileSignInScreen_ProfileSignedIn(object sender, ProfileSignInScreen.ProfileSignedInEventArgs e)
        {
            if (e.SocialMedia == SocialMedia.VK)
            {
                Debug.WriteLine(e.Parameters.session as string);
            }

            if (ProfilesToDisplay.Count > 0)
            {
                var profile = ProfilesToDisplay[0];
                DisplayedProfiles.Add(profile);
                ProfilesToDisplay.Remove(profile);

                ReturnBack();
            }
        }