From ef20352778c779d21b3de7c35284fd5427235083 Mon Sep 17 00:00:00 2001 From: Vlad Torop Date: Mon, 14 Apr 2025 11:41:08 +0300 Subject: [PATCH] first commit --- .gitignore | 3 ++ Form1.Designer.cs | 39 +++++++++++++++ Form1.cs | 10 ++++ Form1.resx | 120 +++++++++++++++++++++++++++++++++++++++++++++++ Program.cs | 17 +++++++ WinFormsApp1.csproj | 11 +++++ WinFormsApp1.csproj.user | 8 ++++ WinFormsApp1.sln | 25 ++++++++++ 8 files changed, 233 insertions(+) create mode 100644 .gitignore create mode 100644 Form1.Designer.cs create mode 100644 Form1.cs create mode 100644 Form1.resx create mode 100644 Program.cs create mode 100644 WinFormsApp1.csproj create mode 100644 WinFormsApp1.csproj.user create mode 100644 WinFormsApp1.sln diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d71cd96 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.vs +/bin +/obj diff --git a/Form1.Designer.cs b/Form1.Designer.cs new file mode 100644 index 0000000..098d161 --- /dev/null +++ b/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace WinFormsApp1 +{ + 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/Form1.cs b/Form1.cs new file mode 100644 index 0000000..dabe0d0 --- /dev/null +++ b/Form1.cs @@ -0,0 +1,10 @@ +namespace WinFormsApp1 +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/Form1.resx b/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/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/Program.cs b/Program.cs new file mode 100644 index 0000000..1e39c2a --- /dev/null +++ b/Program.cs @@ -0,0 +1,17 @@ +namespace WinFormsApp1 +{ + 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/WinFormsApp1.csproj b/WinFormsApp1.csproj new file mode 100644 index 0000000..663fdb8 --- /dev/null +++ b/WinFormsApp1.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/WinFormsApp1.csproj.user b/WinFormsApp1.csproj.user new file mode 100644 index 0000000..7814ea2 --- /dev/null +++ b/WinFormsApp1.csproj.user @@ -0,0 +1,8 @@ + + + + + Form + + + diff --git a/WinFormsApp1.sln b/WinFormsApp1.sln new file mode 100644 index 0000000..c588f50 --- /dev/null +++ b/WinFormsApp1.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34607.119 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinFormsApp1", "WinFormsApp1.csproj", "{24C4E63C-CEBA-4669-86F8-32898D638275}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {24C4E63C-CEBA-4669-86F8-32898D638275}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {24C4E63C-CEBA-4669-86F8-32898D638275}.Debug|Any CPU.Build.0 = Debug|Any CPU + {24C4E63C-CEBA-4669-86F8-32898D638275}.Release|Any CPU.ActiveCfg = Release|Any CPU + {24C4E63C-CEBA-4669-86F8-32898D638275}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {AC1D3F91-4201-458F-A361-BF95AFB1E83D} + EndGlobalSection +EndGlobal