From 3d1e631ac723bbb755b4379bad9144cec762a892 Mon Sep 17 00:00:00 2001 From: Salikh Date: Fri, 23 Feb 2024 19:51:52 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A1=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 --- MotorPlant/MotorPlant.sln | 25 ++++ MotorPlant/MotorPlantView/Form1.Designer.cs | 39 ++++++ MotorPlant/MotorPlantView/Form1.cs | 10 ++ MotorPlant/MotorPlantView/Form1.resx | 120 ++++++++++++++++++ .../MotorPlantView/MotorPlantView.csproj | 11 ++ MotorPlant/MotorPlantView/Program.cs | 17 +++ 6 files changed, 222 insertions(+) create mode 100644 MotorPlant/MotorPlant.sln create mode 100644 MotorPlant/MotorPlantView/Form1.Designer.cs create mode 100644 MotorPlant/MotorPlantView/Form1.cs create mode 100644 MotorPlant/MotorPlantView/Form1.resx create mode 100644 MotorPlant/MotorPlantView/MotorPlantView.csproj create mode 100644 MotorPlant/MotorPlantView/Program.cs diff --git a/MotorPlant/MotorPlant.sln b/MotorPlant/MotorPlant.sln new file mode 100644 index 0000000..50ee9ea --- /dev/null +++ b/MotorPlant/MotorPlant.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34031.279 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MotorPlantView", "MotorPlantView\MotorPlantView.csproj", "{254164C1-CDF8-4F3C-8564-8C8987B7BFA1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {254164C1-CDF8-4F3C-8564-8C8987B7BFA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {254164C1-CDF8-4F3C-8564-8C8987B7BFA1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {254164C1-CDF8-4F3C-8564-8C8987B7BFA1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {254164C1-CDF8-4F3C-8564-8C8987B7BFA1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {312DA36E-CFA5-4488-B4FA-6045B0C521DD} + EndGlobalSection +EndGlobal diff --git a/MotorPlant/MotorPlantView/Form1.Designer.cs b/MotorPlant/MotorPlantView/Form1.Designer.cs new file mode 100644 index 0000000..3955c75 --- /dev/null +++ b/MotorPlant/MotorPlantView/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace MotorPlantView +{ + 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/MotorPlant/MotorPlantView/Form1.cs b/MotorPlant/MotorPlantView/Form1.cs new file mode 100644 index 0000000..9ef675b --- /dev/null +++ b/MotorPlant/MotorPlantView/Form1.cs @@ -0,0 +1,10 @@ +namespace MotorPlantView +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/MotorPlant/MotorPlantView/Form1.resx b/MotorPlant/MotorPlantView/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/MotorPlant/MotorPlantView/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/MotorPlant/MotorPlantView/MotorPlantView.csproj b/MotorPlant/MotorPlantView/MotorPlantView.csproj new file mode 100644 index 0000000..b57c89e --- /dev/null +++ b/MotorPlant/MotorPlantView/MotorPlantView.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net6.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/MotorPlant/MotorPlantView/Program.cs b/MotorPlant/MotorPlantView/Program.cs new file mode 100644 index 0000000..2e234f5 --- /dev/null +++ b/MotorPlant/MotorPlantView/Program.cs @@ -0,0 +1,17 @@ +namespace MotorPlantView +{ + 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