When adding the event handler, you are expected to supply a method name, nothing more. Your code has brackets after the method name, as if you are trying to call the method. Change it to:
viewAllStaff.Click += new System.EventHandler(pdt.viewAllStaffMethod);
Edit:
The method handling the event cannot be just any old method. It needs to follow a specific pattern for .NET to be able to call it when the event happens. In the case of a menu item's click event, that pattern is:
1. The method's return type must be
void
.
2. The method must accept two parameters: an
object
named
sender
and an
EventArgs
named
e
.
As such, the method declaration must be:
public void viewAllStaffMethod(object sender, EventArgs e)