Added DevNoteOrCautionTabOffset property
Hid Volian "V" Create PDF button when viewing a multi unit procedure Added null check to mylookup value in ContainsKey method of ItemInfo class
This commit is contained in:
@@ -343,9 +343,15 @@ namespace VEPROMS
|
||||
displayHistory.ApplDisplayMode = pnl.ApplDisplayMode;
|
||||
//added by jcb 20130718 to support enabling/diabling create pdf button until user selects a unit
|
||||
if (pnl.ApplDisplayMode > 0)
|
||||
{
|
||||
pnl.MyStepTabPanel.MyStepTabRibbon.btnPdfCreate.Enabled = true;
|
||||
btnPrint.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
pnl.MyStepTabPanel.MyStepTabRibbon.btnPdfCreate.Enabled = false;
|
||||
btnPrint.Visible = false;
|
||||
}
|
||||
//end added by jcb 20130718
|
||||
}
|
||||
}
|
||||
@@ -1872,8 +1878,11 @@ namespace VEPROMS
|
||||
}
|
||||
SetCaption(tv.SelectedNode as VETreeNode);
|
||||
displayApplicability.MyDisplayTabItem = tc.SelectedDisplayTabItem;
|
||||
Console.WriteLine("tc_SelectedDisplayTabItemChanged");
|
||||
lblUser.Text = tc.SelectedDisplayTabItem.MyUserRole;
|
||||
if (tc.SelectedDisplayTabItem.MyItemInfo.MyDocVersion.MultiUnitCount > 1)
|
||||
btnPrint.Visible = false;
|
||||
else
|
||||
btnPrint.Visible = true;
|
||||
}
|
||||
private void tc_StepPanelModeChange(object sender, StepRTBModeChangeEventArgs args)
|
||||
{
|
||||
|
Reference in New Issue
Block a user