去除每个页面的 语言datatable

This commit is contained in:
Kangkang
2022-03-18 21:25:34 +08:00
parent 2b39fb593c
commit 0fc04d5b52
44 changed files with 112 additions and 321 deletions

View File

@@ -18,9 +18,7 @@ namespace CleanMachineHMI.frmChild
public frmSwitchRunDirection()
{
InitializeComponent();
_InfoLanguageTextList = this.GetInfoLanguageText(GlobalHelper.LanguageCode);
}
private DataTable _InfoLanguageTextList;
private void frmSwitchRunDirection_Load(object sender, EventArgs e)
{
@@ -28,7 +26,7 @@ namespace CleanMachineHMI.frmChild
{
this.SetFormControlText();
int directNum = Convert.ToInt32(PlcOperationHelper.Instance.ReadPlcItem("DischargeDirectionSelection", PlcItemTypeDesc.D));
if (GlobalHelper.LanguageCode == "English")
if (GlobalHelper.LanguageCode != "zh-CN")
{
if (directNum == 0)
{