Esempio n. 1
0
 private void pauseplayButton_Click(object sender, EventArgs e)
 {
     if (!PlayerForm.paused)
     {
         pauseplayButton.Image = Properties.Resources.baseline_play_arrow_black_18dp;
         PlayerForm.PauseMusic();
     }
     else
     {
         pauseplayButton.Image = Properties.Resources.baseline_pause_black_18dp;
         PlayerForm.ResumeMusic();
     }
 }
Esempio n. 2
0
 private void PlayButton()
 {
     if (!PlayerForm.paused)
     {
         pauseplayButton.Image = Properties.Resources.baseline_play_arrow_black_18dp;
         PlayerForm.PauseMusic();
     }
     else
     {
         pauseplayButton.Image = Properties.Resources.baseline_pause_black_18dp;
         PlayerForm.ResumeMusic();
     }
 }