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; namespace Core.StlMes.Client.SaleOrder { public partial class frmOrderlaw : FrmBase { public CoreFS.CA06.OpeBase oPbc = null; public string v_reason = ""; public frmOrderlaw() { InitializeComponent(); } private void frmOrderlaw_Load(object sender, EventArgs e) { this.ob = oPbc; } private void button1_Click(object sender, EventArgs e) { if (cho_reason.Text == "") { MessageBox.Show("请输入审批不通过原因!", "提示"); return; } else { v_reason = cho_reason.Text; } this.DialogResult = DialogResult.OK; this.Close(); } private void chm_close_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.Cancel; this.Close(); } } }