// This method will be called when the thread is started. public void DoWork(object parameters) { DataDump.ProcessFiles(((MyThreadParams)parameters)._eFiles); }