0

I have a dynamically creasted grid of picture box controls, and I want to add custom events handlers to them and Im stuck.

Event 1: User Enters with mouse

Event 2: User Leaves with mouse

Event 3: User Clicks with mouse

btw, they're created when the form they are on loads in a methos i wrote (I didn't use IDE to design them), because it will be a pain to do it one by one (theres 81 in total...yes its for sudoku)

1
Contributor
1
Reply
2
Views
10 Years
Discussion Span
Last Post by scru
0

Never mind, I figured it out

For those who might have come here looking for the answer, it follows this syntax:

<control>.<event> += new EventHandler(<name of your custom event>)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.