2019-06-24 19:45:54 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
2019-07-16 21:35:21 +00:00
|
|
|
|
namespace Toolbox.Library
|
2019-06-24 19:45:54 +00:00
|
|
|
|
{
|
2019-08-06 21:35:18 +00:00
|
|
|
|
/// <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>
|
2019-06-24 19:45:54 +00:00
|
|
|
|
public interface IContextMenuNode
|
|
|
|
|
{
|
|
|
|
|
ToolStripItem[] GetContextMenuItems();
|
|
|
|
|
}
|
|
|
|
|
}
|