Exemple #1
0
 public void Onvideoreproduction(object sender, ReproduccionesEventArgs e)
 {
     foreach (Video video in videos)
     {
         if (e.Nametext.Contains(video.VideoName))
         {
             video.Reproduction++;
         }
     }
     SerializeData();
 }
Exemple #2
0
 public void Onsongreproduction(object sender, ReproduccionesEventArgs e)
 {
     foreach (Song song in songs)
     {
         if (e.Nametext.Contains(song.Namesong))
         {
             song.Reproduction++;
         }
     }
     SerializeData();
 }