Problem in ProgressForm.cs, SetProgress method


Hey! I was trying this software but I ran into a problem, I could not fully generate the files from a database when it had more than 4 synonyms. For some reason the progress bar would go over the expected maximun and it would stop the process right there.

I fixed it on my end by making sure the code would not try to go over the maximun value of the progress bar, but I'm guessing it's not the main issue.

Edit: I was using Sql Server 2012.