Query_ProductTraceBack.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using UAS_MES_NEW.DataOperate;
  10. using UAS_MES_NEW.Entity;
  11. using UAS_MES_NEW.PublicMethod;
  12. namespace UAS_MES_NEW.Query
  13. {
  14. public partial class Query_ProductTraceBack : Form
  15. {
  16. DataHelper dh;
  17. AutoSizeFormClass asc = new AutoSizeFormClass();
  18. public Query_ProductTraceBack()
  19. {
  20. InitializeComponent();
  21. }
  22. private void 产品制程追溯_Load(object sender, EventArgs e)
  23. {
  24. asc.controllInitializeSize(this);
  25. dh = SystemInf.dh;
  26. ma_code.TableName = "make left join product on ma_prodcode=pr_code";
  27. ma_code.SelectField = "ma_code # 工单号,ma_prodcode # 产品编号,ma_qty # 工单数量,pr_detail # 产品名称";
  28. ma_code.FormName = Name;
  29. ma_code.DBTitle = "工单查询";
  30. ma_code.SetValueField = new string[] { "ma_code", "ma_prodcode", "ma_qty", "pr_detail" };
  31. }
  32. private void 产品制程追溯_SizeChanged(object sender, EventArgs e)
  33. {
  34. asc.controlAutoSize(this);
  35. }
  36. private void Search_Click(object sender, EventArgs e)
  37. {
  38. }
  39. }
  40. }