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:
Rich
2014-01-24 05:13:03 +00:00
parent 242d03bba6
commit d959824dd4
6 changed files with 26 additions and 9 deletions

View File

@@ -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)
{