ItemInfo PropertyGrid for Debug
This commit is contained in:
@@ -133,9 +133,16 @@ namespace VEPROMS
|
||||
_MyBookMarks = MostRecentItemList.GetMRILst((System.Collections.Specialized.StringCollection)(Properties.Settings.Default["BookMarks"]));
|
||||
SetupMRU();
|
||||
SetupBookMarks();
|
||||
displaySearch1.SetupAnnotationSearch(ctrlAnnotationDetails, tc);
|
||||
ctrlAnnotationDetails.SetupAnnotations(displaySearch1);
|
||||
|
||||
displaySearch1.SetupAnnotationSearch(ctrlAnnotationDetails, tc);
|
||||
ctrlAnnotationDetails.SetupAnnotations(displaySearch1);
|
||||
SetupButtons();
|
||||
}
|
||||
private void SetupButtons()
|
||||
{
|
||||
#if (DEBUG)
|
||||
#else
|
||||
labelItem1.Visible = btnItemInfo.Visible = false;
|
||||
#endif
|
||||
}
|
||||
#region MRU
|
||||
private MostRecentItemList _MyMRIList;
|
||||
@@ -1214,5 +1221,11 @@ namespace VEPROMS
|
||||
// TODO: Need to send message to all StepTabPanels and tell them to minimize their ribbons.
|
||||
tc.RibbonExpanded = ribbonControl1.Expanded;
|
||||
}
|
||||
|
||||
private void btnItemInfo_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmPropGrid pg = new frmPropGrid(tc.SelectedDisplayTabItem.SelectedItemInfo, tc.SelectedDisplayTabItem.SelectedItemInfo.Path);
|
||||
pg.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user