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.
53 lines
1.4 KiB
53 lines
1.4 KiB
2 months ago
|
using Stone.Common;
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel;
|
||
|
using System.Data;
|
||
|
using System.Drawing;
|
||
|
using System.Text;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace Stone.WinModule.JisData
|
||
|
{
|
||
|
public partial class frmPJISErrorCarpet : Stone.WinModule.BasicData.frmBaseMainDetail
|
||
|
{
|
||
|
public frmPJISErrorCarpet()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
}
|
||
|
|
||
|
private void frmPJISErrorCarpet_Load(object sender, EventArgs e)
|
||
|
{
|
||
|
this.Text = "JIS地毯错误处理";
|
||
|
}
|
||
|
|
||
|
public override bool GetData()
|
||
|
{
|
||
|
if (!MyValidator.IsEmpty(this.txtModuno, "")) return false;
|
||
|
|
||
|
base.GetData();
|
||
|
drData["Moduno"] = MyStrings.GetString(this.txtModuno.Text.Trim());
|
||
|
drData["IsError"] = this.txtIsError.Checked;
|
||
|
drData["ErrorMsg"] = MyStrings.GetString(this.txtErrorMessage.Text.Trim());
|
||
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public override bool SetData()
|
||
|
{
|
||
|
|
||
|
if (base.SetData())
|
||
|
{
|
||
|
this.txtProductionNo.Text = drData["ProductionNo"].ToString();
|
||
|
this.txtModuno.Text = drData["Moduno"].ToString();
|
||
|
this.txtIsError.Checked = Convert.ToBoolean(drData["IsError"]);
|
||
|
this.txtErrorMessage.Text = drData["ErrorMsg"].ToString();
|
||
|
}
|
||
|
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|