启动 加载语言配置文件
This commit is contained in:
@@ -212,7 +212,7 @@ namespace CleanMachineHMI
|
||||
KryptonLabel label1 = new KryptonLabel();
|
||||
label1.StateCommon.ShortText.Font = new Font("宋体", (float)8.5, FontStyle.Regular);
|
||||
label1.Location = new Point(44, 6);
|
||||
label1.Text = _InfoLanguageTextList.GetInfoText_1(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode, "Label");
|
||||
label1.Text = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode, "Label");
|
||||
|
||||
panel.Controls.Add(label);
|
||||
panel.Controls.Add(button);
|
||||
@@ -247,7 +247,7 @@ namespace CleanMachineHMI
|
||||
label1.StateCommon.ShortText.Font = new Font("宋体", (float)8.5, FontStyle.Regular);
|
||||
label1.Location = new Point(44, 6);
|
||||
//label1.Text = item.PlcItemName.Replace("(I/O监控)", "");
|
||||
label1.Text = _InfoLanguageTextList.GetInfoText_1(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode, "Label");
|
||||
label1.Text = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode, "Label");
|
||||
|
||||
panel.Controls.Add(label);
|
||||
panel.Controls.Add(button);
|
||||
@@ -338,7 +338,7 @@ namespace CleanMachineHMI
|
||||
KryptonLabel label1 = new KryptonLabel();
|
||||
label1.StateCommon.ShortText.Font = new Font("宋体", (float)8.5, FontStyle.Regular);
|
||||
label1.Location = new Point(44, 6);
|
||||
label1.Text = _InfoLanguageTextList.GetInfoText_1(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode, "Label");
|
||||
label1.Text = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode, "Label");
|
||||
|
||||
panel.Controls.Add(label);
|
||||
panel.Controls.Add(button);
|
||||
@@ -372,7 +372,7 @@ namespace CleanMachineHMI
|
||||
KryptonLabel label1 = new KryptonLabel();
|
||||
label1.StateCommon.ShortText.Font = new Font("宋体", (float)8.5, FontStyle.Regular);
|
||||
label1.Location = new Point(44, 6);
|
||||
label1.Text = _InfoLanguageTextList.GetInfoText_1(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode, "Label");
|
||||
label1.Text = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode, "Label");
|
||||
|
||||
panel.Controls.Add(label);
|
||||
panel.Controls.Add(button);
|
||||
|
||||
Reference in New Issue
Block a user