Ejemplo n.º 1
0
 public void Time_Media_Play()
 {
     BeginTime.Text = "00:00:00";
     a = b = c = 0;
     Time_real.Start();
     play.Value        = 0;
     play.MaximumValue = this.length;
 }
Ejemplo n.º 2
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.º 3
0
 public void btn_Music_Pause_Click(object sender, EventArgs e)
 {
     Mp3Player.Instance.Play();
     SetPlayIcon();
     Time_real.Start();
 }