Ejemplo n.º 1
0
 private void Time_real_Tick(object sender, EventArgs e)
 {
     if (play.Value < play.MaximumValue)
     {
         play.Value++;
     }
     Set_PlayValue(play.Value);
     if (BeginTime.Text == RestTime.Text)
     {
         Time_real.Stop();
         Thread.Sleep(1000);
         btn_Music_Play_Click(this, new EventArgs());
         Next_Play_Click(this, new EventArgs());
     }
 }
Ejemplo n.º 2
0
 public void btn_Music_Play_Click(object sender, EventArgs e)
 {
     Mp3Player.Instance.Pause();
     SetPlayIcon();
     Time_real.Stop();
 }