Probably the easiest way is in the PIANO ROLL window. In the VIEW/EDIT box select PROGRAM and you can enter program numbers and view existing ones.

ROG.