Merge pull request 'B2024-052-In-Annotations-pop-up-no-Annotation-type-should-be-selected-by-default' (#371) from B2024-052-In-Annotations-pop-up-no-Annotation-type-should-be-selected-by-default into Development
changes look good - onto testing phase
This commit is contained in:
commit
7c33bad362
@ -54,6 +54,7 @@ namespace VEPROMS
|
||||
lbAnnotationTypes.DisplayMember = "Value";
|
||||
lbAnnotationTypes.ValueMember = "Key";
|
||||
lbAnnotationTypes.SelectedIndexChanged += lbAnnotationTypes_SelectedIndexChanged;
|
||||
lbAnnotationTypes.ClearSelected();
|
||||
|
||||
}
|
||||
// create comma delimited string of procedures selected by user.
|
||||
@ -150,6 +151,8 @@ namespace VEPROMS
|
||||
|
||||
// Retrieve number of annotations that will be deleted.
|
||||
private void lbAnnotationTypes_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (lbAnnotationTypes.SelectedIndex > -1)
|
||||
{
|
||||
btnClean.Enabled = false;
|
||||
lblCountNumber.Text = "";
|
||||
@ -169,6 +172,7 @@ namespace VEPROMS
|
||||
lblCountNumber.Text = (deletecountProc + deletecountDocv).ToString();
|
||||
totalDeleteCnt = (deletecountProc + deletecountDocv).ToString();
|
||||
btnClean.Enabled = true;
|
||||
}
|
||||
|
||||
}
|
||||
// Close form.
|
||||
|
Loading…
x
Reference in New Issue
Block a user