FrmBlCodeManageOrder.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using Core.Mes.Client.Comm.Control;
  2. using Core.Mes.Client.Comm.Server;
  3. using CoreFS.CA06;
  4. using System;
  5. using System.Data;
  6. using System.Windows.Forms;
  7. namespace Core.StlMes.Client.Qcm
  8. {
  9. public partial class FrmBlCodeManageOrder : FrmBase
  10. {
  11. public FrmBlCodeManageOrder(OpeBase ob, string blCode)
  12. {
  13. InitializeComponent();
  14. this.ob = ob;
  15. try
  16. {
  17. this.Cursor = Cursors.WaitCursor;
  18. DataTable dt = ServerHelper.GetData("com.steering.pss.qcm.BLCodeManage.getUseOrder", new object[] { blCode }, ob);
  19. GridHelper.CopyDataToDatatable(dt, dataTable1, true);
  20. }
  21. finally
  22. {
  23. this.Cursor = Cursors.Default;
  24. }
  25. }
  26. private void craftImg_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e)
  27. {
  28. string filePath = ultraGrid1.ActiveRow.GetValue("CRAFT_PATH");
  29. FormFileDown down = new FormFileDown(ob, filePath);
  30. down.DeleteButton.Visible = false;
  31. down.ShowDialog();
  32. }
  33. }
  34. }