Example #1
0
 void plbl_ClickNext(object sender, EventArgs e)
 {
     if (NextSongClicked != null)
     {
         _selectAfterLoad = SelectAfterLoad.First;
         SongSwitchEventArgs p = new SongSwitchEventArgs((Song)((Button)sender).Tag);
         NextSongClicked(this, p);
     }
 }
Example #2
0
 void plbl_ClickPrev(object sender, EventArgs e)
 {
     if (PreviousSongClicked != null)
     {
         _selectAfterLoad = SelectAfterLoad.Last;
         SongSwitchEventArgs p = new SongSwitchEventArgs((Song)((Button)sender).Tag);
         PreviousSongClicked(this, p);
     }
 }