protected ContextMenuPresenter(IApplication application) { _application = application; _contextMenu = CreateContextMenu(); _contextMenu.Closed += (sender, e) => OnClosed(EventArgs.Empty); }
public AudioToolStripMenuItem() { ImageScaling = ToolStripItemImageScaling.None; AutoCloseOnClick = true; DropDown = new AudioContextMenuStrip(); // Make sure we never get an auto-generated menu item }