Computer Science Canada

New picturebox at click event

Author:  element4l [ Thu Jan 10, 2008 11:38 pm ]
Post subject:  New picturebox at click event

This is to make a bullethole effect, where the user would click and a picturebox with the image of a bullethole would appear where they clicked.

So basically I'm asking if there is any way of creating a new picturebox at the coordinates of a mouse click. Then, preferably, later delete it but there's no big deal about that.

Author:  Tony [ Thu Jan 10, 2008 11:57 pm ]
Post subject:  RE:New picturebox at click event

I don't remember this well, but I think that if you set up an array of controllers, then you could add and remove controls (such as a picturebox in this case) to such collection, dynamically.


: