浏览代码

Added menu option to create a blank report on a digital form

Kenric Nugteren 1 年之前
父节点
当前提交
1d5760af39
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      inabox.wpf/DigitalForms/DigitalFormReportGrid.cs

+ 2 - 0
inabox.wpf/DigitalForms/DigitalFormReportGrid.cs

@@ -168,6 +168,8 @@ namespace InABox.DynamicGrid
                 {
                     menu.AddItem($"{layout.Code}: {layout.Description}", null, layout, AddLayout);
                 }
+                menu.AddSeparatorIfNeeded();
+                menu.AddItem("Create blank report", null, () => base.DoAdd());
                 menu.IsOpen = true;
             }
         }