Hi all I'm struggling with some problem in a project from college. I'm building a "4 in a row" game in c# for a project in my c# course at my college.
I have created a Form named GameForm and inside it I added a Panel named panelBoardGame. to that panelBoardGame I added an array of labels to be clickable (to execute a move) and i added a matrix of labels too , to represent the Board itself.
Now, my mission is whenever the mouse is inside the Panel area, the CoinImage of a certain player is moving along with the Cursor as long it is inside the panel area. when the mouse is outside the area, the CoinImage wont show.
To do so I tried triggering the onMouseEnter,OnMouseLeave events of the panelBoardGame, but somehow they wont even get executed. Whenever my mouse is inside the panelBoardGame area the code inside panelBoardGame_MouseMove(......) function doesn't get executed.
Anyone could help me with that?
Since im new here i cant post images, but ive uploaded the image to here Image of the Form
Here is the image of the Form, inside it with a border in black around it is the panel and inside the panel i added labels