예제 #1
0
 //Update current video time label (delegate)
 public void InvokeUpdateControls()
 {
     if (_vlcControl1.InvokeRequired)
     {
         _vlcControl1.Invoke(new UpdateControlsDelegate(currentTrackTime));
     }
     else
     {
         currentTrackTime();
     }
 }
예제 #2
0
파일: Form1.cs 프로젝트: VijayRed01/TS1_C
        void Time_update(long hold_time2)
        {
            System.Threading.Thread.Sleep(100);
            control.Invoke((MethodInvoker)(() => control.Time = (int)hold_time2));

            System.Threading.Thread.Sleep(100);
        }