The test hints were out of order. make them show progressively more information.

This commit is contained in:
Tim Young 2017-10-24 14:04:19 -05:00
parent 67210c4d1e
commit adc80e95a4

View File

@ -509,10 +509,10 @@ namespace EduNetworkBuilder
case NetTestVerbosity.full:
rbHelp4.Checked = true;
break;
case NetTestVerbosity.basic:
case NetTestVerbosity.hints:
rbHelp3.Checked = true;
break;
case NetTestVerbosity.hints:
case NetTestVerbosity.basic:
rbHelp2.Checked = true;
break;
case NetTestVerbosity.none:
@ -1903,30 +1903,42 @@ namespace EduNetworkBuilder
private void rbHelp1_CheckedChanged(object sender, EventArgs e)
{
if (processing) return;
if (rbHelp1.Checked)
{
myNetwork.HintsToDisplay = NetTestVerbosity.none;
UpdateForm();
}
}
private void rbHelp2_CheckedChanged(object sender, EventArgs e)
{
if (processing) return;
myNetwork.HintsToDisplay = NetTestVerbosity.hints;
if (rbHelp2.Checked)
{
myNetwork.HintsToDisplay = NetTestVerbosity.basic;
UpdateForm();
}
}
private void rbHelp3_CheckedChanged(object sender, EventArgs e)
{
if (processing) return;
myNetwork.HintsToDisplay = NetTestVerbosity.basic;
if (rbHelp3.Checked)
{
myNetwork.HintsToDisplay = NetTestVerbosity.hints;
UpdateForm();
}
}
private void rbHelp4_CheckedChanged(object sender, EventArgs e)
{
if (processing) return;
if (rbHelp4.Checked)
{
myNetwork.HintsToDisplay = NetTestVerbosity.full;
UpdateForm();
}
}
private void puzzlesToolStripMenuItem_Click(object sender, EventArgs e)