diff options
| author | SmallFox <2806143047@qq.com> | 2026-04-04 22:07:56 +0800 |
|---|---|---|
| committer | SmallFox <2806143047@qq.com> | 2026-04-04 22:07:56 +0800 |
| commit | de45aece667af6a25c1840d4cdfc27935fb0b490 (patch) | |
| tree | 572b2c0f9429e45a7b9284ecc900addd5ccf14da /NotePad | |
| parent | 01c3d0d35a8be55ffca7ce4fca67135d9ae0f109 (diff) | |
请输入文本
改了个名,下次写多点再上传,今天搞搞测试
Diffstat (limited to 'NotePad')
| -rw-r--r-- | NotePad/NotePad/Form1.Designer.cs | 10 | ||||
| -rw-r--r-- | NotePad/NotePad/Form1.cs | 8 |
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) + { + + } } } |
