M
Michiel
Hello,
Can anyone tell me how I can add a custom property to a Form, so that it is
visible in the designer ?
I tried
[
Category("MyCategory"),
Description("Description"),
Browsable(true)
]
public int MyProperty
{
get { return m_MyProperty; }
set { m_MyProperty = value; Invalidate(); }
}
But this only seems to work for controls.
Thanks for your help,
Michiel.
Can anyone tell me how I can add a custom property to a Form, so that it is
visible in the designer ?
I tried
[
Category("MyCategory"),
Description("Description"),
Browsable(true)
]
public int MyProperty
{
get { return m_MyProperty; }
set { m_MyProperty = value; Invalidate(); }
}
But this only seems to work for controls.
Thanks for your help,
Michiel.