commit d87ea69b8b1116eada15a20582c7eca295dacb27 Author: SummmerLost <1449109960@qq.com> Date: Mon Feb 20 10:50:04 2023 +0800 体检系统框架 diff --git a/.vs/PEIS/v15/.suo b/.vs/PEIS/v15/.suo new file mode 100644 index 0000000..bed086d Binary files /dev/null and b/.vs/PEIS/v15/.suo differ diff --git a/.vs/PEIS/v15/Server/sqlite3/db.lock b/.vs/PEIS/v15/Server/sqlite3/db.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/PEIS/v15/Server/sqlite3/storage.ide b/.vs/PEIS/v15/Server/sqlite3/storage.ide new file mode 100644 index 0000000..56758a8 Binary files /dev/null and b/.vs/PEIS/v15/Server/sqlite3/storage.ide differ diff --git a/.vs/PEIS/v15/Server/sqlite3/storage.ide-shm b/.vs/PEIS/v15/Server/sqlite3/storage.ide-shm new file mode 100644 index 0000000..500792e Binary files /dev/null and b/.vs/PEIS/v15/Server/sqlite3/storage.ide-shm differ diff --git a/.vs/PEIS/v15/Server/sqlite3/storage.ide-wal b/.vs/PEIS/v15/Server/sqlite3/storage.ide-wal new file mode 100644 index 0000000..81ce08d Binary files /dev/null and b/.vs/PEIS/v15/Server/sqlite3/storage.ide-wal differ diff --git a/PEIS.sln b/PEIS.sln new file mode 100644 index 0000000..e364063 --- /dev/null +++ b/PEIS.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.33403.129 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PEIS", "PEIS\PEIS.csproj", "{BADDE991-3961-4CA0-B3E5-0682662013EE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BADDE991-3961-4CA0-B3E5-0682662013EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BADDE991-3961-4CA0-B3E5-0682662013EE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BADDE991-3961-4CA0-B3E5-0682662013EE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BADDE991-3961-4CA0-B3E5-0682662013EE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9570E942-C74C-4669-88A5-05311EB5658F} + EndGlobalSection +EndGlobal diff --git a/PEIS/PEIS.csproj b/PEIS/PEIS.csproj new file mode 100644 index 0000000..034ae11 --- /dev/null +++ b/PEIS/PEIS.csproj @@ -0,0 +1,79 @@ + + + + + Debug + AnyCPU + {BADDE991-3961-4CA0-B3E5-0682662013EE} + WinExe + PEIS + PEIS + v4.0 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + Form + + + Main.cs + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + \ No newline at end of file diff --git a/PEIS/Program.cs b/PEIS/Program.cs new file mode 100644 index 0000000..3ee407d --- /dev/null +++ b/PEIS/Program.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows.Forms; + +namespace PEIS +{ + static class Program + { + /// + /// 应用程序的主入口点。 + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Main()); + } + } +} diff --git a/PEIS/Properties/AssemblyInfo.cs b/PEIS/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6ce099a --- /dev/null +++ b/PEIS/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的一般信息由以下 +// 控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("PEIS")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("PEIS")] +[assembly: AssemblyCopyright("Copyright © 2023")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 会使此程序集中的类型 +//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 +//请将此类型的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("badde991-3961-4ca0-b3e5-0682662013ee")] + +// 程序集的版本信息由下列四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 +// 方法是按如下所示使用“*”: : +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/PEIS/Properties/Resources.Designer.cs b/PEIS/Properties/Resources.Designer.cs new file mode 100644 index 0000000..7624c21 --- /dev/null +++ b/PEIS/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本: 4.0.30319.42000 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace PEIS.Properties +{ + + + /// + /// 强类型资源类,用于查找本地化字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// 返回此类使用的缓存 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PEIS.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 覆盖当前线程的 CurrentUICulture 属性 + /// 使用此强类型的资源类的资源查找。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/PEIS/Properties/Resources.resx b/PEIS/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/PEIS/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/PEIS/Properties/Settings.Designer.cs b/PEIS/Properties/Settings.Designer.cs new file mode 100644 index 0000000..e653071 --- /dev/null +++ b/PEIS/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace PEIS.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/PEIS/Properties/Settings.settings b/PEIS/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/PEIS/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/PEIS/View/Main.Designer.cs b/PEIS/View/Main.Designer.cs new file mode 100644 index 0000000..bea692b --- /dev/null +++ b/PEIS/View/Main.Designer.cs @@ -0,0 +1,40 @@ +namespace PEIS +{ + partial class Main + { + /// + /// 必需的设计器变量。 + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 清理所有正在使用的资源。 + /// + /// 如果应释放托管资源,为 true;否则为 false。 + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows 窗体设计器生成的代码 + + /// + /// 设计器支持所需的方法 - 不要修改 + /// 使用代码编辑器修改此方法的内容。 + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "Form1"; + } + + #endregion + } +} + diff --git a/PEIS/View/Main.cs b/PEIS/View/Main.cs new file mode 100644 index 0000000..7d77c06 --- /dev/null +++ b/PEIS/View/Main.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace PEIS +{ + public partial class Main : Form + { + public Main() + { + InitializeComponent(); + } + } +} diff --git a/PEIS/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/PEIS/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..8fb0ac5 Binary files /dev/null and b/PEIS/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/PEIS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/PEIS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..32aa50e Binary files /dev/null and b/PEIS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/PEIS/obj/Debug/PEIS.csproj.CoreCompileInputs.cache b/PEIS/obj/Debug/PEIS.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..e4d024e --- /dev/null +++ b/PEIS/obj/Debug/PEIS.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +c6876ab595741a2df4faf5b50a4c2a9570ef2c02 diff --git a/PEIS/obj/Debug/PEIS.csprojAssemblyReference.cache b/PEIS/obj/Debug/PEIS.csprojAssemblyReference.cache new file mode 100644 index 0000000..b3aca56 Binary files /dev/null and b/PEIS/obj/Debug/PEIS.csprojAssemblyReference.cache differ