You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.5 KiB
56 lines
1.5 KiB
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 Stone.Common;
|
|
|
|
namespace Stone.WinModule.BasicData
|
|
{
|
|
public partial class frmJISLogCheck : Form
|
|
{
|
|
public DataTable dtData = null;
|
|
public frmJISLogCheck()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void frmJISLogCheck_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void btnOK_Click(object sender, EventArgs e)
|
|
{
|
|
try
|
|
{
|
|
if (!MyValidator.IsEmpty(this.txtReason, "")) return;
|
|
|
|
Entity.Entity_t_JIS_Log t_JIS_Log = new Entity.Entity_t_JIS_Log();
|
|
dtData.Rows[0]["ProcessState"] = "Success";
|
|
dtData.Rows[0]["CheckTime"] = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
|
dtData.Rows[0]["CheckUser"] = User.UserInfo.UserName;
|
|
dtData.Rows[0]["Reason"] = MyStrings.GetString(this.txtReason.Text.Trim());
|
|
t_JIS_Log.Edit(dtData.Rows[0]);
|
|
|
|
|
|
this.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.Close();
|
|
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
MyMessageBox.ShowErrorMessage(ex.Message);
|
|
}
|
|
|
|
}
|
|
|
|
private void btnClose_Click(object sender, EventArgs e)
|
|
{
|
|
this.Close();
|
|
}
|
|
}
|
|
}
|
|
|