C2020-042 When an Export is finished the message box will be titled “Export Completed”. When an Import is finished the message box will be titled “Import Completed”.

This commit is contained in:
John Jenko 2020-10-22 14:14:56 +00:00
parent b172dc3080
commit bed3f0477f

View File

@ -245,7 +245,7 @@ namespace VEPROMS
}
else
msg = "Could not complete export";
MessageBox.Show(msg, "Export", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show(msg, "Export Completed", MessageBoxButtons.OK, MessageBoxIcon.Information); // C2020-042 changed mesage box title
btnCloseExport.Enabled = true;
}
@ -379,8 +379,8 @@ namespace VEPROMS
msg += "\n\nYou had imported an Approved Version of a procedure.\n\nAll Transition and Referenced Object values are text."; // B2017-076 Approved import file does not have ROs nor Transition
}
// B2016-225 added more information to the finish import message to tell the user when ROs or Transitions are converted to text.
MessageBox.Show(msg, "Import", MessageBoxButtons.OK, MessageBoxIcon.Information);
//MessageBox.Show(string.Format("Finished Importing:\n\n{0}", txtImport.Text.Substring(txtImport.Text.LastIndexOf("\\") + 1)), "Import", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show(msg, "Import Completed", MessageBoxButtons.OK, MessageBoxIcon.Information); // C2020-042 changed mesage box title
//MessageBox.Show(string.Format("Finished Importing:\n\n{0}", txtImport.Text.Substring(txtImport.Text.LastIndexOf("\\") + 1)), "Import", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
if (canceledPressed)
{