ItemInfo PropertyGrid for Debug

This commit is contained in:
Rich
2009-07-30 18:57:25 +00:00
parent b97c21544e
commit 39ef8f06a1
3 changed files with 61 additions and 29 deletions

View File

@@ -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();
}
}
}