i have an arraylist containing a number of 'NodeInfo' objects. node info is made up of some primatives, and a windows component i designed called 'PreviewBox'.
preview box extends PictureBox. it is a dragable and resizable item that displays certain information relative to my project.
main form > array list of node info > preview box
i want to put a method in the code for my main form, the class that my array list is found within, that is triggered by an event such as my preview box being clicked.
i already have such a method withid preview box, but i don't know how to extend it in main form for every object in an unknown amount of objects. how would i go abou this?
preview box extends PictureBox. it is a dragable and resizable item that displays certain information relative to my project.
main form > array list of node info > preview box
i want to put a method in the code for my main form, the class that my array list is found within, that is triggered by an event such as my preview box being clicked.
i already have such a method withid preview box, but i don't know how to extend it in main form for every object in an unknown amount of objects. how would i go abou this?