CISWizard.cs 937 B

123456789101112131415161718192021222324252627282930313233
  1. using System.Windows.Forms;
  2. using FastReport.Design;
  3. using FastReport.Forms;
  4. namespace FastReport.Wizards
  5. {
  6. /// <summary>
  7. /// Represents the "Control identification sign" wizard.
  8. /// </summary>
  9. public class ControlIdentificationSignWizard : WizardBase
  10. {
  11. /// <inheritdoc/>
  12. public override bool Run(Designer designer)
  13. {
  14. if (!designer.CreateEmptyReport())
  15. return false;
  16. using (CISWizardForm form = new CISWizardForm())
  17. {
  18. form.InitWizard(designer.Report);
  19. bool result = form.ShowDialog() == DialogResult.OK;
  20. return result;
  21. }
  22. }
  23. /// <summary>
  24. /// Initializes a new instance of the <see cref="ControlIdentificationSignWizard"/> class with the default settings.
  25. /// </summary>
  26. public ControlIdentificationSignWizard()
  27. {
  28. }
  29. }
  30. }