public void CompliteFrame() { while (readyBuffer.Count > 0) { ScheduledJob sj = readyBuffer.Dequeue(); sj.Job.Execute(null); OnJopComplite(sj); } }