From 1e3f1b382bd497b95866ee70bc50280e3dddc6db Mon Sep 17 00:00:00 2001 From: dimazhelovanov Date: Mon, 27 Feb 2023 08:29:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=BD=D1=8F=D1=82=D0=B0?= =?UTF-8?q?=D1=8F=20=D0=BB=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D0=BD=D0=B0=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BlacksmithWorkshop/BlacksmithWorkshop/FormComponents.cs | 1 + BlacksmithWorkshop/BlacksmithWorkshop/FormMain.cs | 4 +++- BlacksmithWorkshop/BlacksmithWorkshop/FormManufactures.cs | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormComponents.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormComponents.cs index 31135b3..ae4a014 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormComponents.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormComponents.cs @@ -24,6 +24,7 @@ logic) InitializeComponent(); _logger = logger; _logic = logic; + LoadData(); } private void FormComponents_Load(object sender, EventArgs e) { diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormMain.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormMain.cs index c20301f..5f62478 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormMain.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormMain.cs @@ -21,10 +21,12 @@ namespace BlacksmithWorkshop private readonly IOrderLogic _orderLogic; public FormMain(ILogger logger, IOrderLogic orderLogic) { + InitializeComponent(); _logger = logger; _orderLogic = orderLogic; - + LoadData(); + } private void FormMain_Load(object sender, EventArgs e) diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormManufactures.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormManufactures.cs index 9fa95a1..fc03d6f 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormManufactures.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormManufactures.cs @@ -22,6 +22,7 @@ namespace BlacksmithWorkshop InitializeComponent(); _logger = logger; _logic = logic; + LoadData(); } private void LoadData() {