Exemplo n.º 1
0
        public async void TimeCount(MPlayer plr1)
        {
            //await Task.Run(() =>
            //{
            //    //taskID = Task.CurrentId;
            //    while (duration > position)
            //    {
            //        SecDuration = duration - position;
            //        Position = position;
            //        position ++;
            //        Task.Delay(1000);

            //    }
            //});
        }
Exemplo n.º 2
0
 public void CountStop(MPlayer plr)
 {
     Task.WaitAll();
 }