using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using Lskj.Control;
using Lskj.Business.Impl;
namespace Lskj.Notice
{
public partial class FrmNoticePrompt : BaseForm
{
public FrmNoticePrompt()
{
InitializeComponent();
}
public TextBox TextBoxObj { get { return txtEdit; } }
///
/// 说明:确定事件
/// 创建人:王一帆
/// 创建日期:2020-08-20
/// 修改人:
/// 修改日期:
/// 修改备注:
/// 版本:1.0
///
/// The sender.
/// The instance containing the event data.
void OnBtnOKClick(object sender, EventArgs e)
{
try
{
this.Close();
this.DialogResult = System.Windows.Forms.DialogResult.OK;
}
catch (Exception ex)
{
//MessageUtil.Show(ex);
string Message = ErrorMessage.PromptErrorMessage(ex);
MessageUtil.Show(Message,ex.Message);
}
}
///
/// 说明:取消事件
/// 创建人:王一帆
/// 创建日期:2019-08-20
/// 修改人:
/// 修改日期:
/// 修改备注:
/// 版本:1.0
///
/// The sender.
/// The instance containing the event data.
void OnBtnCancelClick(object sender, EventArgs e)
{
this.Close();
}
}
}