aboutsummaryrefslogtreecommitdiff
path: root/NotePad
diff options
context:
space:
mode:
authorSmallFox <2806143047@qq.com>2026-04-04 22:07:56 +0800
committerSmallFox <2806143047@qq.com>2026-04-04 22:07:56 +0800
commitde45aece667af6a25c1840d4cdfc27935fb0b490 (patch)
tree572b2c0f9429e45a7b9284ecc900addd5ccf14da /NotePad
parent01c3d0d35a8be55ffca7ce4fca67135d9ae0f109 (diff)
请输入文本
改了个名,下次写多点再上传,今天搞搞测试
Diffstat (limited to 'NotePad')
-rw-r--r--NotePad/NotePad/Form1.Designer.cs10
-rw-r--r--NotePad/NotePad/Form1.cs8
2 files changed, 12 insertions, 6 deletions
diff --git a/NotePad/NotePad/Form1.Designer.cs b/NotePad/NotePad/Form1.Designer.cs
index 6e310b3..2b0e1db 100644
--- a/NotePad/NotePad/Form1.Designer.cs
+++ b/NotePad/NotePad/Form1.Designer.cs
@@ -1,6 +1,6 @@
namespace NotePad
{
- partial class Form1
+ partial class NotePad
{
/// <summary>
/// Required designer variable.
@@ -30,14 +30,16 @@
{
this.SuspendLayout();
//
- // Form1
+ // NotePad
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(584, 411);
- this.Name = "Form1";
+ this.KeyPreview = true;
+ this.Name = "NotePad";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Form1";
+ this.Text = "记事本";
+ this.Load += new System.EventHandler(this.NotePad_Load);
this.ResumeLayout(false);
}
diff --git a/NotePad/NotePad/Form1.cs b/NotePad/NotePad/Form1.cs
index f1b7b5e..f8dfc1a 100644
--- a/NotePad/NotePad/Form1.cs
+++ b/NotePad/NotePad/Form1.cs
@@ -10,12 +10,16 @@ using System.Windows.Forms;
namespace NotePad
{
- public partial class Form1 : Form
+ public partial class NotePad : Form
{
- public Form1()
+ public NotePad()
{
InitializeComponent();
}
+ private void NotePad_Load(object sender, EventArgs e)
+ {
+
+ }
}
}