summaryrefslogtreecommitdiff
path: root/Aktywator/Bws.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-23 12:51:41 +0200
committeremkael <emkael@tlen.pl>2017-08-23 12:51:41 +0200
commit47be743fb185ee2468c6b41128a466c87d4d8dc6 (patch)
tree7cf85f0b7b046b84018d4df620c7b5279fcd66d7 /Aktywator/Bws.cs
parentde5b8d721a9732472464c9faa6fc13002d98c068 (diff)
Hand records tab redesigned to be consistent with the settings tab
Diffstat (limited to 'Aktywator/Bws.cs')
-rw-r--r--Aktywator/Bws.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index e1bc061..822d39f 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -27,10 +27,10 @@ namespace Aktywator
sql = new Sql(filename);
this.main = main;
string[] sections = this.getSections().Split(',');
- main.lWczytywane.Text = this.getBoardRangeText(sections);
foreach (string section in sections)
{
- main.cblSections.Items.Add(this.sectorNumberToLetter(Int16.Parse(section)));
+ int sectionNumber = Int16.Parse(section);
+ main.cblSections.Items.Add("sektor " + this.sectorNumberToLetter(sectionNumber) + " (rozdania " + this.lowBoard(section) + "-" + this.highBoard(section) + ")");
}
for (int i = 0; i < main.cblSections.Items.Count; i++)
{
@@ -40,7 +40,7 @@ namespace Aktywator
private int sectorLetterToNumber(string sector)
{
- return sector[0] - 'A' + 1;
+ return sector.ToUpper()[0] - 'A' + 1;
}
private string sectorNumberToLetter(int sector)