Answer the question
In order to leave comments, you need to log in
Why doesn't "MouseEnter" work in visual c#?
hello, I added a button in the project, and this button worked when you clicked on it, I read on the Internet that you need to put "MouseEnter" instead of "Click" so that the button works on hover, but the program gives me an error, what's the matter?
Answer the question
In order to leave comments, you need to log in
Use explode, unless of course there can be another point there.
It is not enough to simply rename the function. You still need to register it as a handler. In VS, in the properties of each object on the form, there are all events - select the object on the form, find the properties tab, there is a button with a lightning icon - and look for the event you need there. Double click - magic will happen, a new function will be created and registered where necessary.
Well, or look for how to register handlers - everything is simple there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question