I need to program a form application for a university project. The application has a 2d array of panels that make up a grid that user can interact with. I have some experience with Java, so what I am trying to ask is if there is anyway to translate this line into Visual Basic:
pnl[x][y].addMouseListener(new MouseListener(){
/**do stuff
**/};
Make sure to use control arrays, so you will only need one Click event shared among all form elements. http://www.vb6.us/tutorials/vb6-control-array-tutorial