基线 SVN r240
SVN-Revision: r240
This commit is contained in:
@@ -0,0 +1,113 @@
|
||||
/***********************
|
||||
* 说明:单据提醒选择窗口
|
||||
* 创建人:龚宇超
|
||||
* 创建日期: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.Control.Model;
|
||||
using Lskj.Data;
|
||||
using Lskj.Util;
|
||||
using Lskj.Business;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Diagnostics;
|
||||
using Lskj.Core;
|
||||
using Lskj.Business.Impl;
|
||||
|
||||
namespace Lskj.PubAccraditation2
|
||||
{
|
||||
public partial class FrmRemindSelectForm : BaseForm
|
||||
{
|
||||
public FrmRemindSelectForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 确认用户
|
||||
/// </summary>
|
||||
public string ConfirmOpers = "";
|
||||
/// <summary>
|
||||
/// 键值
|
||||
/// </summary>
|
||||
public string FieldValue;
|
||||
/// <summary>
|
||||
/// 模块编号
|
||||
/// </summary>
|
||||
public string MenuCode;
|
||||
/// <summary>
|
||||
/// 提醒用户
|
||||
/// </summary>
|
||||
public string RemindOpers = "";
|
||||
/// <summary>
|
||||
/// <para>说明:窗体加载时</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-12-25 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
WaitForm.ShowForm();
|
||||
try
|
||||
{
|
||||
this.frmRemindSelectEx.InitializeSetting(this.FieldValue, this.MenuCode);
|
||||
this.frmRemindSelectEx.OnOkCallback += new EventHandler(btnExamineOkAfertClosing);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message,ex.Message);
|
||||
|
||||
LogHelper.Instance.WriteError(ex, ResourceKeys.BaseModuleAudit);
|
||||
|
||||
}
|
||||
Lskj.Control.Model.AutoSizeChange.ControllInitializeSize(this);
|
||||
WaitForm.HideForm();
|
||||
}
|
||||
|
||||
#region 关闭窗口前保存数据
|
||||
/// <summary>
|
||||
/// <para>说明:确认审核后直接关闭界面</para>
|
||||
/// <para>创建人:王一帆</para>
|
||||
/// <para>创建日期:2020-07-13 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
||||
private void btnExamineOkAfertClosing(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.frmRemindSelectEx.GetClosingSelectOpers(ref ConfirmOpers, ref RemindOpers);
|
||||
this.DialogResult = DialogResult.Yes;
|
||||
this.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message,ex.Message);
|
||||
|
||||
LogHelper.Instance.WriteError(ex, ResourceKeys.BaseModuleAudit);
|
||||
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user