public async void TimeCount(MPlayer plr1) { //await Task.Run(() => //{ // //taskID = Task.CurrentId; // while (duration > position) // { // SecDuration = duration - position; // Position = position; // position ++; // Task.Delay(1000); // } //}); }
public void CountStop(MPlayer plr) { Task.WaitAll(); }