Event handlers MouseUp and Mouse down from pdf view control

I am trying to fire some code when the mouse is press down and release while viewing a PDF file (aka while the mouse is over the custom control (PDFViewCtrl) but every time I do that I get a Null ReferenceException.

Are there any examples that demonstrate how to set this up properly?

Is this question for PDFViewCtrl (WinForms), or PDFViewWPF (WPF)? You mention PDFViewCtrl, but previously you were asking about PDFViewWPF.

We also need a clearer description of what you are trying to do. Also, what is Null?

Any code or screen shots would help.