启动 加载语言配置文件
This commit is contained in:
@@ -114,7 +114,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
|
||||
private void frmMainDetail_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.SetFormControlText(GlobalHelper.LanguageCode);
|
||||
this.SetFormControlText();
|
||||
try
|
||||
{
|
||||
InitControlEvent();
|
||||
@@ -291,7 +291,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("主业务界面加载发生异常", "LoadMainDetailFrmExp") + $":【{ex.Message}】!");
|
||||
KryptonMessageBox.Show(this.GetInfoText("主业务界面加载发生异常", "LoadMainDetailFrmExp") + $":【{ex.Message}】!");
|
||||
LogHelper.WriteLog($"1111【{ex.Message}】", LogTypeEum.Err);
|
||||
}
|
||||
}
|
||||
@@ -1586,19 +1586,19 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
if (string.IsNullOrEmpty(kcmb_SheetType.Text.Trim()))
|
||||
{
|
||||
//KryptonMessageBox.Show("请输入板材类型信息!!");
|
||||
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请输入板材类型信息!", "EnterSheetTypeInfo"));
|
||||
KryptonMessageBox.Show(this.GetInfoText("请输入板材类型信息!", "EnterSheetTypeInfo"));
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(ktb_IR.Text.Trim()))
|
||||
{
|
||||
//KryptonMessageBox.Show("请输入IR收货编号信息!!");
|
||||
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请输入IR收货编号信息!", "EnterIRMsgInfo"));
|
||||
KryptonMessageBox.Show(this.GetInfoText("请输入IR收货编号信息!", "EnterIRMsgInfo"));
|
||||
return;
|
||||
}
|
||||
if (!kdtp_RecordDate.Checked)
|
||||
{
|
||||
//KryptonMessageBox.Show("请选择录入时间!!");
|
||||
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("请选择录入时间!", "EnterInputTimeInfo"));
|
||||
KryptonMessageBox.Show(this.GetInfoText("请选择录入时间!", "EnterInputTimeInfo"));
|
||||
return;
|
||||
}
|
||||
//string sqlWorkPallet = $@"SELECT * FROM CM_WORKING_PALLET WHERE WORKING_STATUS = 0";
|
||||
@@ -1875,7 +1875,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
catch (Exception ex)
|
||||
{
|
||||
//KryptonMessageBox.Show("保存IR数据发生异常!" + ex.Message);
|
||||
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("保存作业板材和IR数据发生异常", "SaveSheetIRDataExp") + $":【{ex.Message}】!");
|
||||
KryptonMessageBox.Show(this.GetInfoText("保存作业板材和IR数据发生异常", "SaveSheetIRDataExp") + $":【{ex.Message}】!");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2322,7 +2322,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
{
|
||||
if (ktb_IR.Enabled)
|
||||
{
|
||||
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("当前没有作业中的IR信息!", "CurrWorkingIsNoIrMsg"));
|
||||
KryptonMessageBox.Show(this.GetInfoText("当前没有作业中的IR信息!", "CurrWorkingIsNoIrMsg"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user