Query_ProductTraceBack.cs 1.2 KB

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