class
private bool showLines= true;
private int value = 2;
Configure
if (showLines)
{
AddLine(Brushes.DarkGreen, +threshold, "Threshold");
}
it works but the grid of the properties does not show the lines and as result I cannot give the user the ability to change their shape or color.
if I move them, the code, to SetDefaults:
then I see them in the grid but I can no longer enable them or disable because the showLines value set by the user wouldn't be yet available (it is always true no matter what).
Do you have an idea how to resolve this?
Best
G

Comment