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 PTMedicalInsurance.Forms.SettlementWithNopwdApplys { public partial class ApplyReason : Form { public string reason; public ApplyReason() { InitializeComponent(); } private void btOK_Click(object sender, EventArgs e) { reason = rtbReason.Text; DialogResult = DialogResult.OK; } private void btnCancel_Click(object sender, EventArgs e) { DialogResult = DialogResult.Cancel; } } }