Form3.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.Threading.Tasks;
  9. using System.Windows.Forms;
  10. using TempDbToWang;
  11. namespace WindowsFormsApplication1
  12. {
  13. public delegate void DelUR(TempDbToWang.BaseUpload UR);
  14. public partial class Form3 : Form
  15. {
  16. private DelUR _del;
  17. public Form3(DelUR del)
  18. {
  19. this._del = del;
  20. InitializeComponent();
  21. }
  22. private void button1_Click(object sender, EventArgs e)
  23. {
  24. _del(new UploadRdrecord08());
  25. }
  26. private void button2_Click(object sender, EventArgs e)
  27. {
  28. _del(new UploadRdrecord09());
  29. }
  30. private void button3_Click(object sender, EventArgs e)
  31. {
  32. UploadRdrecord09 AssembleOut = new UploadRdrecord09();
  33. AssembleOut.StrSql = "and cBusType='组装出库'";
  34. _del(AssembleOut);
  35. }
  36. }
  37. }