So you have different classes for PMPages? If so create some public/static field in your addIn class like ActivePMPage with the type either integer, string or pmp and change this variable from within the Show method for every PMP: