修改结构
This commit is contained in:
@@ -203,7 +203,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 = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
||||
label1.Text = this.T(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
||||
|
||||
panel.Controls.Add(label);
|
||||
panel.Controls.Add(button);
|
||||
@@ -238,7 +238,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 = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
||||
label1.Text = this.T(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
||||
|
||||
panel.Controls.Add(label);
|
||||
panel.Controls.Add(button);
|
||||
@@ -321,7 +321,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 = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
||||
label1.Text = this.T(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
||||
|
||||
panel.Controls.Add(label);
|
||||
panel.Controls.Add(button);
|
||||
@@ -355,7 +355,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 = this.GetInfoText(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
||||
label1.Text = this.T(item.PlcItemName.Replace("(I/O监控)", ""), item.PlcItemCode);
|
||||
|
||||
panel.Controls.Add(label);
|
||||
panel.Controls.Add(button);
|
||||
|
||||
Reference in New Issue
Block a user