/*********************** * 说明:单据回退选择 * 创建人:龚宇超 * 创建日期:2018-01-09 * 修改人: * 修改日期: * 修改备注: * 版本:1.0.0.0 ***********************/ 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 Lskj.Control; using Lskj.Model; using Lskj.Business.Impl; using Lskj.Control.Model; using Lskj.Data; using Lskj.PubAccraditation2; using Lskj.Business; using Lskj.Core; using System.Diagnostics; using System.Text.RegularExpressions; namespace Lskj.Control { public partial class FrmExamine : BaseForm { /// /// 选择进度编号 /// public int SelectStepCode; /// /// 返退意见 /// public string ComfirmMsg; /// /// 单据模型 /// public BillModel BillModelObj; /// /// 弹出模块 /// public DynamicPubAccraditionPopModel SysModel; /// /// 审批流转模型 /// private FlowTypeStepModel _flowTypeStepModel; /// /// 单据审批表模型 /// private BillAuditCommonModel _billAuditModel; /// /// 说明:审批表格点击审批回调 /// 创建人:龚宇超 /// 创建日期:2017-12-21 /// 修改人: /// 修改日期: /// 修改备注: /// 版本:1.0 /// public event EventHandler ExamineOkCallBack; public FrmExamine() { InitializeComponent(); Lskj.Control.Model.AutoSizeChange.ControllInitializeSize(this); this.CheckSuggestion.TextEdit.SelectedValueChanged += new EventHandler(CheckSuggestion_Click); } #region 常用意见 /// /// 说明:常用意见下拉框事件 /// 创建人:龚宇超 /// 创建日期:2018-01-08 /// 修改人: /// 修改日期: /// 修改备注: /// 版本:1.0 /// /// The source of the event. /// The instance containing the event data. protected void CheckSuggestion_Click(object sender, EventArgs e) { try { this.txtRemark.EditText = this.CheckSuggestion.EditText; } catch (Exception ex) { string Message = ErrorMessage.PromptErrorMessage(ex); MessageUtil.Show(Message,ex.Message); } } #endregion /// /// 说明:确定事件/para> /// 创建人:龚宇超 /// 创建日期:2018-01-09 /// 修改人: /// 修改日期: /// 修改备注: /// 版本:1.0 /// /// The source of the event. /// The instance containing the event data. private void btnOk_CallBack(object sender, EventArgs e) { try { if (ExamineOkCallBack != null) ExamineOkCallBack(this, e); this.Close(); } catch (Exception ex) { string Message = ErrorMessage.PromptErrorMessage(ex); MessageUtil.Show(Message,ex.Message); } } /// /// 说明:取消事件 /// 创建人:龚宇超 /// 创建日期:2018-01-23 /// 修改人: /// 修改日期: /// 修改备注: /// 版本:1.0 /// /// The source of the event. /// The instance containing the event data. private void btnCancel_CallBack(object sender, EventArgs e) { try { this.DialogResult = DialogResult.Cancel; this.Close(); } catch (Exception ex) { string Message = ErrorMessage.PromptErrorMessage(ex); MessageUtil.Show(Message,ex.Message); } } } }