summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/Bws.cs2
-rw-r--r--Aktywator/MainForm.cs5
2 files changed, 6 insertions, 1 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index dee1112..606de96 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -50,7 +50,7 @@ namespace Aktywator
return character.ToString();
}
- private string getBoardRangeText(string[] sectors)
+ public string getBoardRangeText(string[] sectors)
{
StringBuilder sb = new StringBuilder();
sb.Append("Wczytywane rozkłady:");
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index aa3a447..1326777 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -287,6 +287,11 @@ namespace Aktywator
}
}
+ private void cblSections_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.lWczytywane.Text = bws.getBoardRangeText(bws.getSelectedSections());
+ }
+
private void bClearHands_Click(object sender, EventArgs e)
{
try