ACAT.Extensions.Default.UI.Menus.MainMenu.MainMenu C# (CSharp) Method

MainMenu() public method

Initializes a new instance of the class.
public MainMenu ( String panelClass, String panelTitle ) : System
panelClass String Panel class of the scanner
panelTitle String title of the panel (not used)
return System
        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"));
        }