public void newThreadCopy(string[] file_path, string value, bool clear) { string Value = value; string[] File_Path = file_path; CopyFileToUSB COPY_THREAD = new CopyFileToUSB(File_Path, Value, clear); COPY_THREAD.Show_CopyInfo = new CopyFileToUSB.show_CopyInfo(Show_CopyInfo); COPY_THREAD.parent_lab_showinfo = new CopyFileToUSB.parent_lab_showInfo(lab_showInfo); thread = new Thread(new ThreadStart(COPY_THREAD.Copy)); thread.Start(); }
public void newThreadCopy(string[] file_path,string value, bool clear) { string Value= value; string[] File_Path = file_path; CopyFileToUSB COPY_THREAD = new CopyFileToUSB(File_Path, Value, clear); COPY_THREAD.Show_CopyInfo = new CopyFileToUSB.show_CopyInfo(Show_CopyInfo); COPY_THREAD.parent_lab_showinfo = new CopyFileToUSB.parent_lab_showInfo(lab_showInfo); thread = new Thread(new ThreadStart(COPY_THREAD.Copy)); thread.Start(); }