From a33fe8c83fb8ecc9b5707d2d9c1fb40e81f9f877 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Sat, 14 May 2022 10:11:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=8F=D0=B5=D1=82=20=D0=BD?= =?UTF-8?q?=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D1=81=20Form1=20?= =?UTF-8?q?=D0=BD=D0=B0=20MainForm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AwesomeEmailExtractor.csproj | 9 +- Form1.Designer.cs => MainForm.Designer.cs | 13 ++- Form1.cs => MainForm.cs | 4 +- MainForm.resx | 120 ++++++++++++++++++++++ Program.cs | 2 +- 5 files changed, 139 insertions(+), 9 deletions(-) rename Form1.Designer.cs => MainForm.Designer.cs (81%) rename Form1.cs => MainForm.cs (82%) create mode 100644 MainForm.resx diff --git a/AwesomeEmailExtractor.csproj b/AwesomeEmailExtractor.csproj index c2d957c..c86a1a0 100644 --- a/AwesomeEmailExtractor.csproj +++ b/AwesomeEmailExtractor.csproj @@ -46,14 +46,17 @@ - + Form - - Form1.cs + + MainForm.cs + + MainForm.cs + ResXFileCodeGenerator Resources.Designer.cs diff --git a/Form1.Designer.cs b/MainForm.Designer.cs similarity index 81% rename from Form1.Designer.cs rename to MainForm.Designer.cs index 12c6dea..879d452 100644 --- a/Form1.Designer.cs +++ b/MainForm.Designer.cs @@ -1,6 +1,6 @@ namespace AwesomeEmailExtractor { - partial class Form1 + partial class MainForm { /// /// Обязательная переменная конструктора. @@ -28,10 +28,17 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); + this.SuspendLayout(); + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "Form1"; + this.Name = "MainForm"; + this.Text = "Главная форма"; + this.ResumeLayout(false); + } #endregion diff --git a/Form1.cs b/MainForm.cs similarity index 82% rename from Form1.cs rename to MainForm.cs index 8b3537b..5354a22 100644 --- a/Form1.cs +++ b/MainForm.cs @@ -10,9 +10,9 @@ using System.Windows.Forms; namespace AwesomeEmailExtractor { - public partial class Form1 : Form + public partial class MainForm : Form { - public Form1() + public MainForm() { InitializeComponent(); } diff --git a/MainForm.resx b/MainForm.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/MainForm.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 index 24bb9e9..a06ccf4 100644 --- a/Program.cs +++ b/Program.cs @@ -16,7 +16,7 @@ namespace AwesomeEmailExtractor { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); + Application.Run(new MainForm()); } } }