In my .net winform application's title bar, I have put up a Panel control, which has a lot of other controls. Due to this, I don't get a context menu or the drag functionality when I click on the Panel. But the same appears when I click outside the Panel in the title bar.
P.S - Obviously for the users, the whole bar on the top of the application is known as the "Title bar", and they want the drag and context menu everywhere on the title bar(which for them, includes the Panel also.)
So is there any way to achieve this. I want the context menu to appear when I right-click on the Panel or any control in the Panel. I also want to drag my whole application window, when I try to click and drag on the Panel or any of the control in the Panel.
Appreciate any kind of help. Thanks!