frmOrderApprovals.cs 855 B

12345678910111213141516171819202122232425262728293031323334353637
  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. namespace Core.StlMes.Client.SaleOrder
  10. {
  11. public partial class frmOrderApprovals : Form
  12. {
  13. string memoText = "";
  14. public string MemoText
  15. {
  16. get { return memoText; }
  17. set { memoText = value; }
  18. }
  19. public frmOrderApprovals()
  20. {
  21. InitializeComponent();
  22. }
  23. private void button1_Click(object sender, EventArgs e)
  24. {
  25. if (string.IsNullOrEmpty(textBoxMeMo.Text))
  26. {
  27. MessageBox.Show("不允许为空!");
  28. return;
  29. }
  30. memoText = textBoxMeMo.Text;
  31. this.Close();
  32. }
  33. }
  34. }