C2022-016: clarify Replace Existing Revision dialog for approval
This commit is contained in:
parent
6eabc4efd1
commit
dbe917fcae
@ -1178,7 +1178,8 @@ namespace VEPROMS
|
||||
else if (revision.Notes != RevNote || revision.RevisionDate != ap.RevDate)
|
||||
{
|
||||
//C2016-036 - Inform the user that an existing approved version will be replaced
|
||||
if (MessageBox.Show("Replace Existing Revision " + ap.RevNumber + "\r\n\r\nChange the Rev Number to create a new revision.", "Replace Existing", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.Cancel)
|
||||
//C2022-016 - Improve/clarify the dialog message
|
||||
if (MessageBox.Show("Replace Existing Revision " + ap.RevNumber + "?\r\n\r\nTo create a new revision, click Cancel then change\r\nthe Rev. Number.", "Replace Existing", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.Cancel)
|
||||
return false;
|
||||
revision.Notes = RevNote;
|
||||
revision.RevisionDate = ap.RevDate;
|
||||
@ -1201,7 +1202,8 @@ namespace VEPROMS
|
||||
else if (revision.Notes != RevNote || revision.RevisionDate != ap.RevDate)
|
||||
{
|
||||
//C2016-036 - Inform the user that an existing approved version will be replaced
|
||||
if (MessageBox.Show("Replace Existing Revision " + ap.RevNumber + "\r\n\r\nChange the Rev Number to create a new revision.", "Replace Existing", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.Cancel)
|
||||
//C2022-016 - Improve/clarify the dialog message
|
||||
if (MessageBox.Show("Replace Existing Revision " + ap.RevNumber + "?\r\n\r\nTo create a new revision, click Cancel then change\r\nthe Rev. Number.", "Replace Existing", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.Cancel)
|
||||
return false;
|
||||
revision.Notes = RevNote;
|
||||
revision.RevisionDate = ap.RevDate;
|
||||
|
Loading…
x
Reference in New Issue
Block a user