Hi,

I'm making a control and I want to call an event in the control thats parent to my control.

I detect when the mouse button has been pressed on my control by using

VB Code:
  1. Protected Overrides Sub OnMouseDown(ByVal e As System.Windows.Forms.MouseEventArgs)
  2.         _x = e.X : _y = e.Y
  3.         Me.BringToFront()
  4.  
  5.  
  6.         'Dim c As Control = Me.Parent
  7.     End Sub

Now I want to call the me.Parent OnClick event.

I simply don't know how to do it!

Any help would be much appreciated
Thanks