From fa3357a5a5543397d3b01577d73d283f9f960c90 Mon Sep 17 00:00:00 2001 From: Sven491 Date: Wed, 1 Jul 2026 13:35:32 +0200 Subject: [PATCH] First Commit --- Windows_app/Form1.Designer.cs | 8 +- Windows_app/Form1.cs | 4 +- Windows_app/Program.cs | 2 +- Windows_app/UserControl1.Designer.cs | 44 ++++++++++ Windows_app/UserControl1.cs | 18 ++++ Windows_app/UserControl1.resx | 120 +++++++++++++++++++++++++++ 6 files changed, 189 insertions(+), 7 deletions(-) create mode 100644 Windows_app/UserControl1.Designer.cs create mode 100644 Windows_app/UserControl1.cs create mode 100644 Windows_app/UserControl1.resx diff --git a/Windows_app/Form1.Designer.cs b/Windows_app/Form1.Designer.cs index 42002af..d9991dc 100644 --- a/Windows_app/Form1.Designer.cs +++ b/Windows_app/Form1.Designer.cs @@ -1,6 +1,6 @@ namespace Windows_app { - partial class Form1 + partial class App { /// /// Required designer variable. @@ -37,17 +37,17 @@ button1.Name = "button1"; button1.Size = new Size(501, 96); button1.TabIndex = 0; - button1.Text = "button1"; + button1.Text = "Test the app"; button1.UseVisualStyleBackColor = true; button1.Click += button1_Click; // - // Form1 + // App // AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(1404, 749); Controls.Add(button1); - Name = "Form1"; + Name = "App"; Text = "Form1"; ResumeLayout(false); } diff --git a/Windows_app/Form1.cs b/Windows_app/Form1.cs index 8fca3ab..fa7e034 100644 --- a/Windows_app/Form1.cs +++ b/Windows_app/Form1.cs @@ -1,8 +1,8 @@ namespace Windows_app { - public partial class Form1 : Form + public partial class App : Form { - public Form1() + public App() { InitializeComponent(); } diff --git a/Windows_app/Program.cs b/Windows_app/Program.cs index 0478404..969190b 100644 --- a/Windows_app/Program.cs +++ b/Windows_app/Program.cs @@ -11,7 +11,7 @@ namespace Windows_app // To customize application configuration such as set high DPI settings or default font, // see https://aka.ms/applicationconfiguration. ApplicationConfiguration.Initialize(); - Application.Run(new Form1()); + Application.Run(new App()); } } } \ No newline at end of file diff --git a/Windows_app/UserControl1.Designer.cs b/Windows_app/UserControl1.Designer.cs new file mode 100644 index 0000000..ef2e985 --- /dev/null +++ b/Windows_app/UserControl1.Designer.cs @@ -0,0 +1,44 @@ +namespace Windows_app +{ + partial class UserControl1 + { + /// + /// 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 Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + SuspendLayout(); + // + // UserControl1 + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + Name = "UserControl1"; + Size = new Size(810, 480); + ResumeLayout(false); + } + + #endregion + } +} diff --git a/Windows_app/UserControl1.cs b/Windows_app/UserControl1.cs new file mode 100644 index 0000000..8ecd0be --- /dev/null +++ b/Windows_app/UserControl1.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Text; +using System.Windows.Forms; + +namespace Windows_app +{ + public partial class UserControl1 : UserControl + { + public UserControl1() + { + InitializeComponent(); + } + } +} diff --git a/Windows_app/UserControl1.resx b/Windows_app/UserControl1.resx new file mode 100644 index 0000000..8b2ff64 --- /dev/null +++ b/Windows_app/UserControl1.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