This commit is contained in:
gongxh
2022-05-06 09:05:37 +08:00
parent 7e9c7ca86f
commit 3acbcc78c7

View File

@@ -3165,10 +3165,11 @@ namespace CleanMachineHMI.FrmUserControl
if (ktb_SaveIR.Enabled)
{
KryptonMessageBox.Show("If IR information is not entered, the termination cannot be forced.");
return;
}
DialogResult dr = KryptonMessageBox.Show("Are you sure you want to force the end of the current IR assignment? If you continue to reset the current job information, you will need to enter new IR and sheet information. Please carefully operation!!!", "Prompt", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
DialogResult dr = KryptonMessageBox.Show("Are you sure you want to force the end of the current IR assignment? \n If you continue to reset the current job information, you will need to enter new IR and sheet information.\n Please carefully operation!!!", "Prompt", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (dr == DialogResult.Yes)
{
//
@@ -3181,7 +3182,7 @@ namespace CleanMachineHMI.FrmUserControl
int num = Convert.ToInt32(dt.Rows[0][0]);
if (num == 0)
{
dr = KryptonMessageBox.Show("There is no plate count in the current IR. If the confirmation continues, all information in the current IR will be deleted. Please carefully operation!!!", "Prompt", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
dr = KryptonMessageBox.Show("There is no plate count in the current IR. \n If the confirmation continues, all information in the current IR will be deleted.\n Please carefully operation!!!", "Prompt", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (dr == DialogResult.Yes)
{
string sql1 = $@"delete from CM_WORKING_PALLET where WORKING_PALLET_CODE in (select WORKING_PALLET_CODE from CM_WORKING_PALLET_DTL where IR_CODE = '{ktb_IR.Text}')";
@@ -3456,15 +3457,7 @@ namespace CleanMachineHMI.FrmUserControl
kryptonButton3.Enabled = true;
}
private void cbt_ResetSys_Click(object sender, EventArgs e)
{
}
private void button1_Click_1(object sender, EventArgs e)
{
}
private void cbt_StartTran_Click(object sender, EventArgs e)
{