Sfoglia il codice sorgente

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

Kenric Nugteren 1 anno fa
parent
commit
1d5760af39
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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;
             }
         }