M
Monty
I have a Usercontrol with a public property List<int> Links
List <int> Links= new List<int>();
public List<int> LinkLabels
{
get { return Links; }
set { Links = value; }
}
Now when i put it on a dialog and open the properties dialog in design
mode i can click the (...) button and it opens up the add items to
collection dialog and i can add a few int(s) to the collection but
when i click ok and open it up again all entered values are gone
if i set a breakpoint at the set function then the value is empty
any help will be greatly appreciated
-Thanks
List <int> Links= new List<int>();
public List<int> LinkLabels
{
get { return Links; }
set { Links = value; }
}
Now when i put it on a dialog and open the properties dialog in design
mode i can click the (...) button and it opens up the add items to
collection dialog and i can add a few int(s) to the collection but
when i click ok and open it up again all entered values are gone
if i set a breakpoint at the set function then the value is empty
any help will be greatly appreciated
-Thanks