debug ifdef for a property page view

This commit is contained in:
Jsj 2008-01-04 13:35:35 +00:00
parent f96b1cc7cb
commit d73d0e1220

View File

@ -118,7 +118,10 @@ namespace VEPROMS
} }
} }
} }
#if (DEBUG)
// to display a property page view
//private frmPropGrid f; //private frmPropGrid f;
#endif
void btnItem_Click(object sender, EventArgs e) void btnItem_Click(object sender, EventArgs e)
{ {
@ -127,8 +130,11 @@ namespace VEPROMS
//SaveMRU(); //SaveMRU();
SetupMRU(); SetupMRU();
if (mri != null) tc.OpenItem(mri.MyItem); if (mri != null) tc.OpenItem(mri.MyItem);
#if (DEBUG)
// display a property page contianing the Tab Cotrol information
//f = new frmPropGrid(tc); //f = new frmPropGrid(tc);
//f.Show(); //f.Show();
#endif
} }
private void SaveMRU() private void SaveMRU()
{ {