M
markr1000
I must have looked searched in 500+ places that showed up in Google
searchs, but not one has an example of what I want to do.
I have a Listbox on a User Control because I want to control the
visibility and/or presence of the Listbox and associated label, and I
want to encapsulate some of associated code.
I want to be able to pass the collection of strings that will fill the
Listbox to the User Control and have it pass on the collection to the
Listbox, preferably through Listbox.Items.AddRange.
Yet, I haven't been able to find *any* example of such a thing on the
Internet or in the C# books I have.
What is it that I'm missing?
searchs, but not one has an example of what I want to do.
I have a Listbox on a User Control because I want to control the
visibility and/or presence of the Listbox and associated label, and I
want to encapsulate some of associated code.
I want to be able to pass the collection of strings that will fill the
Listbox to the User Control and have it pass on the collection to the
Listbox, preferably through Listbox.Items.AddRange.
Yet, I haven't been able to find *any* example of such a thing on the
Internet or in the C# books I have.
What is it that I'm missing?