S
sotto
I'm building a control with a property which values depend on the
current different files in a resourcefile.
Users that use my control can edit the property by selecting from a
dropdownlist which lists all the files in the resourcefile.
This list is being created in the constructor of my control.
Now i'm wondering ... whether i should make that list a private shared
member of the class, or just a private member.
My thought was that shared would be cool, so that on creation of
multiple of my control ... the list wouldn't have to be rebuilt
everytime...but...if after creating 1 of my control, the user adds a
file to the resourcefile... the control wouldn't be listing that newly
added file ...
Any idea how i can cleanly solve this issue?
thx
current different files in a resourcefile.
Users that use my control can edit the property by selecting from a
dropdownlist which lists all the files in the resourcefile.
This list is being created in the constructor of my control.
Now i'm wondering ... whether i should make that list a private shared
member of the class, or just a private member.
My thought was that shared would be cool, so that on creation of
multiple of my control ... the list wouldn't have to be rebuilt
everytime...but...if after creating 1 of my control, the user adds a
file to the resourcefile... the control wouldn't be listing that newly
added file ...
Any idea how i can cleanly solve this issue?
thx