From b92099c257f092970daf61a02e8d678261f8059e Mon Sep 17 00:00:00 2001 From: ValAnn Date: Fri, 12 Apr 2024 20:53:14 +0400 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD=D0=BE=D0=B9=20=D1=84?= =?UTF-8?q?=D0=BE=D1=80=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Hospital/Hospital.sln | 25 ++++++ Hospital/Hospital/FormMain.Designer.cs | 39 ++++++++ Hospital/Hospital/FormMain.cs | 10 +++ Hospital/Hospital/FormMain.resx | 120 +++++++++++++++++++++++++ Hospital/Hospital/HospitalView.csproj | 11 +++ Hospital/Hospital/Program.cs | 17 ++++ 6 files changed, 222 insertions(+) create mode 100644 Hospital/Hospital.sln create mode 100644 Hospital/Hospital/FormMain.Designer.cs create mode 100644 Hospital/Hospital/FormMain.cs create mode 100644 Hospital/Hospital/FormMain.resx create mode 100644 Hospital/Hospital/HospitalView.csproj create mode 100644 Hospital/Hospital/Program.cs diff --git a/Hospital/Hospital.sln b/Hospital/Hospital.sln new file mode 100644 index 0000000..67aca99 --- /dev/null +++ b/Hospital/Hospital.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34723.18 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HospitalView", "Hospital\HospitalView.csproj", "{C50859B7-7F2C-4308-B9F7-86119A83E155}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C50859B7-7F2C-4308-B9F7-86119A83E155}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C50859B7-7F2C-4308-B9F7-86119A83E155}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C50859B7-7F2C-4308-B9F7-86119A83E155}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C50859B7-7F2C-4308-B9F7-86119A83E155}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {72B2AF07-B44A-4721-9FDD-AA11606C0BA0} + EndGlobalSection +EndGlobal diff --git a/Hospital/Hospital/FormMain.Designer.cs b/Hospital/Hospital/FormMain.Designer.cs new file mode 100644 index 0000000..09e78d7 --- /dev/null +++ b/Hospital/Hospital/FormMain.Designer.cs @@ -0,0 +1,39 @@ +namespace Hospital +{ + partial class FormMain + { + /// + /// 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.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/Hospital/Hospital/FormMain.cs b/Hospital/Hospital/FormMain.cs new file mode 100644 index 0000000..31a78fc --- /dev/null +++ b/Hospital/Hospital/FormMain.cs @@ -0,0 +1,10 @@ +namespace Hospital +{ + public partial class FormMain : Form + { + public FormMain() + { + InitializeComponent(); + } + } +} diff --git a/Hospital/Hospital/FormMain.resx b/Hospital/Hospital/FormMain.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Hospital/Hospital/FormMain.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/Hospital/Hospital/HospitalView.csproj b/Hospital/Hospital/HospitalView.csproj new file mode 100644 index 0000000..b57c89e --- /dev/null +++ b/Hospital/Hospital/HospitalView.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net6.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/Hospital/Hospital/Program.cs b/Hospital/Hospital/Program.cs new file mode 100644 index 0000000..e6f00b3 --- /dev/null +++ b/Hospital/Hospital/Program.cs @@ -0,0 +1,17 @@ +namespace Hospital +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new FormMain()); + } + } +} \ No newline at end of file