From d9a9ced98db04759739eebb6b07361670f097eaa Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 13 Apr 2018 16:51:14 +0200 Subject: Some of the initialization procedures for BWS might need a valid reference to Bws() --- Aktywator/Bws.cs | 4 ++++ Aktywator/MainForm.cs | 1 + 2 files changed, 5 insertions(+) (limited to 'Aktywator') diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs index 815e643..1af237f 100644 --- a/Aktywator/Bws.cs +++ b/Aktywator/Bws.cs @@ -39,6 +39,10 @@ namespace Aktywator this._filename = filename; sql = new Sql(filename); this.main = main; + } + + public void init() + { string[] sections = this.getSections().Split(','); this.displaySectionBoardsInfo(sections); } diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs index 1e418fd..511db11 100644 --- a/Aktywator/MainForm.cs +++ b/Aktywator/MainForm.cs @@ -65,6 +65,7 @@ namespace Aktywator } bws = new Bws(filename, this); + bws.init(); bws.convert(); labelFilename.Text = filename; -- cgit v1.2.3