c# - MouseEnter and MouseLeave event -
i have picturebox. has 2 event
in mouseenterevent: load panel @ bottom of picturebox in there 2 radiobuttons
in mouseleaveevent: remove panel radiobutton picturebox
but problem panel on picturebox when mouse comes on panel picturebox leave event of picturebox executed , radiobutton disappears.
i want remove panel when mouse removed actual boundary of picturebox not when comes on panel.
you can remove panel in mouseenterevent panel contains picturebox.
for example if picturebox on form1, in form's form1_mouseleave event remove panel.
Comments
Post a Comment