Introduction of Program.CompoundWMsCount, fix in DataEntry.Combined.CycleBeginningForm, version 1.5.68.

This commit is contained in:
Milan Hanajik
2015-07-09 16:24:55 +02:00
parent 563141fbbe
commit 95c05078de
15 changed files with 74 additions and 73 deletions
@@ -148,7 +148,7 @@ namespace TBF.Screens
int enabledWMsCount = 0;
if (combined)
{
enabledWMsCount = Program.WMsCount / 2;
enabledWMsCount = Program.CompoundWMsCount;
}
else
{
@@ -179,7 +179,7 @@ namespace TBF.Screens
flowLayoutPanel.AutoScroll = true;
bool first = true;
for (int mtr = 1; mtr <= (combined ? Program.WMsCount / 2 : Program.WMsCount); mtr++)
for (int mtr = 1; mtr <= (combined ? Program.CompoundWMsCount : Program.WMsCount); mtr++)
{
if (combined || (testResults != null && testResults.Count > 0 && !testResults[0].Meters[mtr - 1].Disabled))
{