From 028aa8e962583d49b0d8f5125d5648b8abe5f53a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D0=BB=D0=B8=D0=BD=D0=B0=20=D0=A7=D1=83=D0=B1?= =?UTF-8?q?=D1=8B=D0=BA=D0=B8=D0=BD=D0=B0?= Date: Tue, 14 May 2024 17:42:58 +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=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bookshop/Bookshop.sln | 25 +++++ Bookshop/BookshopView/BookshopView.csproj | 11 ++ Bookshop/BookshopView/Form1.Designer.cs | 39 +++++++ Bookshop/BookshopView/Form1.cs | 10 ++ Bookshop/BookshopView/Form1.resx | 120 ++++++++++++++++++++++ Bookshop/BookshopView/Program.cs | 17 +++ 6 files changed, 222 insertions(+) create mode 100644 Bookshop/Bookshop.sln create mode 100644 Bookshop/BookshopView/BookshopView.csproj create mode 100644 Bookshop/BookshopView/Form1.Designer.cs create mode 100644 Bookshop/BookshopView/Form1.cs create mode 100644 Bookshop/BookshopView/Form1.resx create mode 100644 Bookshop/BookshopView/Program.cs diff --git a/Bookshop/Bookshop.sln b/Bookshop/Bookshop.sln new file mode 100644 index 0000000..b08eefa --- /dev/null +++ b/Bookshop/Bookshop.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32825.248 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BookshopView", "BookshopView\BookshopView.csproj", "{96DE30E7-2B91-4357-954F-31B755339128}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {96DE30E7-2B91-4357-954F-31B755339128}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {96DE30E7-2B91-4357-954F-31B755339128}.Debug|Any CPU.Build.0 = Debug|Any CPU + {96DE30E7-2B91-4357-954F-31B755339128}.Release|Any CPU.ActiveCfg = Release|Any CPU + {96DE30E7-2B91-4357-954F-31B755339128}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A23ECBAF-A78F-43EB-999F-D80AB9CDC24E} + EndGlobalSection +EndGlobal diff --git a/Bookshop/BookshopView/BookshopView.csproj b/Bookshop/BookshopView/BookshopView.csproj new file mode 100644 index 0000000..b57c89e --- /dev/null +++ b/Bookshop/BookshopView/BookshopView.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net6.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/Bookshop/BookshopView/Form1.Designer.cs b/Bookshop/BookshopView/Form1.Designer.cs new file mode 100644 index 0000000..09cf346 --- /dev/null +++ b/Bookshop/BookshopView/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace BookshopView +{ + 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/Bookshop/BookshopView/Form1.cs b/Bookshop/BookshopView/Form1.cs new file mode 100644 index 0000000..fbbf4fc --- /dev/null +++ b/Bookshop/BookshopView/Form1.cs @@ -0,0 +1,10 @@ +namespace BookshopView +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/Bookshop/BookshopView/Form1.resx b/Bookshop/BookshopView/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Bookshop/BookshopView/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/Bookshop/BookshopView/Program.cs b/Bookshop/BookshopView/Program.cs new file mode 100644 index 0000000..16a6864 --- /dev/null +++ b/Bookshop/BookshopView/Program.cs @@ -0,0 +1,17 @@ +namespace BookshopView +{ + 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