G
Guest
Hello, I'm writing SideBar conmonent and there are some problems with this.
SideBar is inherited from Panel i.e. Then I add button (i.e. close button)
to my SideBar. SideBar has posibility to expand and collapse. That I'm trying
handle by using OnMouseEnter and OnMouseLeave. The biggest problem is that
when I'm trying to close the sidebar by using my button (close button),
OnMouseLeave is generated. I think it happens because c# thinks close button
is saparate component.
Please, help me, really need your help.
SideBar is inherited from Panel i.e. Then I add button (i.e. close button)
to my SideBar. SideBar has posibility to expand and collapse. That I'm trying
handle by using OnMouseEnter and OnMouseLeave. The biggest problem is that
when I'm trying to close the sidebar by using my button (close button),
OnMouseLeave is generated. I think it happens because c# thinks close button
is saparate component.
Please, help me, really need your help.