启动 加载语言配置文件

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

@@ -71,7 +71,7 @@ namespace CleanMachineHMI.forms
{
try
{
this.SetFormControlText(GlobalHelper.LanguageCode);
this.SetFormControlText();
foreach (Control item in kryptonPanel1.Controls)
{
if (item.Tag != null && item.Tag.ToString() != "")
@@ -91,7 +91,7 @@ namespace CleanMachineHMI.forms
}
catch (Exception ex)
{
KryptonMessageBox.Show(_InfoLanguageTextList.GetInfoText("加载基础配置界面发生异常", "LoadFrmBaseExp") + $":【{ex.Message}】!");
KryptonMessageBox.Show(this.GetInfoText("加载基础配置界面发生异常", "LoadFrmBaseExp") + $":【{ex.Message}】!");
}
}