From 251a63a096b3ead5b5e93d224697bc6ab94dd0be Mon Sep 17 00:00:00 2001 From: Chenx221 Date: Wed, 23 Aug 2023 13:51:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=81=9A=E4=B8=80=E4=BA=9B=E6=B8=85=E6=B4=81?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=EF=BC=8C=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OTP/Form4.Designer.cs | 73 ------------------------- OTP/Form4.cs | 31 ----------- OTP/Form4.resx | 120 ------------------------------------------ OTP/OTP.csproj | 9 ---- OTP/key.db | Bin 8192 -> 0 bytes 5 files changed, 233 deletions(-) delete mode 100644 OTP/Form4.Designer.cs delete mode 100644 OTP/Form4.cs delete mode 100644 OTP/Form4.resx delete mode 100644 OTP/key.db diff --git a/OTP/Form4.Designer.cs b/OTP/Form4.Designer.cs deleted file mode 100644 index 4006ef5..0000000 --- a/OTP/Form4.Designer.cs +++ /dev/null @@ -1,73 +0,0 @@ -namespace OTP -{ - partial class Form4 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.button1 = new System.Windows.Forms.Button(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.SuspendLayout(); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(713, 160); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(75, 23); - this.button1.TabIndex = 0; - this.button1.Text = "button1"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // pictureBox1 - // - this.pictureBox1.Location = new System.Drawing.Point(12, 12); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(695, 426); - this.pictureBox1.TabIndex = 1; - this.pictureBox1.TabStop = false; - // - // Form4 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.pictureBox1); - this.Controls.Add(this.button1); - this.Name = "Form4"; - this.Text = "Form4"; - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Button button1; - private System.Windows.Forms.PictureBox pictureBox1; - } -} \ No newline at end of file diff --git a/OTP/Form4.cs b/OTP/Form4.cs deleted file mode 100644 index 100b76c..0000000 --- a/OTP/Form4.cs +++ /dev/null @@ -1,31 +0,0 @@ -using ScreenCapturerNS; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace OTP -{ - public partial class Form4 : Form - { - public Form4() - { - InitializeComponent(); - } - - private void button1_Click(object sender, EventArgs e) - { - ScreenCapturer.StartCapture((Bitmap bitmap) => { - // 处理截图 (bitmap) 这里 - // 例如,你可以将截图显示在某个 PictureBox 控件中 - pictureBox1.Image = bitmap; - ScreenCapturer.StopCapture(); - }); - } - } -} diff --git a/OTP/Form4.resx b/OTP/Form4.resx deleted file mode 100644 index 1af7de1..0000000 --- a/OTP/Form4.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/OTP/OTP.csproj b/OTP/OTP.csproj index 584983f..dae8ba7 100644 --- a/OTP/OTP.csproj +++ b/OTP/OTP.csproj @@ -127,12 +127,6 @@ Form3.cs - - Form - - - Form4.cs - @@ -144,9 +138,6 @@ Form3.cs - - Form4.cs - ResXFileCodeGenerator Resources.Designer.cs diff --git a/OTP/key.db b/OTP/key.db deleted file mode 100644 index e4fbb03a2ee8f7056a0da20323af641482315126..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8192 zcmeI#K}y3w6b9foX^Kz@aU->h!doh+pgDl1cF>quV=`j1j5jc`y7!7T+%UMN%2fcjL)@X*i%Y5`qqyiKuDYv0YcgE^hr|r}(n} zwl-<^;MJR7_9tW?6a*ju0SG_<0uX=z1Rwwb2teSU2+UT+O1s+?v&xj$Bdx~fp-y~Li2lsCN=+lp>E8Yp=zGfuPUEX)dyWwHGks>+NsD>+m=IJbS7B#R{1 zHxq4Q{rElgT3hpfbJu?&|IL5#pY4Kz00bZa0SG_<0uX=z1Rwwb2teR(1Ujxu?H!}1 mCOGZoS4GfIS+H*