Принятая лабораторная

This commit is contained in:
dimazhelovanov 2023-02-27 08:29:57 +03:00
parent 096e1c954d
commit 1e3f1b382b
3 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,7 @@ logic)
InitializeComponent();
_logger = logger;
_logic = logic;
LoadData();
}
private void FormComponents_Load(object sender, EventArgs e)
{

View File

@ -21,10 +21,12 @@ namespace BlacksmithWorkshop
private readonly IOrderLogic _orderLogic;
public FormMain(ILogger<FormMain> logger, IOrderLogic orderLogic)
{
InitializeComponent();
_logger = logger;
_orderLogic = orderLogic;
LoadData();
}
private void FormMain_Load(object sender, EventArgs e)

View File

@ -22,6 +22,7 @@ namespace BlacksmithWorkshop
InitializeComponent();
_logger = logger;
_logic = logic;
LoadData();
}
private void LoadData()
{