frmPopNoticeItemSpit.cs 1012 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 CoreFS.CA06;
  10. using Pur.Entity;
  11. namespace Pur.order
  12. {
  13. public partial class frmPopNoticeItemSpit : FrmPmsBase
  14. {
  15. public string tips = "0";
  16. public double num = 1;
  17. public frmPopNoticeItemSpit()
  18. {
  19. InitializeComponent();
  20. }
  21. public frmPopNoticeItemSpit(OpeBase OB)
  22. {
  23. this.ob = OB;
  24. InitializeComponent();
  25. }
  26. private void btn_doSure_Click(object sender, EventArgs e)
  27. {
  28. if (Convert.ToDouble(db_Num.Value) >= 2)
  29. {
  30. tips = "1";
  31. num = Convert.ToDouble(db_Num.Value);
  32. this.Close();
  33. }
  34. }
  35. private void frmPopNoticeItemSpit_Load(object sender, EventArgs e)
  36. {
  37. db_Num.Value = 2;
  38. }
  39. }
  40. }