C2020-013 Add submenu to ribbon buttons to print child procedures
This commit is contained in:
parent
7c1a409c0c
commit
07e215a9ca
@ -753,6 +753,7 @@ namespace Volian.Controls.Library
|
||||
|
||||
public void CloseTabItem(DisplayTabItem myTabItem)
|
||||
{
|
||||
if (myTabItem.ContainerControl == null) return;
|
||||
Bar b = myTabItem.ContainerControl as Bar;
|
||||
if (b != null)
|
||||
{
|
||||
|
@ -263,20 +263,8 @@ 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;
|
||||
this.MyStepTabPanel.MyStepTabRibbon.btnCASCreate.Enabled = false;
|
||||
this.MyStepTabPanel.MyStepTabRibbon.btnReviewCreatePDF.Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.MyStepTabPanel.MyStepTabRibbon.btnPdfCreate.Enabled = true;
|
||||
this.MyStepTabPanel.MyStepTabRibbon.btnCASCreate.Enabled = true;
|
||||
this.MyStepTabPanel.MyStepTabRibbon.btnReviewCreatePDF.Enabled = true;
|
||||
}
|
||||
//end added by jcb 20130718
|
||||
this.MyStepTabPanel.MyStepTabRibbon.SetParentChildCreatePDFButton(dvi.UnitNames); //C2020-013 add parent/child sub menu items for printing specific children (units)
|
||||
}
|
||||
void _MyItemInfo_Changed(object sender)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user