Hi all,
Im wondering if someone can help me understand something. I have a windows forms project and in that i have the standard form1 class which i have placed a button (button1) and listbox (listbox1) on to. I created another class called test and tried to access
the listbox1 object that is sitting on my form but it keeps underlining it with a red squiggly line. Im just messing around understanding OOP here and was trying different things and My thinking was to keep my logic in the test class (whithin a method) and
call the method in the form 1 class (button click event) which is to populate the listbox
Why cant i access this and is there is a way that i can access this?
Ant help would be great.
Thanks
Go to the complete details ...