Rename MainForm title

This commit is contained in:
ShabOl 2024-03-19 21:18:58 +04:00
parent a83f263f8d
commit e9691f2f63
6 changed files with 7 additions and 9 deletions

View File

@ -1,5 +1,5 @@
using AutoWorkshopDataModels.Models;
using AutoWorkshopDataModels.Enums;
using AutoWorkshopDataModels.Enums;
using AutoWorkshopDataModels.Models;
namespace AutoWorkshopContracts.BindingModels
{

View File

@ -3,7 +3,6 @@ using AutoWorkshopContracts.SearchModels;
using AutoWorkshopContracts.StoragesContracts;
using AutoWorkshopContracts.ViewModels;
using AutoWorkshopListImplement.Models;
using System.Reflection;
namespace AutoWorkshopListImplement.Implements
{

View File

@ -2,7 +2,6 @@
using AutoWorkshopContracts.BusinessLogicContracts;
using AutoWorkshopContracts.SearchModels;
using Microsoft.Extensions.Logging;
using System.Windows.Forms;
namespace AutoWorkshopView.Forms
{

View File

@ -51,7 +51,7 @@
MenuStrip.Padding = new Padding(5, 2, 0, 2);
MenuStrip.Size = new Size(1134, 24);
MenuStrip.TabIndex = 0;
MenuStrip.Text = "menuStrip1";
MenuStrip.Text = "TopMenuStrip";
//
// ToolStripMenu
//
@ -63,14 +63,14 @@
// ComponentsStripMenuItem
//
ComponentsStripMenuItem.Name = "ComponentsStripMenuItem";
ComponentsStripMenuItem.Size = new Size(180, 22);
ComponentsStripMenuItem.Size = new Size(145, 22);
ComponentsStripMenuItem.Text = "Компоненты";
ComponentsStripMenuItem.Click += ComponentsStripMenuItem_Click;
//
// RepairStripMenuItem
//
RepairStripMenuItem.Name = "RepairStripMenuItem";
RepairStripMenuItem.Size = new Size(180, 22);
RepairStripMenuItem.Size = new Size(145, 22);
RepairStripMenuItem.Text = "Ремонты";
RepairStripMenuItem.Click += RepairsStripMenuItem_Click;
//
@ -154,7 +154,7 @@
MainMenuStrip = MenuStrip;
Margin = new Padding(3, 2, 3, 2);
Name = "MainForm";
Text = "MainForm";
Text = "Основная форма";
Load += MainForm_Load;
MenuStrip.ResumeLayout(false);
MenuStrip.PerformLayout();

View File

@ -1,6 +1,5 @@
using AutoWorkshopContracts.BindingModels;
using AutoWorkshopContracts.BusinessLogicContracts;
using AutoWorkshopDataModels.Enums;
using AutoWorkshopView.Forms;
using Microsoft.Extensions.Logging;

View File

@ -40,6 +40,7 @@ namespace AutoWorkshopView
Services.AddTransient<IComponentLogic, ComponentLogic>();
Services.AddTransient<IOrderLogic, OrderLogic>();
Services.AddTransient<IRepairLogic, RepairLogic>();
Services.AddTransient<MainForm>();
Services.AddTransient<FormComponent>();
Services.AddTransient<FormComponents>();