c# - How mouse enter event work on disabled panel to display it? -


i have panel on main form in disabled state want enable mouse enter event. how can i?

private void pnlone_mouseenter(object sender, eventargs e) {     pnlone.enabled = true;     pnlone.visible = true; } 

i try above 1 not working...

if have disabled control mouse event wont fired. cant this.

even if enabled other events,check whether panel in front . use bring front in designer. reason container control in middle.


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

php - Redirect and hide target URL -