1.Resolved multiple issues and defects

2.Implemented a license management system requiring users to obtain updated "license.lic" files from the author
This commit is contained in:
CoderShen
2025-11-08 12:20:08 +08:00
parent 40cf60b069
commit b7d6993fa3
37 changed files with 476 additions and 452 deletions

View File

@@ -26,8 +26,7 @@
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.lbStatus = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.btnDisconnect = new System.Windows.Forms.Button();
this.btnConnect = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
@@ -45,6 +44,7 @@
this.tbSymbol = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.lbStatus = new System.Windows.Forms.ToolStripStatusLabel();
this.txt_plcInfo = new System.Windows.Forms.ToolStripStatusLabel();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
@@ -53,8 +53,7 @@
//
// groupBox1
//
this.groupBox1.Controls.Add(this.lbStatus);
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.checkBox1);
this.groupBox1.Controls.Add(this.btnDisconnect);
this.groupBox1.Controls.Add(this.btnConnect);
this.groupBox1.Controls.Add(this.label2);
@@ -68,21 +67,16 @@
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Connection";
//
// lbStatus
// checkBox1
//
this.lbStatus.Location = new System.Drawing.Point(44, 114);
this.lbStatus.Name = "lbStatus";
this.lbStatus.Size = new System.Drawing.Size(116, 15);
this.lbStatus.TabIndex = 7;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(6, 114);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(47, 12);
this.label6.TabIndex = 6;
this.label6.Text = "Status:";
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(9, 112);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(156, 16);
this.checkBox1.TabIndex = 12;
this.checkBox1.Text = "Only secure PG/PC -HMI";
this.checkBox1.UseVisualStyleBackColor = true;
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
//
// btnDisconnect
//
@@ -136,7 +130,7 @@
this.tbIpAddress.Name = "tbIpAddress";
this.tbIpAddress.Size = new System.Drawing.Size(151, 21);
this.tbIpAddress.TabIndex = 0;
this.tbIpAddress.Text = "192.168.0.250";
this.tbIpAddress.Text = "192.168.0.1";
//
// treeView1
//
@@ -282,6 +276,7 @@
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lbStatus,
this.txt_plcInfo});
this.statusStrip1.Location = new System.Drawing.Point(0, 393);
this.statusStrip1.Name = "statusStrip1";
@@ -289,6 +284,12 @@
this.statusStrip1.TabIndex = 3;
this.statusStrip1.Text = "statusStrip1";
//
// lbStatus
//
this.lbStatus.Name = "lbStatus";
this.lbStatus.Size = new System.Drawing.Size(46, 17);
this.lbStatus.Text = "Status:";
//
// txt_plcInfo
//
this.txt_plcInfo.Name = "txt_plcInfo";
@@ -335,12 +336,12 @@
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox tbSymbol;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label lbStatus;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Button btnRead;
private System.Windows.Forms.ImageList imageListTreeIcons;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel txt_plcInfo;
private System.Windows.Forms.ToolStripStatusLabel lbStatus;
private System.Windows.Forms.CheckBox checkBox1;
}
}