OTSReport_criterion.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using OTSIncAReportApp.OTSSampleReportInfo;
  2. using OTSIncAReportApp.OTSTemplateDesigner;
  3. using OTSIncAReportApp.ReportTemplate;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.ComponentModel;
  7. using System.Data;
  8. using System.Drawing;
  9. using System.Linq;
  10. using System.Text;
  11. using System.Threading.Tasks;
  12. using System.Windows.Forms;
  13. namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
  14. {
  15. public partial class OTSReport_criterion : Form
  16. {
  17. Export_ReportTemplate export_Report;
  18. GBReport GB_Report;
  19. OTSReport_Export in_export;
  20. public int Sample_order { set; get; }
  21. public DataTable Language_dt { set; get; }
  22. public OTSReport_criterion(Export_ReportTemplate Export_Report, GBReport gb_Report, OTSReport_Export In_export)
  23. {
  24. GB_Report = gb_Report;
  25. in_export = In_export;
  26. export_Report = Export_Report;
  27. InitializeComponent();
  28. }
  29. private void button1_Click(object sender, EventArgs e)
  30. {
  31. Cursor.Current = Cursors.WaitCursor;
  32. export_Report.criterion_out(GB_Report, in_export, Sample_order, Language_dt, GB_cb_1.Checked, GB_cb_2.Checked,false,false);
  33. Cursor.Current = Cursors.WaitCursor;
  34. this.Close();
  35. }
  36. }
  37. }