Added code to support disabling create pdf button when multiunit until user selects a unit

Made btnPdfCreate public
This commit is contained in:
Rich 2013-07-18 19:17:35 +00:00
parent db93956df7
commit 823e6c04f2
2 changed files with 6 additions and 0 deletions

View File

@ -181,6 +181,12 @@ namespace Volian.Controls.Library
if (dvi == null) return;
if (dvi.VersionType > 127)
MyStepTabPanel.MyStepPanel.VwMode = E_ViewMode.View;
//added by jcb 20130718 to support disabling create pdf button when multiunit until user selects a unit
if (dvi.MultiUnitCount > 1)
this.MyStepTabPanel.MyStepTabRibbon.btnPdfCreate.Enabled = false;
else
this.MyStepTabPanel.MyStepTabRibbon.btnPdfCreate.Enabled = true;
//end added by jcb 20130718
}
void DisplayTabItem_LostFocus(object sender, EventArgs e)
{