Beispiel #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     label1.Text        = TimeSpan.FromSeconds(Audio.GetPosOfStream(Audio.Stream)).ToString();
     colorSlider1.Value = Audio.GetPosOfStream(Audio.Stream);
     if (Audio.ToNextTrack())
     {
         CommonInterface.RefreshForm(CommonInterface.CurrentTrackNumber);
     }
     else if (Audio.Stream == 0)
     {
         CommonInterface.ClearForm();
     }
     if (Audio.EndPlaylist)
     {
         if (comboBox1.SelectedIndex == 0)
         {
             CommonInterface.ClearForm();
         }
         CommonInterface.CurrentTrackNumber = -1;
         Audio.EndPlaylist = false;
     }
     CommonInterface.Visualisation();
 }
Beispiel #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     CommonInterface.Visualisation(true);
 }