added event to update the Annotation lists in the Search and Annotation Details panels
This commit is contained in:
@@ -412,6 +412,7 @@ namespace VEPROMS
|
||||
SetCaption(tv.SelectedNode as VETreeNode);
|
||||
}
|
||||
displaySearch1.SetupAnnotationSearch(ctrlAnnotationDetails, tc);
|
||||
AnnotationTypeInfoList.ListChanged += new AnnotationTypeInfoListEvent(AnnotationTypeInfoList_ListChanged);
|
||||
ctrlAnnotationDetails.SetupAnnotations(displaySearch1);
|
||||
SetupButtons();
|
||||
displayBookMarks.MyDisplayTabControl = tc; // allows bookmark selection to bring up steps/docs
|
||||
@@ -426,6 +427,13 @@ namespace VEPROMS
|
||||
ctrlAnnotationDetails.Enter += new EventHandler(ctrlAnnotationDetails_Enter);
|
||||
RunAutomatic();
|
||||
}
|
||||
|
||||
|
||||
void AnnotationTypeInfoList_ListChanged()
|
||||
{
|
||||
displaySearch1.SetupAnnotationSearch(ctrlAnnotationDetails, tc);
|
||||
ctrlAnnotationDetails.SetupAnnotations(displaySearch1);
|
||||
}
|
||||
private void RunAutomatic()
|
||||
{
|
||||
string[] parameters = System.Environment.CommandLine.Split(" ".ToCharArray());
|
||||
|
Reference in New Issue
Block a user