C2025-048-Set-Quick-Print-overwrite-pdf-to-false #595

Closed
plarsen wants to merge 62 commits from C2025-048-Set-Quick-Print-overwrite-pdf-to-false into master
18 changed files with 2500 additions and 1277 deletions
Showing only changes of commit 6e20774edf - Show all commits

View File

@@ -156,18 +156,26 @@ namespace VEPROMS
{
lstSelected.Items.Add(new AnnotataionItem(lstSelectedRow["Name"].ToString(), (int)lstSelectedRow["TypeID"]));
}
btnUpdate.Enabled = false;
}
private void btnCancel_Click_1(object sender, EventArgs e)
{
string message = "Changes have not yet been saved. Do you want to save the changes prior to closing?";
string title = "Save Annotation Selections";
MessageBoxButtons buttons = MessageBoxButtons.YesNo;
DialogResult result = MessageBox.Show(message, title, buttons);
if (result == DialogResult.Yes)
if (btnUpdate.Enabled == true)
{
saveChanges();
this.Close();
string message = "Changes have not yet been saved. Do you want to save the changes prior to closing?";
string title = "Save Annotation Selections";
MessageBoxButtons buttons = MessageBoxButtons.YesNo;
DialogResult result = MessageBox.Show(message, title, buttons);
if (result == DialogResult.Yes)
{
saveChanges();
this.Close();
}
else
{
this.Close();
}
}
else
{