基础测试代码

This commit is contained in:
zqm
2026-03-17 09:21:09 +08:00
parent e4502c338a
commit ce49e4c736
3 changed files with 55 additions and 49 deletions

View File

@@ -40,10 +40,9 @@ namespace Test
this.btnStopCapture = new System.Windows.Forms.Button();
this.btnStopCamera = new System.Windows.Forms.Button();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.lblStatus = new System.Windows.Forms.ToolStripStatusLabel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.txtLog = new System.Windows.Forms.TextBox();
this.lblStatus = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.LedImage)).BeginInit();
this.statusStrip1.SuspendLayout();
this.groupBox1.SuspendLayout();
@@ -163,18 +162,18 @@ namespace Test
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel1});
this.lblStatus});
this.statusStrip1.Location = new System.Drawing.Point(0, 451);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(800, 22);
this.statusStrip1.TabIndex = 11;
this.statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
// lblStatus
//
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.Size = new System.Drawing.Size(44, 17);
this.toolStripStatusLabel1.Text = "状态";
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(68, 17);
this.lblStatus.Text = "状态: 未初始化";
//
// groupBox1
//
@@ -196,23 +195,11 @@ namespace Test
this.txtLog.Size = new System.Drawing.Size(551, 80);
this.txtLog.TabIndex = 0;
//
// lblStatus
//
this.lblStatus.AutoSize = true;
this.lblStatus.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblStatus.ForeColor = System.Drawing.Color.Red;
this.lblStatus.Location = new System.Drawing.Point(12, 550);
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(96, 12);
this.lblStatus.TabIndex = 13;
this.lblStatus.Text = "状态: 未初始化";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 574);
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.btnStopCamera);
@@ -253,9 +240,8 @@ namespace Test
private System.Windows.Forms.Button btnStopCapture;
private System.Windows.Forms.Button btnStopCamera;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
private System.Windows.Forms.ToolStripStatusLabel lblStatus;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TextBox txtLog;
private System.Windows.Forms.Label lblStatus;
}
}