C2025-047-AnnotationsTypeSelectChanges
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user