Beispiel #1
0
 private void buttonPlayPause_Click(object sender, Microsoft.WindowsAPICodePack.Taskbar.ThumbnailButtonClickedEventArgs e)
 {
     if (PlayController.bassEng.IsPlaying)
     {
         buttonPlayPause.Icon = Properties.Resources.Button_Pause;
     }
     else
     {
         buttonPlayPause.Icon = Properties.Resources.Button_Play;
     }
     playControl1.btnPlay_Click(null, null);
 }
Beispiel #2
0
 private void buttonNext_Click(object sender, Microsoft.WindowsAPICodePack.Taskbar.ThumbnailButtonClickedEventArgs e)
 {
     playControl1.btnNext_Click(null, null);
 }
Beispiel #3
0
 private void Clicked(object sender, Microsoft.WindowsAPICodePack.Taskbar.ThumbnailButtonClickedEventArgs e)
 {
     this.ButtonClicked(null, new PreviewToolStripItemClickedEventArgs {
         Item = this
     });
 }