Query_ProductTraceBack.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. try { UAS_MES_NEW.I18n.LanguageManager.Localize(this); } catch { }
  22. }
  23. private void 产品制程追溯_Load(object sender, EventArgs e)
  24. {
  25. asc.controllInitializeSize(this);
  26. dh = SystemInf.dh;
  27. ma_code.TableName = "make left join product on ma_prodcode=pr_code";
  28. ma_code.SelectField = "ma_code # 工单号,ma_prodcode # 产品编号,ma_qty # 工单数量,pr_detail # 产品名称";
  29. ma_code.FormName = Name;
  30. ma_code.DBTitle = "工单查询";
  31. ma_code.SetValueField = new string[] { "ma_code", "ma_prodcode", "ma_qty", "pr_detail" };
  32. }
  33. private void 产品制程追溯_SizeChanged(object sender, EventArgs e)
  34. {
  35. asc.controlAutoSize(this);
  36. }
  37. private void Search_Click(object sender, EventArgs e)
  38. {
  39. }
  40. }
  41. }