Beispiel #1
0
        internal void AddDynamicSubMenu(string name, string parent, MultiJobMenuGenerator gen)
        {
            ToolStripMenuItem item = new ToolStripMenuItem(name);

            menuGenerators.Add(new Pair <ToolStripMenuItem, MultiJobMenuGenerator>(item, gen));
            addItem(item, parent);
        }
Beispiel #2
0
 internal void AddDynamicSubMenu(string name, string parent, MultiJobMenuGenerator gen)
 {
     ToolStripMenuItem item = new ToolStripMenuItem(name);
     menuGenerators.Add(new Pair<ToolStripMenuItem, MultiJobMenuGenerator>(item, gen));
     addItem(item, parent);
 }