summaryrefslogtreecommitdiff
path: root/Aktywator/Bws.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator/Bws.cs')
-rw-r--r--Aktywator/Bws.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 606de96..335bc11 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -514,9 +514,10 @@ namespace Aktywator
}
}
- public void loadHandRecords(PBN pbn)
+ public int loadHandRecords(PBN pbn)
{
- foreach (string section in this.getSections().Split(','))
+ int count = 0;
+ foreach (string section in this.getSelectedSections())
{
this.clearRecords(section);
for (int i = this.lowBoard(section.Trim()); i <= this.highBoard(section.Trim()); i++)
@@ -570,8 +571,10 @@ namespace Aktywator
ddStr.Append(")");
sql.query(ddStr.ToString());
}
+ count++;
}
}
+ return count;
}
}
}