启动 加载语言配置文件

This commit is contained in:
ehkang
2022-03-18 19:06:26 +08:00
parent 0a4fe0907b
commit 2b39fb593c
48 changed files with 4487 additions and 393 deletions

View File

@@ -118,7 +118,7 @@ namespace CleanMachineHMI.FrmUserControl
private void frmMechineCheck_Load(object sender, EventArgs e)
{
this.SetFormControlText(GlobalHelper.LanguageCode);
this.SetFormControlText();
Thread th1 = new Thread(MainDtlRunTh);
th1.IsBackground = true;
th1.Start();
@@ -246,7 +246,7 @@ namespace CleanMachineHMI.FrmUserControl
PlcOperationHelper.Instance.WritePlcItem("SelfCheckPassFlag", "False", PlcItemTypeDesc.M);
//测试未通过,请检查并重新测试
GlobalHelper.CanOperate = false;
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("测试未通过,请检查设备并重新测试!!", "NoPassShowMsg"));
KryptonMessageBox.Show(this.GetInfoText("测试未通过,请检查设备并重新测试!!", "NoPassShowMsg"));
}
catch (Exception ex)
{