Added error handling for the step counter
This commit is contained in:
		| @@ -454,7 +454,10 @@ namespace DataLoader | ||||
| 				{ | ||||
| 					pbProc.Value += incPrc; | ||||
| 					pbSect.Value += incSec; | ||||
| 					if(pbStep.Value < pbStep.Maximum) pbStep.Value += incStp; | ||||
| 					if (pbStep.Value < pbStep.Maximum)  | ||||
| 						pbStep.Value += incStp; | ||||
| 					else  | ||||
| 						_MyLog.WarnFormat("trying to increment status bar beyond maximum"); | ||||
| 				} | ||||
| 				catch (Exception ex) | ||||
| 				{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Rich
					Rich