commit c4b6f37f94da0dd94f125b72795dc574ea0de202 Author: Teochrome Date: Mon Apr 28 20:22:13 2025 +0300 final diff --git a/.vs/Covid/DesignTimeBuild/.dtbcache.v2 b/.vs/Covid/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..3e6b7e4 Binary files /dev/null and b/.vs/Covid/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/Covid/FileContentIndex/024be0ac-dede-4057-a91c-9a3cde2ce3a1.vsidx b/.vs/Covid/FileContentIndex/024be0ac-dede-4057-a91c-9a3cde2ce3a1.vsidx new file mode 100644 index 0000000..849ea81 Binary files /dev/null and b/.vs/Covid/FileContentIndex/024be0ac-dede-4057-a91c-9a3cde2ce3a1.vsidx differ diff --git a/.vs/Covid/FileContentIndex/5c16b431-7ddb-4808-a0a1-47afbfef8c24.vsidx b/.vs/Covid/FileContentIndex/5c16b431-7ddb-4808-a0a1-47afbfef8c24.vsidx new file mode 100644 index 0000000..e684c90 Binary files /dev/null and b/.vs/Covid/FileContentIndex/5c16b431-7ddb-4808-a0a1-47afbfef8c24.vsidx differ diff --git a/.vs/Covid/FileContentIndex/6ab862f8-bf1e-4be6-a5ff-046530daa00a.vsidx b/.vs/Covid/FileContentIndex/6ab862f8-bf1e-4be6-a5ff-046530daa00a.vsidx new file mode 100644 index 0000000..70aef67 Binary files /dev/null and b/.vs/Covid/FileContentIndex/6ab862f8-bf1e-4be6-a5ff-046530daa00a.vsidx differ diff --git a/.vs/Covid/v17/.futdcache.v2 b/.vs/Covid/v17/.futdcache.v2 new file mode 100644 index 0000000..9c805b1 Binary files /dev/null and b/.vs/Covid/v17/.futdcache.v2 differ diff --git a/.vs/Covid/v17/.suo b/.vs/Covid/v17/.suo new file mode 100644 index 0000000..545b9b0 Binary files /dev/null and b/.vs/Covid/v17/.suo differ diff --git a/.vs/ProjectEvaluation/covid.metadata.v7.bin b/.vs/ProjectEvaluation/covid.metadata.v7.bin new file mode 100644 index 0000000..14a72f2 Binary files /dev/null and b/.vs/ProjectEvaluation/covid.metadata.v7.bin differ diff --git a/.vs/ProjectEvaluation/covid.projects.v7.bin b/.vs/ProjectEvaluation/covid.projects.v7.bin new file mode 100644 index 0000000..515fab9 Binary files /dev/null and b/.vs/ProjectEvaluation/covid.projects.v7.bin differ diff --git a/Covid.sln b/Covid.sln new file mode 100644 index 0000000..57c8268 --- /dev/null +++ b/Covid.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34330.188 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Covid", "Covid\Covid.csproj", "{DFAEFC39-1C59-479F-A5D8-82A62FC069C0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DFAEFC39-1C59-479F-A5D8-82A62FC069C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DFAEFC39-1C59-479F-A5D8-82A62FC069C0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DFAEFC39-1C59-479F-A5D8-82A62FC069C0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DFAEFC39-1C59-479F-A5D8-82A62FC069C0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D9F53BE5-7148-4C18-9040-4B752486964E} + EndGlobalSection +EndGlobal diff --git a/Covid/Covid.csproj b/Covid/Covid.csproj new file mode 100644 index 0000000..663fdb8 --- /dev/null +++ b/Covid/Covid.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/Covid/Covid.csproj.user b/Covid/Covid.csproj.user new file mode 100644 index 0000000..3a34caa --- /dev/null +++ b/Covid/Covid.csproj.user @@ -0,0 +1,8 @@ + + + + + Form + + + \ No newline at end of file diff --git a/Covid/Form1.Designer.cs b/Covid/Form1.Designer.cs new file mode 100644 index 0000000..6306e5c --- /dev/null +++ b/Covid/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace Covid +{ + partial class Form1 + { + /// + /// 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 = "COVID-19: модель случайных процессов"; + } + + #endregion + } +} diff --git a/Covid/Form1.cs b/Covid/Form1.cs new file mode 100644 index 0000000..f967d28 --- /dev/null +++ b/Covid/Form1.cs @@ -0,0 +1,320 @@ +using System; +using System.Buffers.Text; +using System.Collections.Generic; +using System.Drawing; +using System.Linq; +using System.Windows.Forms; + +namespace Covid +{ + public partial class Form1 : Form + { + private Label labelRemoved; // + private Label labelActive; // + private Label labelR; // R + private Label labelDay; // + public enum HealthState { Susceptible, Infected, Recovered, Dead } // + private PictureBox pictureBoxLeft; // PictureBox + private PictureBox pictureBoxRight; // PictureBox + + private List population = new List(); // + private const int N = 500; // + private const float InfectionRadius = 10f; // + private const float ContagionProbability = 0.3f; // + private const int DiseaseTime = 35; // + private const float MortalityRate = 0.12f; // + + private int day = 0; // + private System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer(); // + + private List historyS = new List(); // + private List historyI = new List(); // + private List historyR = new List(); // + private List historyD = new List(); // + + private Random rand = new Random(); // + + private int newInfectionsThisDay = 0; // + private int infectedCountPreviousDay = 0; // + + public class Person + { + public PointF Position; // + public PointF Velocity; // + public HealthState State = HealthState.Susceptible; // + public int DaysInfected = 0; // , + + private static Random rand = new Random(); // Person + + public Person(float x, float y) // Person + { + Position = new PointF(x, y); // + Velocity = new PointF(RandomFloat(-1, 1), RandomFloat(-1, 1)); // + } + + private static float RandomFloat(float min, float max) // + { + return (float)(rand.NextDouble() * (max - min) + min); + } + + public void Move(int width, int height) // + { + if (State == HealthState.Dead) return; // , + + Position = new PointF(Position.X + Velocity.X, Position.Y + Velocity.Y); // + + // + if (Position.X < 0 || Position.X > width) Velocity = new PointF(-Velocity.X, Velocity.Y); + if (Position.Y < 0 || Position.Y > height) Velocity = new PointF(Velocity.X, -Velocity.Y); + } + } + + public Form1() + { + InitializeComponent(); // + this.BackColor = Color.Black; // + this.ForeColor = Color.White; // + + // PictureBox + pictureBoxLeft = new PictureBox + { + Name = "pictureBoxLeft", + Width = 400, + Height = 400, + Location = new Point(10, 10), + BackColor = Color.Black + }; + pictureBoxLeft.Paint += pictureBoxLeft_Paint; // + this.Controls.Add(pictureBoxLeft); // PictureBox + + // PictureBox + pictureBoxRight = new PictureBox + { + Name = "pictureBoxRight", + Width = 400, + Height = 400, + Location = new Point(420, 10), + BackColor = Color.Black, + BorderStyle = BorderStyle.FixedSingle // + }; + pictureBoxRight.Paint += pictureBoxRight_Paint; // + this.Controls.Add(pictureBoxRight); // PictureBox + + // + for (int i = 0; i < N; i++) + { + float x = rand.Next(pictureBoxRight.Width); // X + float y = rand.Next(pictureBoxRight.Height); // Y + population.Add(new Person(x, y)); // + } + + // + population[0].State = HealthState.Infected; + population[1].State = HealthState.Infected; + population[2].State = HealthState.Infected; + population[3].State = HealthState.Infected; + population[4].State = HealthState.Infected; + population[5].State = HealthState.Infected; + + timer.Interval = 200; // + timer.Tick += Timer_Tick; // + timer.Start(); // + + // + labelRemoved = new Label(); + labelRemoved.Name = "labelRemoved"; + labelRemoved.Text = "# = 0"; + labelRemoved.ForeColor = Color.LightGray; + labelRemoved.BackColor = Color.Black; + labelRemoved.AutoSize = true; + labelRemoved.Font = new Font(this.Font, FontStyle.Regular); + + labelActive = new Label(); + labelActive.Name = "labelActive"; + labelActive.Text = "# = 0"; + labelActive.ForeColor = Color.Red; + labelActive.BackColor = Color.Black; + labelActive.AutoSize = true; + labelActive.Font = new Font(this.Font, FontStyle.Bold); + + labelR = new Label(); + labelR.Name = "labelR"; + labelR.Text = "R = 0.00"; + labelR.ForeColor = Color.White; + labelR.BackColor = Color.Black; + labelR.AutoSize = true; + labelR.Font = new Font(this.Font, FontStyle.Italic); + + labelDay = new Label(); + labelDay.Name = "labelDay"; + labelDay.Text = ": 0"; + labelDay.ForeColor = Color.White; + labelDay.BackColor = Color.Black; + labelDay.AutoSize = true; + labelDay.Font = new Font(this.Font, FontStyle.Regular); + + // PictureBox + int spacing = 5; + labelRemoved.Location = new Point(pictureBoxRight.Left, pictureBoxRight.Bottom + spacing); + labelActive.Location = new Point(labelRemoved.Right + 20, pictureBoxRight.Bottom + spacing); + labelR.Location = new Point(pictureBoxRight.Left, labelRemoved.Bottom + spacing + 5); + labelDay.Location = new Point(pictureBoxRight.Left + pictureBoxRight.Width / 2 - 30, labelRemoved.Bottom + spacing + 5); + + // + this.Controls.Add(labelRemoved); + this.Controls.Add(labelActive); + this.Controls.Add(labelR); + this.Controls.Add(labelDay); + } + + private void Timer_Tick(object sender, EventArgs e) // , + { + day++; // + newInfectionsThisDay = 0; // + + // + foreach (var p in population) + p.Move(pictureBoxRight.Width, pictureBoxRight.Height); + + // + foreach (var p in population.Where(p => p.State == HealthState.Infected).ToList()) + { + p.DaysInfected++; // + if (p.DaysInfected >= DiseaseTime) // , + { + if (rand.NextDouble() < MortalityRate) // + p.State = HealthState.Dead; + else + p.State = HealthState.Recovered; // "" + } + } + + InfectNearby(); // + + // + int sCount = population.Count(p => p.State == HealthState.Susceptible); + int iCount = population.Count(p => p.State == HealthState.Infected); + int rCount = population.Count(p => p.State == HealthState.Recovered); + int dCount = population.Count(p => p.State == HealthState.Dead); + + // + historyS.Add(sCount); + historyI.Add(iCount); + historyR.Add(rCount); + historyD.Add(dCount); + + // R + float R = infectedCountPreviousDay > 0 ? (float) newInfectionsThisDay / infectedCountPreviousDay : 0f; + infectedCountPreviousDay = iCount; // + + // Tag + pictureBoxRight.Tag = new { Active = iCount, Removed = rCount + dCount, R = R, Day = day }; + + // + labelRemoved.Text = $"# = {rCount + dCount}"; + labelActive.Text = $"# = {iCount}"; + labelR.Text = $"R = {R:F2}"; + labelDay.Text = $": {day}"; + pictureBoxLeft.Invalidate(); // PictureBox + pictureBoxRight.Invalidate(); // PictureBox + } + + private void InfectNearby() // + { + var infected = population.Where(p => p.State == HealthState.Infected).ToList(); // + var susceptible = population.Where(p => p.State == HealthState.Susceptible).ToList(); // + + // + foreach (var inf in infected) + { + foreach (var sus in susceptible) + { + float dist = Distance(inf.Position, sus.Position); // + if (dist < InfectionRadius) // + { + if (rand.NextDouble() < ContagionProbability) // + { + sus.State = HealthState.Infected; // + newInfectionsThisDay++; // + } + } + } + } + } + + private float Distance(PointF a, PointF b) // + { + float dx = a.X - b.X; // X + float dy = a.Y - b.Y; // Y + return (float)Math.Sqrt(dx * dx + dy * dy); // + } + + private void pictureBoxLeft_Paint(object sender, PaintEventArgs e) // + { + Graphics g = e.Graphics; + g.Clear(Color.Black); // + + if (historyS.Count < 2) return; // + + int w = pictureBoxLeft.Width; // PictureBox + int h = pictureBoxLeft.Height; // PictureBox + + int maxY = population.Count; // Y + + Pen axisPen = Pens.White; // + g.DrawLine(axisPen, 40, 10, 40, h - 30); // + g.DrawLine(axisPen, 40, h - 30, w - 10, h - 30); // + + // + DrawGraphLine(g, historyS, maxY, Color.Cyan, 40, h - 30, w - 50, h - 40); + DrawGraphLine(g, historyI, maxY, Color.Red, 40, h - 30, w - 50, h - 40); + DrawGraphLine(g, historyR, maxY, Color.Green, 40, h - 30, w - 50, h - 40); + DrawGraphLine(g, historyD, maxY, Color.Gray, 40, h - 30, w - 50, h - 40); + + // + g.DrawString("", this.Font, Brushes.Cyan, w - 130, 20); + g.DrawString("", this.Font, Brushes.Red, w - 130, 40); + g.DrawString("", this.Font, Brushes.Green, w - 130, 60); + g.DrawString("", this.Font, Brushes.Gray, w - 130, 80); + } + + private void DrawGraphLine(Graphics g, List data, int maxY, Color color, int x0, int y0, int width, int height) // + { + if (data.Count < 2) return; // + + Pen pen = new Pen(color, 2); // + int count = data.Count; // + float xStep = (float)width / (count - 1); // X + + PointF[] points = new PointF[count]; // + for (int i = 0; i < count; i++) + { + float x = x0 + i * xStep; // X + float y = y0 - (data[i] / (float)maxY) * height; // Y + points[i] = new PointF(x, y); // + } + + g.DrawLines(pen, points); // + } + + private void pictureBoxRight_Paint(object sender, PaintEventArgs e) // + { + Graphics g = e.Graphics; + g.Clear(Color.Black); // + + // + foreach (var p in population) + { + Color c = p.State switch + { + HealthState.Susceptible => Color.Cyan, + HealthState.Infected => Color.Red, + HealthState.Recovered => Color.Green, + HealthState.Dead => Color.Gray, + _ => Color.White + }; + g.FillEllipse(new SolidBrush(c), p.Position.X, p.Position.Y, 5, 5); // + } + } + } +} \ No newline at end of file diff --git a/Covid/Form1.resx b/Covid/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Covid/Form1.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/Covid/Program.cs b/Covid/Program.cs new file mode 100644 index 0000000..ba8e4f2 --- /dev/null +++ b/Covid/Program.cs @@ -0,0 +1,17 @@ +namespace Covid +{ + 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 Form1()); + } + } +} \ No newline at end of file diff --git a/Covid/bin/Debug/net8.0-windows/Covid.deps.json b/Covid/bin/Debug/net8.0-windows/Covid.deps.json new file mode 100644 index 0000000..7e64613 --- /dev/null +++ b/Covid/bin/Debug/net8.0-windows/Covid.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v8.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v8.0": { + "Covid/1.0.0": { + "runtime": { + "Covid.dll": {} + } + } + } + }, + "libraries": { + "Covid/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/Covid/bin/Debug/net8.0-windows/Covid.dll b/Covid/bin/Debug/net8.0-windows/Covid.dll new file mode 100644 index 0000000..d877fa0 Binary files /dev/null and b/Covid/bin/Debug/net8.0-windows/Covid.dll differ diff --git a/Covid/bin/Debug/net8.0-windows/Covid.exe b/Covid/bin/Debug/net8.0-windows/Covid.exe new file mode 100644 index 0000000..dbe9089 Binary files /dev/null and b/Covid/bin/Debug/net8.0-windows/Covid.exe differ diff --git a/Covid/bin/Debug/net8.0-windows/Covid.pdb b/Covid/bin/Debug/net8.0-windows/Covid.pdb new file mode 100644 index 0000000..ae2090e Binary files /dev/null and b/Covid/bin/Debug/net8.0-windows/Covid.pdb differ diff --git a/Covid/bin/Debug/net8.0-windows/Covid.runtimeconfig.json b/Covid/bin/Debug/net8.0-windows/Covid.runtimeconfig.json new file mode 100644 index 0000000..1dc0145 --- /dev/null +++ b/Covid/bin/Debug/net8.0-windows/Covid.runtimeconfig.json @@ -0,0 +1,18 @@ +{ + "runtimeOptions": { + "tfm": "net8.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "8.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "8.0.0" + } + ], + "configProperties": { + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true + } + } +} \ No newline at end of file diff --git a/Covid/obj/Covid.csproj.nuget.dgspec.json b/Covid/obj/Covid.csproj.nuget.dgspec.json new file mode 100644 index 0000000..028bd02 --- /dev/null +++ b/Covid/obj/Covid.csproj.nuget.dgspec.json @@ -0,0 +1,66 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\alexa\\source\\repos\\Covid\\Covid\\Covid.csproj": {} + }, + "projects": { + "C:\\Users\\alexa\\source\\repos\\Covid\\Covid\\Covid.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\alexa\\source\\repos\\Covid\\Covid\\Covid.csproj", + "projectName": "Covid", + "projectPath": "C:\\Users\\alexa\\source\\repos\\Covid\\Covid\\Covid.csproj", + "packagesPath": "C:\\Users\\alexa\\.nuget\\packages\\", + "outputPath": "C:\\Users\\alexa\\source\\repos\\Covid\\Covid\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\alexa\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0-windows" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WindowsForms": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.101/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Covid/obj/Covid.csproj.nuget.g.props b/Covid/obj/Covid.csproj.nuget.g.props new file mode 100644 index 0000000..66ad344 --- /dev/null +++ b/Covid/obj/Covid.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\alexa\.nuget\packages\ + PackageReference + 6.8.0 + + + + + \ No newline at end of file diff --git a/Covid/obj/Covid.csproj.nuget.g.targets b/Covid/obj/Covid.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Covid/obj/Covid.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Covid/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/Covid/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2217181 --- /dev/null +++ b/Covid/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/Covid/obj/Debug/net8.0-windows/Covid.AssemblyInfo.cs b/Covid/obj/Debug/net8.0-windows/Covid.AssemblyInfo.cs new file mode 100644 index 0000000..817f4ce --- /dev/null +++ b/Covid/obj/Debug/net8.0-windows/Covid.AssemblyInfo.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Covid")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Covid")] +[assembly: System.Reflection.AssemblyTitleAttribute("Covid")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] +[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] + +// Создано классом WriteCodeFragment MSBuild. + diff --git a/Covid/obj/Debug/net8.0-windows/Covid.AssemblyInfoInputs.cache b/Covid/obj/Debug/net8.0-windows/Covid.AssemblyInfoInputs.cache new file mode 100644 index 0000000..103e675 --- /dev/null +++ b/Covid/obj/Debug/net8.0-windows/Covid.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +791c09cd43fa4cea4c5a0aea34bd9a64d9a3d91a582e44ce4a8ba2b8f54cb8e8 diff --git a/Covid/obj/Debug/net8.0-windows/Covid.Form1.resources b/Covid/obj/Debug/net8.0-windows/Covid.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Covid/obj/Debug/net8.0-windows/Covid.Form1.resources differ diff --git a/Covid/obj/Debug/net8.0-windows/Covid.GeneratedMSBuildEditorConfig.editorconfig b/Covid/obj/Debug/net8.0-windows/Covid.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..1c0630f --- /dev/null +++ b/Covid/obj/Debug/net8.0-windows/Covid.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,19 @@ +is_global = true +build_property.ApplicationManifest = +build_property.StartupObject = +build_property.ApplicationDefaultFont = +build_property.ApplicationHighDpiMode = +build_property.ApplicationUseCompatibleTextRendering = +build_property.ApplicationVisualStyles = +build_property.TargetFramework = net8.0-windows +build_property.TargetPlatformMinVersion = 7.0 +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Covid +build_property.ProjectDir = C:\Users\alexa\source\repos\Covid\Covid\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/Covid/obj/Debug/net8.0-windows/Covid.GlobalUsings.g.cs b/Covid/obj/Debug/net8.0-windows/Covid.GlobalUsings.g.cs new file mode 100644 index 0000000..84bbb89 --- /dev/null +++ b/Covid/obj/Debug/net8.0-windows/Covid.GlobalUsings.g.cs @@ -0,0 +1,10 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.Drawing; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; +global using global::System.Windows.Forms; diff --git a/Covid/obj/Debug/net8.0-windows/Covid.assets.cache b/Covid/obj/Debug/net8.0-windows/Covid.assets.cache new file mode 100644 index 0000000..19b54d1 Binary files /dev/null and b/Covid/obj/Debug/net8.0-windows/Covid.assets.cache differ diff --git a/Covid/obj/Debug/net8.0-windows/Covid.csproj.BuildWithSkipAnalyzers b/Covid/obj/Debug/net8.0-windows/Covid.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/Covid/obj/Debug/net8.0-windows/Covid.csproj.CoreCompileInputs.cache b/Covid/obj/Debug/net8.0-windows/Covid.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..c723cee --- /dev/null +++ b/Covid/obj/Debug/net8.0-windows/Covid.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +2006c50b077d7156063a506fb4dc2e70984c8fd6f24c3464f64d4965945feed7 diff --git a/Covid/obj/Debug/net8.0-windows/Covid.csproj.FileListAbsolute.txt b/Covid/obj/Debug/net8.0-windows/Covid.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..a66f25f --- /dev/null +++ b/Covid/obj/Debug/net8.0-windows/Covid.csproj.FileListAbsolute.txt @@ -0,0 +1,16 @@ +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\Covid.Form1.resources +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\Covid.csproj.GenerateResource.cache +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\Covid.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\Covid.AssemblyInfoInputs.cache +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\Covid.AssemblyInfo.cs +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\Covid.csproj.CoreCompileInputs.cache +C:\Users\alexa\source\repos\Covid\Covid\bin\Debug\net8.0-windows\Covid.exe +C:\Users\alexa\source\repos\Covid\Covid\bin\Debug\net8.0-windows\Covid.deps.json +C:\Users\alexa\source\repos\Covid\Covid\bin\Debug\net8.0-windows\Covid.runtimeconfig.json +C:\Users\alexa\source\repos\Covid\Covid\bin\Debug\net8.0-windows\Covid.dll +C:\Users\alexa\source\repos\Covid\Covid\bin\Debug\net8.0-windows\Covid.pdb +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\Covid.dll +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\refint\Covid.dll +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\Covid.pdb +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\Covid.genruntimeconfig.cache +C:\Users\alexa\source\repos\Covid\Covid\obj\Debug\net8.0-windows\ref\Covid.dll diff --git a/Covid/obj/Debug/net8.0-windows/Covid.csproj.GenerateResource.cache b/Covid/obj/Debug/net8.0-windows/Covid.csproj.GenerateResource.cache new file mode 100644 index 0000000..24bf958 Binary files /dev/null and b/Covid/obj/Debug/net8.0-windows/Covid.csproj.GenerateResource.cache differ diff --git a/Covid/obj/Debug/net8.0-windows/Covid.designer.deps.json b/Covid/obj/Debug/net8.0-windows/Covid.designer.deps.json new file mode 100644 index 0000000..8599efd --- /dev/null +++ b/Covid/obj/Debug/net8.0-windows/Covid.designer.deps.json @@ -0,0 +1,11 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v8.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v8.0": {} + }, + "libraries": {} +} \ No newline at end of file diff --git a/Covid/obj/Debug/net8.0-windows/Covid.designer.runtimeconfig.json b/Covid/obj/Debug/net8.0-windows/Covid.designer.runtimeconfig.json new file mode 100644 index 0000000..88d30f7 --- /dev/null +++ b/Covid/obj/Debug/net8.0-windows/Covid.designer.runtimeconfig.json @@ -0,0 +1,23 @@ +{ + "runtimeOptions": { + "tfm": "net8.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "8.0.0" + }, + { + "name": "Microsoft.WindowsDesktop.App", + "version": "8.0.0" + } + ], + "additionalProbingPaths": [ + "C:\\Users\\alexa\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\alexa\\.nuget\\packages" + ], + "configProperties": { + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true, + "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true + } + } +} \ No newline at end of file diff --git a/Covid/obj/Debug/net8.0-windows/Covid.dll b/Covid/obj/Debug/net8.0-windows/Covid.dll new file mode 100644 index 0000000..d877fa0 Binary files /dev/null and b/Covid/obj/Debug/net8.0-windows/Covid.dll differ diff --git a/Covid/obj/Debug/net8.0-windows/Covid.genruntimeconfig.cache b/Covid/obj/Debug/net8.0-windows/Covid.genruntimeconfig.cache new file mode 100644 index 0000000..6571842 --- /dev/null +++ b/Covid/obj/Debug/net8.0-windows/Covid.genruntimeconfig.cache @@ -0,0 +1 @@ +914be0f3ad16a7290cb41651e3598e7bee28361b6548f62dcb11ed10c059503b diff --git a/Covid/obj/Debug/net8.0-windows/Covid.pdb b/Covid/obj/Debug/net8.0-windows/Covid.pdb new file mode 100644 index 0000000..ae2090e Binary files /dev/null and b/Covid/obj/Debug/net8.0-windows/Covid.pdb differ diff --git a/Covid/obj/Debug/net8.0-windows/apphost.exe b/Covid/obj/Debug/net8.0-windows/apphost.exe new file mode 100644 index 0000000..dbe9089 Binary files /dev/null and b/Covid/obj/Debug/net8.0-windows/apphost.exe differ diff --git a/Covid/obj/Debug/net8.0-windows/ref/Covid.dll b/Covid/obj/Debug/net8.0-windows/ref/Covid.dll new file mode 100644 index 0000000..9f4ec47 Binary files /dev/null and b/Covid/obj/Debug/net8.0-windows/ref/Covid.dll differ diff --git a/Covid/obj/Debug/net8.0-windows/refint/Covid.dll b/Covid/obj/Debug/net8.0-windows/refint/Covid.dll new file mode 100644 index 0000000..9f4ec47 Binary files /dev/null and b/Covid/obj/Debug/net8.0-windows/refint/Covid.dll differ diff --git a/Covid/obj/project.assets.json b/Covid/obj/project.assets.json new file mode 100644 index 0000000..32dfd35 --- /dev/null +++ b/Covid/obj/project.assets.json @@ -0,0 +1,71 @@ +{ + "version": 3, + "targets": { + "net8.0-windows7.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net8.0-windows7.0": [] + }, + "packageFolders": { + "C:\\Users\\alexa\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\alexa\\source\\repos\\Covid\\Covid\\Covid.csproj", + "projectName": "Covid", + "projectPath": "C:\\Users\\alexa\\source\\repos\\Covid\\Covid\\Covid.csproj", + "packagesPath": "C:\\Users\\alexa\\.nuget\\packages\\", + "outputPath": "C:\\Users\\alexa\\source\\repos\\Covid\\Covid\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\alexa\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0-windows" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net8.0-windows7.0": { + "targetAlias": "net8.0-windows", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + }, + "Microsoft.WindowsDesktop.App.WindowsForms": { + "privateAssets": "none" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.101/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Covid/obj/project.nuget.cache b/Covid/obj/project.nuget.cache new file mode 100644 index 0000000..6d58429 --- /dev/null +++ b/Covid/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "BjpPwZM41C4oog4b4a4LQerldKESpikVbht/YPP7olCwC0bPnZiVvYo3ibIPzI58cjJHXViN4W48hCtHrexqTQ==", + "success": true, + "projectFilePath": "C:\\Users\\alexa\\source\\repos\\Covid\\Covid\\Covid.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file