Switch-Toolbox/Switch_Toolbox_Library/Interfaces/IContextMenuNode.cs

16 lines
444 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Toolbox.Library
{
//Gets the context menus from a tree node when right clicked
//This can be used to save memory as storing lists of menus for every node takes up too much memory
public interface IContextMenuNode
{
ToolStripItem[] GetContextMenuItems();
}
}