C#; listbox's as one object(container)
- by Oyeme
Hello,
I use Visual studio 2008
I have 5 listbox's on form,I created a new class file -called him "scaner.cs"
scaner.cs -he cannot see "listbox".
I have create an instance.
scaner Comp = new scaner(listBox2, listBox1, listBox3, listBox4, listBox5);
In scaner.cs file I use it like this.
class scaner
{
public ListBox ls;
…