1
0
mirror of synced 2024-12-15 09:01:23 +01:00
Switch-Toolbox/Switch_Toolbox_Library/Interfaces/Forms/IContextMenuNode.cs

19 lines
485 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
{
/// <summary>
/// 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
/// </summary>
public interface IContextMenuNode
{
ToolStripItem[] GetContextMenuItems();
}
}