When I read the link, this is what it told me to do:
this.OnMouseClick(new MouseEventArgs(MouseButtons.Left,1,100,100,0));