If you like to code according to different parameters in your PageEventsBase plugin, where param1 will do task1, and param2 will do task2 then while creating menu, add an argument UserParm
Inside Plugin, code can be written like this:
public override void SetUserParm(string UserParm) { /*example code to handle UserParm provided in menu*/ if (string.IsNullOrEmpty(UserParm)) return; switch (UserParm) { case "Param1": //do one thing break; case "Param2": // do another thing break; } }