ACAT.Extensions.Default.AppAgents.TalkWindowAgent.TalkWindowContextMenu.TalkWindowContextMenu C# (CSharp) Method

TalkWindowContextMenu() public method

Initializes a new instance of the class.
public TalkWindowContextMenu ( String panelClass, String panelTitle ) : System
panelClass String Name of the scanner
panelTitle String Title of the menu
return System
        public TalkWindowContextMenu(String panelClass, String panelTitle)
            : base(panelClass, Resources.TalkWindow)
        {
            // commands supported by the contextual menu
            commandDispatcher.Commands.Add(new CommandHandler(this, "QuickSearch"));
            commandDispatcher.Commands.Add(new CommandHandler(this, "GoogleSearch"));
            commandDispatcher.Commands.Add(new CommandHandler(this, "WikiSearch"));
            commandDispatcher.Commands.Add(new CommandHandler(this, "Volume"));
            commandDispatcher.Commands.Add(new CommandHandler(this, "SpeechControl"));
            commandDispatcher.Commands.Add(new CommandHandler(this, "talkWindowZoomMenu"));
        }