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() {