AddMenuItem
Introduction
Code Example
// Add startup logic here:
var firstMenuItem =
AddMenuItem(new List<string> { "My Plugin", "First" });
firstMenuItem.Click += (args, sender) =>
System.Windows.Forms.MessageBox.Show("You clicked first");
var secondMenuItem =
AddMenuItem(new List<string> { "My Plugin", "Second" });
secondMenuItem.Click += (args, sender) =>
System.Windows.Forms.MessageBox.Show("You clicked second");
Last updated
Was this helpful?

