using Core.Mes.Client.Comm.Control; using Core.Mes.Client.Comm.Server; using CoreFS.CA06; using System; using System.Data; namespace Core.StlMes.Client.Judge.Forms { public partial class FrmCoupling : FrmBase { private string _JudgeStoveNo = ""; private string _BatchNo = ""; private OpeBase _ob = null; public FrmCoupling(string judgeStoveNo, string batchNo, OpeBase ob) { InitializeComponent(); _JudgeStoveNo = judgeStoveNo; _BatchNo = batchNo; _ob = ob; InitCol(); } /// /// 初始化控件 /// private void InitCol() { QueryQcmAddAsk(); } /// /// 查询附加要求信息 /// /// private void QueryQcmAddAsk() { DataTable dt = ServerHelper.GetData("com.steering.pss.judge.DAL.QcmZbsQueryFrm.QueryCoupling", new object[] { _JudgeStoveNo, _BatchNo }, this._ob); if (dt.Rows.Count > 0 && dt != null) { GridHelper.CopyDataToDatatable(dt, this.dataTable1, true); //GridHelper.RefreshAndAutoSize(this.ultraGrid1); } } /// /// 取消 /// /// /// private void btnCancel_Click(object sender, EventArgs e) { this.Close(); } private void FrmQcmAddAsk_Load(object sender, EventArgs e) { //EntityHelper.ShowGridCaption(ultraGrid3.DisplayLayout.Bands[0]); } } }