aboutsummaryrefslogtreecommitdiff
path: root/NotePad
diff options
context:
space:
mode:
authorSmallFox <2806143047@qq.com>2026-04-04 22:04:07 +0800
committerSmallFox <2806143047@qq.com>2026-04-04 22:04:07 +0800
commit01c3d0d35a8be55ffca7ce4fca67135d9ae0f109 (patch)
tree2b13f06868f06921b05a2eee2f9056b9c45fb721 /NotePad
parentea0f627e973dbaf3e44f8460a2c3af819fb18b99 (diff)
项目启航
请创建新项目和规划蓝图
Diffstat (limited to 'NotePad')
-rw-r--r--NotePad/NotePad.sln25
-rw-r--r--NotePad/NotePad/Form1.Designer.cs47
-rw-r--r--NotePad/NotePad/Form1.cs21
-rw-r--r--NotePad/NotePad/Form1.resx60
-rw-r--r--NotePad/NotePad/NotePad.csproj9
-rw-r--r--NotePad/NotePad/Program.cs23
6 files changed, 185 insertions, 0 deletions
diff --git a/NotePad/NotePad.sln b/NotePad/NotePad.sln
new file mode 100644
index 0000000..96fdf55
--- /dev/null
+++ b/NotePad/NotePad.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.1.32328.378
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NotePad", "NotePad\NotePad.csproj", "{E08D0806-C435-4728-A811-66DBD05C744F}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {E08D0806-C435-4728-A811-66DBD05C744F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E08D0806-C435-4728-A811-66DBD05C744F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E08D0806-C435-4728-A811-66DBD05C744F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E08D0806-C435-4728-A811-66DBD05C744F}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {84F37102-2E09-40FF-8A11-33B255B33FB9}
+ EndGlobalSection
+EndGlobal
diff --git a/NotePad/NotePad/Form1.Designer.cs b/NotePad/NotePad/Form1.Designer.cs
new file mode 100644
index 0000000..6e310b3
--- /dev/null
+++ b/NotePad/NotePad/Form1.Designer.cs
@@ -0,0 +1,47 @@
+namespace NotePad
+{
+ partial class Form1
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.SuspendLayout();
+ //
+ // Form1
+ //
+ 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.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "Form1";
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+ }
+}
diff --git a/NotePad/NotePad/Form1.cs b/NotePad/NotePad/Form1.cs
new file mode 100644
index 0000000..f1b7b5e
--- /dev/null
+++ b/NotePad/NotePad/Form1.cs
@@ -0,0 +1,21 @@
+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 NotePad
+{
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+
+ }
+}
diff --git a/NotePad/NotePad/Form1.resx b/NotePad/NotePad/Form1.resx
new file mode 100644
index 0000000..f298a7b
--- /dev/null
+++ b/NotePad/NotePad/Form1.resx
@@ -0,0 +1,60 @@
+<root>
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root> \ No newline at end of file
diff --git a/NotePad/NotePad/NotePad.csproj b/NotePad/NotePad/NotePad.csproj
new file mode 100644
index 0000000..130a486
--- /dev/null
+++ b/NotePad/NotePad/NotePad.csproj
@@ -0,0 +1,9 @@
+<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
+
+ <PropertyGroup>
+ <OutputType>WinExe</OutputType>
+ <TargetFramework>netcoreapp3.1</TargetFramework>
+ <UseWindowsForms>true</UseWindowsForms>
+ </PropertyGroup>
+
+</Project> \ No newline at end of file
diff --git a/NotePad/NotePad/Program.cs b/NotePad/NotePad/Program.cs
new file mode 100644
index 0000000..c1e3d1e
--- /dev/null
+++ b/NotePad/NotePad/Program.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace NotePad
+{
+ internal static class Program
+ {
+ /// <summary>
+ /// The main entry point for the application.
+ /// </summary>
+ [STAThread]
+ static void Main()
+ {
+ Application.SetHighDpiMode(HighDpiMode.SystemAware);
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new NotePad());
+ }
+ }
+}