This commit is contained in:
gongxh
2022-01-18 15:57:46 +08:00
parent 39c4c20fee
commit a7ef9c7b54
4 changed files with 19 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ using System.Windows.Forms;
using CleanMachine.Model;
namespace CleanMachineHMI
{
[FormType(EnumFormType.IoMonitor)]
//[FormType(EnumFormType.IoMonitor)]
public partial class frmIOMonitor_Old : KryptonForm
{
public frmIOMonitor_Old()
@@ -53,7 +53,7 @@ namespace CleanMachineHMI
catch (Exception)
{
}
}
private void ReFreshControl_Y()
{
@@ -198,7 +198,7 @@ namespace CleanMachineHMI
panel.Size = new Size(panalTemplateWidth, panalTemplateHeight);
panel.BackColor = Color.White;
panel.BorderStyle = BorderStyle.FixedSingle;
KryptonLabel label = new KryptonLabel();
label.StateCommon.ShortText.Font = new Font("宋体", (float)10, FontStyle.Bold);
label.Location = new Point(-1, 6);
@@ -219,7 +219,8 @@ namespace CleanMachineHMI
panel.Controls.Add(label1);
kryptonPanel2.Controls.Add(panel);
lstMoitor_X.Add(new BtnPlcItemMonitor {
lstMoitor_X.Add(new BtnPlcItemMonitor
{
ctn = button,
plcItemMd = item,
});
@@ -413,10 +414,10 @@ namespace CleanMachineHMI
//InitControl();
//isThRun = true;
}
private void frmIOMonitor_FormClosing(object sender, FormClosingEventArgs e)
{
}
}
}