Allow History to be visible when Procedure is selected

Initially, don't show the History tab (until something is selected)
This commit is contained in:
Rich 2011-08-02 19:39:44 +00:00
parent 540a661496
commit 7ec5ca5555
2 changed files with 2 additions and 0 deletions

View File

@ -1210,6 +1210,7 @@ namespace VEPROMS
this.infotabHistory.AttachedControl = this.tabControlPanel1;
this.infotabHistory.Name = "infotabHistory";
this.infotabHistory.Text = "History";
this.infotabHistory.Visible = false;
//
// tabControlPanel1
//

View File

@ -1098,6 +1098,7 @@ namespace VEPROMS
}
else
{
infotabHistory.Visible = true;
if (args.MyEditItem.MyItemInfo.IsSection || args.MyEditItem.MyItemInfo.IsProcedure)
{
infotabRO.Visible = infotabTransition.Visible = false;