This commit is contained in:
@@ -44,7 +44,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
}
|
||||
private ItemInfo MyItemInfo
|
||||
{ get { return _MyStepRTB.MyItemInfo; } }
|
||||
{ get { return _MyStepRTB==null?null:_MyStepRTB.MyItemInfo; } }
|
||||
|
||||
private DevComponents.DotNetBar.ButtonItem _DefaultContextMenu;
|
||||
|
||||
@@ -1254,6 +1254,7 @@ namespace Volian.Controls.Library
|
||||
|
||||
private void btnPdfCreate_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (MyItemInfo == null) return; // if creating a pdf before rtb exists, return;
|
||||
OnPrintRequest(new StepTabRibbonEventArgs(MyItemInfo.MyProcedure));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user