From 71ff67396e3197c4fb000e03a16d6f51ca1d8da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=9F=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=D0=BF=D0=BE=D0=B2?= Date: Sun, 15 Dec 2024 00:22:52 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=84=D0=BE=D1=80=D0=BC=D1=83=20=D0=B4=D0=BB=D1=8F=20=D0=BF?= =?UTF-8?q?=D0=BB=D0=B0=D0=B3=D0=B8=D0=BD=D0=BE=D0=B2=20=D0=B8=20=D0=BD?= =?UTF-8?q?=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B8=D0=BB=20=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D0=B5=D0=BA=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- InternetShop/PluginApp/FormMain.Designer.cs | 45 ++++++++ InternetShop/PluginApp/FormMain.cs | 10 ++ InternetShop/PluginApp/FormMain.resx | 120 ++++++++++++++++++++ InternetShop/PluginApp/PluginApp.csproj | 26 +++-- InternetShop/PluginApp/Program.cs | 2 +- 5 files changed, 195 insertions(+), 8 deletions(-) create mode 100644 InternetShop/PluginApp/FormMain.Designer.cs create mode 100644 InternetShop/PluginApp/FormMain.cs create mode 100644 InternetShop/PluginApp/FormMain.resx diff --git a/InternetShop/PluginApp/FormMain.Designer.cs b/InternetShop/PluginApp/FormMain.Designer.cs new file mode 100644 index 0000000..a4d906d --- /dev/null +++ b/InternetShop/PluginApp/FormMain.Designer.cs @@ -0,0 +1,45 @@ +namespace PluginApp +{ + 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() + { + SuspendLayout(); + // + // FormMain + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 450); + Name = "FormMain"; + Text = "Плагины"; + ResumeLayout(false); + } + + #endregion + } +} \ No newline at end of file diff --git a/InternetShop/PluginApp/FormMain.cs b/InternetShop/PluginApp/FormMain.cs new file mode 100644 index 0000000..f3e997b --- /dev/null +++ b/InternetShop/PluginApp/FormMain.cs @@ -0,0 +1,10 @@ +namespace PluginApp +{ + public partial class FormMain : Form + { + public FormMain() + { + InitializeComponent(); + } + } +} diff --git a/InternetShop/PluginApp/FormMain.resx b/InternetShop/PluginApp/FormMain.resx new file mode 100644 index 0000000..8b2ff64 --- /dev/null +++ b/InternetShop/PluginApp/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/InternetShop/PluginApp/PluginApp.csproj b/InternetShop/PluginApp/PluginApp.csproj index 663fdb8..509a7d6 100644 --- a/InternetShop/PluginApp/PluginApp.csproj +++ b/InternetShop/PluginApp/PluginApp.csproj @@ -1,11 +1,23 @@  - - WinExe - net8.0-windows - enable - true - enable - + + WinExe + net8.0-windows + enable + true + enable + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + \ No newline at end of file diff --git a/InternetShop/PluginApp/Program.cs b/InternetShop/PluginApp/Program.cs index 00d3c8f..c657723 100644 --- a/InternetShop/PluginApp/Program.cs +++ b/InternetShop/PluginApp/Program.cs @@ -11,7 +11,7 @@ namespace PluginApp // To customize application configuration such as set high DPI settings or default font, // see https://aka.ms/applicationconfiguration. ApplicationConfiguration.Initialize(); - Application.Run(); + Application.Run(new FormMain()); } } } \ No newline at end of file