summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-11-26 17:40:45 +0100
committeremkael <emkael@tlen.pl>2016-11-26 17:40:45 +0100
commit792069c65af52df86286d9596c2e7eab340d18ff (patch)
tree319e92a7acc04f60750eea35cdb5699e59203a91 /Aktywator
parent8b1f024231571b16940aab83c1a131bf9a1eb5d5 (diff)
* updating label for boards to read on section selection
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