Total.DesignExt.cs 582 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.ComponentModel;
  5. using System.Drawing.Design;
  6. using System.Windows.Forms;
  7. using FastReport.Utils;
  8. using FastReport.TypeEditors;
  9. using FastReport.Forms;
  10. namespace FastReport.Data
  11. {
  12. partial class Total : IHasEditor
  13. {
  14. #region Public Methods
  15. /// <inheritdoc/>
  16. public bool InvokeEditor()
  17. {
  18. using (TotalEditorForm form = new TotalEditorForm(Report.Designer))
  19. {
  20. form.Total = this;
  21. return form.ShowDialog() == DialogResult.OK;
  22. }
  23. }
  24. #endregion
  25. }
  26. }