From 7053db4aa66c16dfab610f5287e81fc94148fca9 Mon Sep 17 00:00:00 2001 From: Anastasia Yazykova Date: Tue, 5 Mar 2024 23:20:23 +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 --- TrolleybusProject/TrolleybusProject.sln | 25 ++++ .../TrolleybusProject/Form1.Designer.cs | 39 ++++++ TrolleybusProject/TrolleybusProject/Form1.cs | 10 ++ .../TrolleybusProject/Form1.resx | 120 ++++++++++++++++++ .../TrolleybusProject/Program.cs | 17 +++ .../TrolleybusProject.csproj | 11 ++ 6 files changed, 222 insertions(+) create mode 100644 TrolleybusProject/TrolleybusProject.sln create mode 100644 TrolleybusProject/TrolleybusProject/Form1.Designer.cs create mode 100644 TrolleybusProject/TrolleybusProject/Form1.cs create mode 100644 TrolleybusProject/TrolleybusProject/Form1.resx create mode 100644 TrolleybusProject/TrolleybusProject/Program.cs create mode 100644 TrolleybusProject/TrolleybusProject/TrolleybusProject.csproj diff --git a/TrolleybusProject/TrolleybusProject.sln b/TrolleybusProject/TrolleybusProject.sln new file mode 100644 index 0000000..2c5cb6e --- /dev/null +++ b/TrolleybusProject/TrolleybusProject.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34024.191 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TrolleybusProject", "TrolleybusProject\TrolleybusProject.csproj", "{212BCE90-1598-4573-A91D-8498ED312A2B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {212BCE90-1598-4573-A91D-8498ED312A2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {212BCE90-1598-4573-A91D-8498ED312A2B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {212BCE90-1598-4573-A91D-8498ED312A2B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {212BCE90-1598-4573-A91D-8498ED312A2B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {57614842-28A1-4F14-A63F-EF7DEC86E435} + EndGlobalSection +EndGlobal diff --git a/TrolleybusProject/TrolleybusProject/Form1.Designer.cs b/TrolleybusProject/TrolleybusProject/Form1.Designer.cs new file mode 100644 index 0000000..ca6d26f --- /dev/null +++ b/TrolleybusProject/TrolleybusProject/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace TrolleybusProject +{ + 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/TrolleybusProject/TrolleybusProject/Form1.cs b/TrolleybusProject/TrolleybusProject/Form1.cs new file mode 100644 index 0000000..b929a72 --- /dev/null +++ b/TrolleybusProject/TrolleybusProject/Form1.cs @@ -0,0 +1,10 @@ +namespace TrolleybusProject +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/TrolleybusProject/TrolleybusProject/Form1.resx b/TrolleybusProject/TrolleybusProject/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TrolleybusProject/TrolleybusProject/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/TrolleybusProject/TrolleybusProject/Program.cs b/TrolleybusProject/TrolleybusProject/Program.cs new file mode 100644 index 0000000..f61a896 --- /dev/null +++ b/TrolleybusProject/TrolleybusProject/Program.cs @@ -0,0 +1,17 @@ +namespace TrolleybusProject +{ + 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/TrolleybusProject/TrolleybusProject/TrolleybusProject.csproj b/TrolleybusProject/TrolleybusProject/TrolleybusProject.csproj new file mode 100644 index 0000000..e1a0735 --- /dev/null +++ b/TrolleybusProject/TrolleybusProject/TrolleybusProject.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net7.0-windows + enable + true + enable + + + \ No newline at end of file