I have an User Control that host another controls like panel, chart controls.
Right now i have implemented the Header Panel control's MouseClick event to capture the mouse event, but i need to capture mouse click or mouseDown event on the whole user control area.
pnlHeader.MouseUp += new MouseEventHandler(pnlHeader_MouseUp); //it is working
//Not able to capture because child control coverup all area of the usercontrol.
this.MouseDown += new MouseEventHandler(MyCustomControl_MouseDown);
I went through this SO thread, but it does not help me regarding mouse click or mouse down event.
So what is correct and efficient way to capture user control mouse event??
Any idea or suggestion with some reference code(if possible) will be accepted.
Thanks in advance.