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: case NetTestVerbosity.full:
rbHelp4.Checked = true; rbHelp4.Checked = true;
break; break;
case NetTestVerbosity.basic: case NetTestVerbosity.hints:
rbHelp3.Checked = true; rbHelp3.Checked = true;
break; break;
case NetTestVerbosity.hints: case NetTestVerbosity.basic:
rbHelp2.Checked = true; rbHelp2.Checked = true;
break; break;
case NetTestVerbosity.none: case NetTestVerbosity.none:
@ -1903,29 +1903,41 @@ namespace EduNetworkBuilder
private void rbHelp1_CheckedChanged(object sender, EventArgs e) private void rbHelp1_CheckedChanged(object sender, EventArgs e)
{ {
if (processing) return; if (processing) return;
myNetwork.HintsToDisplay = NetTestVerbosity.none; if (rbHelp1.Checked)
UpdateForm(); {
myNetwork.HintsToDisplay = NetTestVerbosity.none;
UpdateForm();
}
} }
private void rbHelp2_CheckedChanged(object sender, EventArgs e) private void rbHelp2_CheckedChanged(object sender, EventArgs e)
{ {
if (processing) return; if (processing) return;
myNetwork.HintsToDisplay = NetTestVerbosity.hints; if (rbHelp2.Checked)
UpdateForm(); {
myNetwork.HintsToDisplay = NetTestVerbosity.basic;
UpdateForm();
}
} }
private void rbHelp3_CheckedChanged(object sender, EventArgs e) private void rbHelp3_CheckedChanged(object sender, EventArgs e)
{ {
if (processing) return; if (processing) return;
myNetwork.HintsToDisplay = NetTestVerbosity.basic; if (rbHelp3.Checked)
UpdateForm(); {
myNetwork.HintsToDisplay = NetTestVerbosity.hints;
UpdateForm();
}
} }
private void rbHelp4_CheckedChanged(object sender, EventArgs e) private void rbHelp4_CheckedChanged(object sender, EventArgs e)
{ {
if (processing) return; if (processing) return;
myNetwork.HintsToDisplay = NetTestVerbosity.full; if (rbHelp4.Checked)
UpdateForm(); {
myNetwork.HintsToDisplay = NetTestVerbosity.full;
UpdateForm();
}
} }