Added a message box to notify when there is a problem updating the formats
This commit is contained in:
parent
32765615c6
commit
63483ed15b
@ -2042,7 +2042,11 @@ namespace VEPROMS
|
|||||||
bottomProgBar.Maximum = int.Parse(args.Status.Split(" ".ToCharArray())[0]);
|
bottomProgBar.Maximum = int.Parse(args.Status.Split(" ".ToCharArray())[0]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if(!args.Status.Contains("SubFormat"))bottomProgBar.Value++;
|
{
|
||||||
|
if (args.Status.StartsWith("Error"))
|
||||||
|
MessageBox.Show(args.Status, "Error Loading Format", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
else if (!args.Status.Contains("SubFormat")) bottomProgBar.Value++;
|
||||||
|
}
|
||||||
bottomProgBar.Text = args.Status;
|
bottomProgBar.Text = args.Status;
|
||||||
bottomProgBar.TextVisible = true;
|
bottomProgBar.TextVisible = true;
|
||||||
Application.DoEvents();
|
Application.DoEvents();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user