using DevExpress.XtraReports.UI; using OTSIncAReportApp.OTSSampleReportInfo; using OTSIncAReportApp.OTSTemplateDesigner; using OTSIncAReportApp.ReportTemplate; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner { public partial class OTSReport_criterion : Form { GBData export_Report; GBReport GB_Report; OTSReport_Export in_export; Hashtable table; public int Sample_order { set; get; } public OTSReport_criterion(GBData Export_Report, GBReport gb_Report, OTSReport_Export In_export) { GB_Report = gb_Report; in_export = In_export; export_Report = Export_Report; InitializeComponent(); #region 国际化语言 OTSCommon.Language lan = new OTSCommon.Language(this); table = lan.GetNameTable(this.Name); #endregion } private void button1_Click(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; export_Report.criterion_out(GB_Report, in_export, Sample_order, table, GB_cb_1.Checked, GB_cb_2.Checked,false,false); Cursor.Current = Cursors.WaitCursor; this.Close(); } } }