ab56a9bcf7
SVN-Revision: r240
104 lines
3.2 KiB
C#
104 lines
3.2 KiB
C#
/***********************
|
|
* 说明:基础档案审批确认人和提醒人设置
|
|
* 创建人:龚宇超
|
|
* 创建日期:2017-12-22
|
|
* 修改人:
|
|
* 修改日期:
|
|
* 修改备注:
|
|
* 版本: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.Model;
|
|
using Lskj.Util;
|
|
using Lskj.Control;
|
|
using Lskj.Data;
|
|
using Lskj.Business.Impl;
|
|
|
|
namespace Lskj.BaseAccraditation
|
|
{
|
|
public partial class FrmRemindSelectForm : BaseForm
|
|
{
|
|
public FrmRemindSelectForm()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
/// <summary>
|
|
/// 确认人
|
|
/// </summary>
|
|
public string ConfirmOpers = string.Empty;
|
|
/// <summary>
|
|
/// 键值
|
|
/// </summary>
|
|
public string KeyValue;
|
|
/// <summary>
|
|
/// 模块编号
|
|
/// </summary>
|
|
public string MenuCode;
|
|
/// <summary>
|
|
/// 提醒人
|
|
/// </summary>
|
|
public string RemindOpers = string.Empty;
|
|
/// <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.KeyValue, this.MenuCode);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogHelper.Instance.WriteError(ex, ResourceKeys.BaseModuleAudit);
|
|
MessageUtil.Show(ex);
|
|
}
|
|
WaitForm.HideForm();
|
|
}
|
|
|
|
#region 关闭窗口前保存数据
|
|
/// <summary>
|
|
/// <para>说明:窗体关闭时</para>
|
|
/// <para>创建人:龚宇超</para>
|
|
/// <para>创建日期:2017-12-25 </para>
|
|
/// <para>修改人:</para>
|
|
/// <para>修改日期:</para>
|
|
/// <para>修改备注:</para>
|
|
/// <para>版本:1.0</para>
|
|
/// </summary>
|
|
/// <param name="sender">The source of the event.</param>
|
|
/// <param name="e">The <see cref="FormClosingEventArgs"/> instance containing the event data.</param>
|
|
private void frmRemindSelectForm_FormClosing(object sender, FormClosingEventArgs e)
|
|
{
|
|
try
|
|
{
|
|
this.DialogResult = MessageUtil.Show(string.Format(ResourceKeys.IfCloseAudit), MessageBoxButtons.YesNo);
|
|
if (this.DialogResult == DialogResult.Yes)
|
|
{
|
|
this.frmRemindSelectEx.GetClosingSelectOpers(ref ConfirmOpers, ref RemindOpers);
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogHelper.Instance.WriteError(ex, ResourceKeys.BaseModuleAudit);
|
|
MessageUtil.Show(ex);
|
|
}
|
|
}
|
|
#endregion
|
|
}
|
|
}
|