Logic to enable/disable the Continuous Action Summary ribbon button

Continuous Action Summary logic
This commit is contained in:
2015-10-23 18:14:53 +00:00
parent 8708d0bbfc
commit c9ab2fc2d5
4 changed files with 83 additions and 39 deletions

View File

@@ -254,9 +254,15 @@ namespace Volian.Controls.Library
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;
this.MyStepTabPanel.MyStepTabRibbon.btnCASCreate.Enabled = false;
}
else
{
this.MyStepTabPanel.MyStepTabRibbon.btnPdfCreate.Enabled = true;
this.MyStepTabPanel.MyStepTabRibbon.btnCASCreate.Enabled = true;
}
//end added by jcb 20130718
}
void _MyItemInfo_Changed(object sender)