public MainMenu(String panelClass, String panelTitle) : base(panelClass, Properties.Resources.MainMenu) { // add commands that are not supported by the base class commandDispatcher.Commands.Add(new CommandHandler("Exit")); }