using Sunny.UI; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace LeatherApp.Page { public partial class FErpMesEdit : UIEditForm { public string erpInfo; public FErpMesEdit(string mesInfo) { InitializeComponent(); textBox1.Text = mesInfo; erpInfo = mesInfo; } private void btnCancel_Click(object sender, EventArgs e) { this.Close(); } private void btnOK_Click(object sender, EventArgs e) { erpInfo = textBox1.Text; this.Close(); } } }