From da9d5010325d7245cee9688233aea505f5ef76be Mon Sep 17 00:00:00 2001 From: frog24 Date: Fri, 9 Feb 2024 04:09:21 +0400 Subject: [PATCH] lab0 commit --- ComputersShop/ComputersShop.sln | 25 ++++ .../ComputersShop/ComputersShop.csproj | 11 ++ ComputersShop/ComputersShop/Form1.Designer.cs | 39 ++++++ ComputersShop/ComputersShop/Form1.cs | 10 ++ ComputersShop/ComputersShop/Form1.resx | 120 ++++++++++++++++++ ComputersShop/ComputersShop/Program.cs | 17 +++ 6 files changed, 222 insertions(+) create mode 100644 ComputersShop/ComputersShop.sln create mode 100644 ComputersShop/ComputersShop/ComputersShop.csproj create mode 100644 ComputersShop/ComputersShop/Form1.Designer.cs create mode 100644 ComputersShop/ComputersShop/Form1.cs create mode 100644 ComputersShop/ComputersShop/Form1.resx create mode 100644 ComputersShop/ComputersShop/Program.cs diff --git a/ComputersShop/ComputersShop.sln b/ComputersShop/ComputersShop.sln new file mode 100644 index 0000000..53cc350 --- /dev/null +++ b/ComputersShop/ComputersShop.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.33627.172 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComputersShop", "ComputersShop\ComputersShop.csproj", "{C3280008-18FB-4481-B3A7-6C8534EDC65C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C3280008-18FB-4481-B3A7-6C8534EDC65C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C3280008-18FB-4481-B3A7-6C8534EDC65C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C3280008-18FB-4481-B3A7-6C8534EDC65C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C3280008-18FB-4481-B3A7-6C8534EDC65C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7796D5BC-E49C-4753-898A-D5FDFD02BD88} + EndGlobalSection +EndGlobal diff --git a/ComputersShop/ComputersShop/ComputersShop.csproj b/ComputersShop/ComputersShop/ComputersShop.csproj new file mode 100644 index 0000000..b57c89e --- /dev/null +++ b/ComputersShop/ComputersShop/ComputersShop.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net6.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/ComputersShop/ComputersShop/Form1.Designer.cs b/ComputersShop/ComputersShop/Form1.Designer.cs new file mode 100644 index 0000000..8127802 --- /dev/null +++ b/ComputersShop/ComputersShop/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace ComputersShop +{ + 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 = "Form1"; + } + + #endregion + } +} \ No newline at end of file diff --git a/ComputersShop/ComputersShop/Form1.cs b/ComputersShop/ComputersShop/Form1.cs new file mode 100644 index 0000000..85dadf8 --- /dev/null +++ b/ComputersShop/ComputersShop/Form1.cs @@ -0,0 +1,10 @@ +namespace ComputersShop +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/ComputersShop/ComputersShop/Form1.resx b/ComputersShop/ComputersShop/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/ComputersShop/ComputersShop/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/ComputersShop/ComputersShop/Program.cs b/ComputersShop/ComputersShop/Program.cs new file mode 100644 index 0000000..6394a0e --- /dev/null +++ b/ComputersShop/ComputersShop/Program.cs @@ -0,0 +1,17 @@ +namespace ComputersShop +{ + 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