The program practically executes the mouse leave event after the user clicks and leaves the mouse from the control, if I do not want to run the mouse leave event when the click is executed.
private void LblNoeMelk_MouseHover(object sender, EventArgs e)
{
HoverColor.LblHover(LblNoeMelk);
}
private void LblNoeMelk_MouseLeave(object sender, EventArgs e)
{
LeaveColor.LblLeave(LblNoeMelk);
}
private void LblNoeMelk_Click(object sender, EventArgs e)
{
HoverColor.LblHover(LblNoeMelk);
}