基线 SVN r240
SVN-Revision: r240
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
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 DevExpress.XtraEditors;
|
||||
using Lskj.Business;
|
||||
using Lskj.Business.Impl;
|
||||
|
||||
namespace Lskj.Control
|
||||
{
|
||||
public partial class FrmBack : BaseForm
|
||||
{
|
||||
public string ComfirmMsg = string.Empty;
|
||||
public FrmBack(string hint)
|
||||
{
|
||||
InitializeComponent();
|
||||
Lskj.Control.Model.AutoSizeChange.ControllInitializeSize(this);
|
||||
memInput.Text = "";
|
||||
ComfirmMsg = "";
|
||||
labelHint.Text = hint;
|
||||
}
|
||||
/// <summary>
|
||||
/// 确认审批
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btnOk(object sender, EventArgs e)
|
||||
{
|
||||
try {
|
||||
ComfirmMsg = memInput.Text;
|
||||
if (ComfirmMsg.Trim() == "")
|
||||
ComfirmMsg = "未填写任何内容";
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show("确认审批!" + Message);
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 取消审批
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btnCancel(object sender, EventArgs e)
|
||||
{
|
||||
try {
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show("取消审批"+Message);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user