Ejemplo n.º 1
0
 public void OnArtistModeUserchanges(object sender, SendingArtistInfo e)
 {
     foreach (User user in users)
     {
         if (user.Username == e.Usernametext)
         {
             user.Artist = e.ArtistText;
         }
     }
     SerializeData();
 }
 public void OnCreateArtist(object sender, SendingArtistInfo e)
 {
     artists.Add(new Artist(e.Usernametext, e.AgeArtist, e.GenderArtist, e.ArtistText));
     SerializeData();
 }