Display a MessageBox if in debug mode ItemInfo (frmPropGrid) is opened without selecting an Item
Added Interface properties SearchDVPath and SearchPath
This commit is contained in:
@@ -983,7 +983,6 @@ namespace VEPROMS
|
||||
{
|
||||
toolsPanel.Expanded = true;
|
||||
toolsTabs.SelectedTab = tabItemLibDocs;
|
||||
toolsTabs.SelectedTab.PerformClick();
|
||||
}
|
||||
else if (args.PanelTabName == "Annots")
|
||||
{
|
||||
@@ -1405,8 +1404,13 @@ namespace VEPROMS
|
||||
|
||||
private void btnItemInfo_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmPropGrid pg = new frmPropGrid(tc.SelectedDisplayTabItem.SelectedItemInfo, tc.SelectedDisplayTabItem.SelectedItemInfo.Path);
|
||||
pg.Show();
|
||||
if (tc.SelectedDisplayTabItem != null && tc.SelectedDisplayTabItem.SelectedItemInfo != null)
|
||||
{
|
||||
frmPropGrid pg = new frmPropGrid(tc.SelectedDisplayTabItem.SelectedItemInfo, tc.SelectedDisplayTabItem.SelectedItemInfo.Path);
|
||||
pg.Show();
|
||||
}
|
||||
else
|
||||
MessageBox.Show("Select Item First", "Item not selected", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
}
|
||||
|
||||
private void epAnnotations_Resize(object sender, EventArgs e)
|
||||
|
Reference in New Issue
Block a user