Added error handling for the step counter
This commit is contained in:
parent
91ef383ad4
commit
0a76a0d22c
@ -454,7 +454,10 @@ namespace DataLoader
|
|||||||
{
|
{
|
||||||
pbProc.Value += incPrc;
|
pbProc.Value += incPrc;
|
||||||
pbSect.Value += incSec;
|
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)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user