From e37b73098421ad2622435d0b50efdf6944ee57dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=B0=D0=BB=D0=B8=D0=BD=D0=B0=20=D0=A4=D0=B5=D0=B4?= =?UTF-8?q?=D0=BE=D1=80=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Wed, 8 May 2024 09:20:37 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=83=20=D0=BF=D1=83=20=D0=BF=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FormImplementer.Designer.cs | 57 +++++++++++-------- .../CarpentryWorkshop/FormImplementer.resx | 50 ++++++++-------- ... 20240508044653_InitialCreate.Designer.cs} | 2 +- ...ate.cs => 20240508044653_InitialCreate.cs} | 0 4 files changed, 60 insertions(+), 49 deletions(-) rename CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/{20240505132850_InitialCreate.Designer.cs => 20240508044653_InitialCreate.Designer.cs} (99%) rename CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/{20240505132850_InitialCreate.cs => 20240508044653_InitialCreate.cs} (100%) diff --git a/CarpentryWorkshop/CarpentryWorkshop/FormImplementer.Designer.cs b/CarpentryWorkshop/CarpentryWorkshop/FormImplementer.Designer.cs index 6ac6823..32b1ae4 100644 --- a/CarpentryWorkshop/CarpentryWorkshop/FormImplementer.Designer.cs +++ b/CarpentryWorkshop/CarpentryWorkshop/FormImplementer.Designer.cs @@ -45,72 +45,81 @@ // labelFIO // labelFIO.AutoSize = true; - labelFIO.Location = new System.Drawing.Point(16, 49); + labelFIO.Location = new Point(11, 33); + labelFIO.Margin = new Padding(2, 0, 2, 0); labelFIO.Name = "labelFIO"; - labelFIO.Size = new System.Drawing.Size(45, 20); + labelFIO.Size = new Size(37, 15); labelFIO.TabIndex = 0; labelFIO.Text = "ФИО:"; // // labelPassword // labelPassword.AutoSize = true; - labelPassword.Location = new System.Drawing.Point(16, 97); + labelPassword.Location = new Point(11, 66); + labelPassword.Margin = new Padding(2, 0, 2, 0); labelPassword.Name = "labelPassword"; - labelPassword.Size = new System.Drawing.Size(65, 20); + labelPassword.Size = new Size(52, 15); labelPassword.TabIndex = 1; labelPassword.Text = "Пароль:"; // // labelExperience // labelExperience.AutoSize = true; - labelExperience.Location = new System.Drawing.Point(16, 150); - labelExperience.Name = "labelWorkExperience"; - labelExperience.Size = new System.Drawing.Size(102, 20); + labelExperience.Location = new Point(11, 102); + labelExperience.Margin = new Padding(2, 0, 2, 0); + labelExperience.Name = "labelExperience"; + labelExperience.Size = new Size(82, 15); labelExperience.TabIndex = 2; labelExperience.Text = "Стаж работы:"; // // labelQualification // labelQualification.AutoSize = true; - labelQualification.Location = new System.Drawing.Point(16, 201); + labelQualification.Location = new Point(11, 137); + labelQualification.Margin = new Padding(2, 0, 2, 0); labelQualification.Name = "labelQualification"; - labelQualification.Size = new System.Drawing.Size(114, 20); + labelQualification.Size = new Size(91, 15); labelQualification.TabIndex = 3; labelQualification.Text = "Квалификация:"; // // textBoxFIO // - textBoxFIO.Location = new System.Drawing.Point(155, 42); + textBoxFIO.Location = new Point(108, 29); + textBoxFIO.Margin = new Padding(2, 2, 2, 2); textBoxFIO.Name = "textBoxFIO"; - textBoxFIO.Size = new System.Drawing.Size(285, 27); + textBoxFIO.Size = new Size(201, 23); textBoxFIO.TabIndex = 4; // // textBoxPassword // - textBoxPassword.Location = new System.Drawing.Point(155, 90); + textBoxPassword.Location = new Point(108, 61); + textBoxPassword.Margin = new Padding(2, 2, 2, 2); textBoxPassword.Name = "textBoxPassword"; - textBoxPassword.Size = new System.Drawing.Size(285, 27); + textBoxPassword.Size = new Size(201, 23); textBoxPassword.TabIndex = 5; // // numericUpDownExperience // - numericUpDownExperience.Location = new Point(155, 143); + numericUpDownExperience.Location = new Point(108, 98); + numericUpDownExperience.Margin = new Padding(2, 2, 2, 2); numericUpDownExperience.Name = "numericUpDownExperience"; - numericUpDownExperience.Size = new Size(285, 27); + numericUpDownExperience.Size = new Size(200, 23); numericUpDownExperience.TabIndex = 6; // // numericUpDownQualification // - numericUpDownQualification.Location = new Point(155, 194); + numericUpDownQualification.Location = new Point(108, 132); + numericUpDownQualification.Margin = new Padding(2, 2, 2, 2); numericUpDownQualification.Name = "numericUpDownQualification"; - numericUpDownQualification.Size = new Size(285, 27); + numericUpDownQualification.Size = new Size(200, 23); numericUpDownQualification.TabIndex = 7; // // buttonSave // - buttonSave.Location = new Point(205, 250); + buttonSave.Location = new Point(140, 168); + buttonSave.Margin = new Padding(2, 2, 2, 2); buttonSave.Name = "buttonSave"; - buttonSave.Size = new Size(140, 53); + buttonSave.Size = new Size(77, 20); buttonSave.TabIndex = 8; buttonSave.Text = "Сохранить"; buttonSave.UseVisualStyleBackColor = true; @@ -118,9 +127,10 @@ // // buttonCancel // - buttonCancel.Location = new Point(346, 250); + buttonCancel.Location = new Point(221, 168); + buttonCancel.Margin = new Padding(2, 2, 2, 2); buttonCancel.Name = "buttonCancel"; - buttonCancel.Size = new Size(94, 29); + buttonCancel.Size = new Size(66, 20); buttonCancel.TabIndex = 9; buttonCancel.Text = "Отмена"; buttonCancel.UseVisualStyleBackColor = true; @@ -128,9 +138,9 @@ // // FormImplementer // - AutoScaleDimensions = new SizeF(10F, 22F); + AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(454, 292); + ClientSize = new Size(318, 199); Controls.Add(buttonCancel); Controls.Add(buttonSave); Controls.Add(numericUpDownQualification); @@ -141,6 +151,7 @@ Controls.Add(labelExperience); Controls.Add(labelPassword); Controls.Add(labelFIO); + Margin = new Padding(2, 2, 2, 2); Name = "FormImplementer"; Text = "Исполнитель"; Load += FormImplementer_Load; diff --git a/CarpentryWorkshop/CarpentryWorkshop/FormImplementer.resx b/CarpentryWorkshop/CarpentryWorkshop/FormImplementer.resx index 1af7de1..af32865 100644 --- a/CarpentryWorkshop/CarpentryWorkshop/FormImplementer.resx +++ b/CarpentryWorkshop/CarpentryWorkshop/FormImplementer.resx @@ -1,17 +1,17 @@  - diff --git a/CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/20240505132850_InitialCreate.Designer.cs b/CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/20240508044653_InitialCreate.Designer.cs similarity index 99% rename from CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/20240505132850_InitialCreate.Designer.cs rename to CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/20240508044653_InitialCreate.Designer.cs index dc91bfe..5ff73c2 100644 --- a/CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/20240505132850_InitialCreate.Designer.cs +++ b/CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/20240508044653_InitialCreate.Designer.cs @@ -12,7 +12,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace CarpentryWorkshopDatabaseImplement.Migrations { [DbContext(typeof(CarpentryWorkshopDatabase))] - [Migration("20240505132850_InitialCreate")] + [Migration("20240508044653_InitialCreate")] partial class InitialCreate { /// diff --git a/CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/20240505132850_InitialCreate.cs b/CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/20240508044653_InitialCreate.cs similarity index 100% rename from CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/20240505132850_InitialCreate.cs rename to CarpentryWorkshop/CarpentryWorkshopDatabaseImplement/Migrations/20240508044653_InitialCreate.cs