Added code to support disabling create pdf button when multiunit until user selects a unit
Made btnPdfCreate public
This commit is contained in:
parent
db93956df7
commit
823e6c04f2
@ -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)
|
||||
{
|
||||
|
BIN
PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
generated
BIN
PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
generated
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user