From 969ba7728ca01e8a98644a0e884d0166903928cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D0=BC?= Date: Thu, 25 Apr 2024 16:09:15 +0400 Subject: [PATCH] lab0 --- ProjertTrain/ProjertTrain.sln | 25 ++++ ProjertTrain/ProjertTrain/Form1.Designer.cs | 39 ++++++ ProjertTrain/ProjertTrain/Form1.cs | 10 ++ ProjertTrain/ProjertTrain/Form1.resx | 120 ++++++++++++++++++ ProjertTrain/ProjertTrain/Program.cs | 17 +++ ProjertTrain/ProjertTrain/ProjertTrain.csproj | 11 ++ 6 files changed, 222 insertions(+) create mode 100644 ProjertTrain/ProjertTrain.sln create mode 100644 ProjertTrain/ProjertTrain/Form1.Designer.cs create mode 100644 ProjertTrain/ProjertTrain/Form1.cs create mode 100644 ProjertTrain/ProjertTrain/Form1.resx create mode 100644 ProjertTrain/ProjertTrain/Program.cs create mode 100644 ProjertTrain/ProjertTrain/ProjertTrain.csproj diff --git a/ProjertTrain/ProjertTrain.sln b/ProjertTrain/ProjertTrain.sln new file mode 100644 index 0000000..0d927e3 --- /dev/null +++ b/ProjertTrain/ProjertTrain.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34728.123 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjertTrain", "ProjertTrain\ProjertTrain.csproj", "{C3A1D95F-D40D-4B35-8109-2358CFEA941D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C3A1D95F-D40D-4B35-8109-2358CFEA941D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C3A1D95F-D40D-4B35-8109-2358CFEA941D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C3A1D95F-D40D-4B35-8109-2358CFEA941D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C3A1D95F-D40D-4B35-8109-2358CFEA941D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C05A158C-DDB4-4ECA-8451-4EDD98AAADFB} + EndGlobalSection +EndGlobal diff --git a/ProjertTrain/ProjertTrain/Form1.Designer.cs b/ProjertTrain/ProjertTrain/Form1.Designer.cs new file mode 100644 index 0000000..ec4ef8f --- /dev/null +++ b/ProjertTrain/ProjertTrain/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace ProjertTrain +{ + 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 + } +} diff --git a/ProjertTrain/ProjertTrain/Form1.cs b/ProjertTrain/ProjertTrain/Form1.cs new file mode 100644 index 0000000..4e53d44 --- /dev/null +++ b/ProjertTrain/ProjertTrain/Form1.cs @@ -0,0 +1,10 @@ +namespace ProjertTrain +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/ProjertTrain/ProjertTrain/Form1.resx b/ProjertTrain/ProjertTrain/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/ProjertTrain/ProjertTrain/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/ProjertTrain/ProjertTrain/Program.cs b/ProjertTrain/ProjertTrain/Program.cs new file mode 100644 index 0000000..08005a9 --- /dev/null +++ b/ProjertTrain/ProjertTrain/Program.cs @@ -0,0 +1,17 @@ +namespace ProjertTrain +{ + 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/ProjertTrain/ProjertTrain/ProjertTrain.csproj b/ProjertTrain/ProjertTrain/ProjertTrain.csproj new file mode 100644 index 0000000..663fdb8 --- /dev/null +++ b/ProjertTrain/ProjertTrain/ProjertTrain.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + true + enable + + + \ No newline at end of file