using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Core.StlMes.Client.SaleOrder { public partial class frmOrderApprovals : Form { string memoText = ""; public string MemoText { get { return memoText; } set { memoText = value; } } public frmOrderApprovals() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(textBoxMeMo.Text)) { MessageBox.Show("不允许为空!"); return; } memoText = textBoxMeMo.Text; this.Close(); } } }