| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- 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();
- }
- /// <summary>
- /// 初始化控件
- /// </summary>
- private void InitCol()
- {
- QueryQcmAddAsk();
- }
- /// <summary>
- /// 查询附加要求信息
- /// </summary>
- /// <param name="JudgeStoveNo"></param>
- 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);
- }
- }
- /// <summary>
- /// 取消
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void btnCancel_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- private void FrmQcmAddAsk_Load(object sender, EventArgs e)
- {
- //EntityHelper.ShowGridCaption<QcmAddAskEntity>(ultraGrid3.DisplayLayout.Bands[0]);
- }
- }
- }
|