using Core.Mes.Client.Comm.Control; using Core.Mes.Client.Comm.Server; using CoreFS.CA06; using System; using System.Data; using System.Windows.Forms; namespace Core.StlMes.Client.Qcm { public partial class FrmBlCodeManageOrder : FrmBase { public FrmBlCodeManageOrder(OpeBase ob, string blCode) { InitializeComponent(); this.ob = ob; try { this.Cursor = Cursors.WaitCursor; DataTable dt = ServerHelper.GetData("com.steering.pss.qcm.BLCodeManage.getUseOrder", new object[] { blCode }, ob); GridHelper.CopyDataToDatatable(dt, dataTable1, true); } finally { this.Cursor = Cursors.Default; } } private void craftImg_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e) { string filePath = ultraGrid1.ActiveRow.GetValue("CRAFT_PATH"); FormFileDown down = new FormFileDown(ob, filePath); down.DeleteButton.Visible = false; down.ShowDialog(); } } }