I want to add a custom property to a form.. so I added the following to the
code to the window...
private bool bOn = false;
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content),
Category("TestOn"), Description("Test")]
public bool TestOn
{
get {return bOn;}
set {bOn = value;}
}
At design time, I can see the new property for the form and change the
value. But when I save the form and reopen the form,
the value is reset..
How do I get the value to persist?
TIA,
Jerry