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; using CoreFS.CA06; using Core.Mes.Client.Comm.Tool; namespace Core.StlMes.Client.Lims.Data.Mat { public partial class WinCancelReason : FrmBase { public WinCancelReason() { InitializeComponent(); } private string strRemark;//不合格说明 public string StrRemark { get { return strRemark; } set { strRemark = value; } } private void btnOk_Click(object sender, EventArgs e) { if (txtREMARK.Text.Trim() == "") { MessageUtil.ShowWarning("取消说明不能为空!"); return; } this.StrRemark = txtREMARK.Text.Trim(); this.DialogResult = DialogResult.OK; } } }