예제 #1
0
        public void task_delete(SingleTask id)
        {
            Thread t = new Thread(() => datalayer.task_delete(Int32.Parse(id.id)));

            threadqueue.Enqueue(t);

            Thread t2 = new Thread(() => ftpsc.deletefile(id.folder));

            threadqueue.Enqueue(t2);
        }
예제 #2
0
 public bool deletefile(string folder)
 {
     return(ftpsc.deletefile(folder));
 }