实现抓图

This commit is contained in:
zqm
2026-03-18 13:38:36 +08:00
parent 47733146ac
commit 6e0b5aa056
7 changed files with 522 additions and 81 deletions

View File

@@ -47,6 +47,7 @@ namespace Test
this.txtIpAddress = new System.Windows.Forms.TextBox();
this.btnSetIP = new System.Windows.Forms.Button();
this.camera = new System.Windows.Forms.PictureBox();
this.btnTestOnvifSnapshot = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.LedImage)).BeginInit();
this.statusStrip1.SuspendLayout();
this.groupBox1.SuspendLayout();
@@ -254,11 +255,23 @@ namespace Test
this.camera.TabIndex = 14;
this.camera.TabStop = false;
//
// btnTestOnvifSnapshot
//
this.btnTestOnvifSnapshot.Location = new System.Drawing.Point(811, 604);
this.btnTestOnvifSnapshot.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnTestOnvifSnapshot.Name = "btnTestOnvifSnapshot";
this.btnTestOnvifSnapshot.Size = new System.Drawing.Size(148, 39);
this.btnTestOnvifSnapshot.TabIndex = 15;
this.btnTestOnvifSnapshot.Text = "10. ONVIF抓图测试";
this.btnTestOnvifSnapshot.UseVisualStyleBackColor = true;
this.btnTestOnvifSnapshot.Click += new System.EventHandler(this.btnTestOnvifSnapshot_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1067, 718);
this.Controls.Add(this.btnTestOnvifSnapshot);
this.Controls.Add(this.camera);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.statusStrip1);
@@ -312,5 +325,6 @@ namespace Test
private System.Windows.Forms.TextBox txtIpAddress;
private System.Windows.Forms.Button btnSetIP;
private System.Windows.Forms.PictureBox camera;
private System.Windows.Forms.Button btnTestOnvifSnapshot = null;
}
}