diff options
author | emkael <emkael@tlen.pl> | 2018-04-13 16:51:14 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-04-13 16:51:14 +0200 |
commit | d9a9ced98db04759739eebb6b07361670f097eaa (patch) | |
tree | 3a1d8308be99d70b433bf59b1ddc675d2f7afda3 /Aktywator | |
parent | f8fa8c47077c25c56cf245e8d974613db4459ff6 (diff) |
Some of the initialization procedures for BWS might need a valid reference to Bws()
Diffstat (limited to 'Aktywator')
-rw-r--r-- | Aktywator/Bws.cs | 4 | ||||
-rw-r--r-- | Aktywator/MainForm.cs | 1 |
2 files changed, 5 insertions, 0 deletions
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; |