C2025-047-AnnotationsTypeSelectChanges #584

Closed
plarsen wants to merge 27 commits from C2025-047-AnnotationsTypeSelectChanges into master
18 changed files with 2500 additions and 1277 deletions
Showing only changes of commit 6e20774edf - Show all commits

View File

@@ -156,9 +156,12 @@ namespace VEPROMS
{ {
lstSelected.Items.Add(new AnnotataionItem(lstSelectedRow["Name"].ToString(), (int)lstSelectedRow["TypeID"])); lstSelected.Items.Add(new AnnotataionItem(lstSelectedRow["Name"].ToString(), (int)lstSelectedRow["TypeID"]));
} }
btnUpdate.Enabled = false;
} }
private void btnCancel_Click_1(object sender, EventArgs e) private void btnCancel_Click_1(object sender, EventArgs e)
{
if (btnUpdate.Enabled == true)
{ {
string message = "Changes have not yet been saved. Do you want to save the changes prior to closing?"; string message = "Changes have not yet been saved. Do you want to save the changes prior to closing?";
string title = "Save Annotation Selections"; string title = "Save Annotation Selections";
@@ -174,6 +177,11 @@ namespace VEPROMS
this.Close(); this.Close();
} }
} }
else
{
this.Close();
}
}
private DataTable coverToTable() private DataTable coverToTable()
{ {