public override void Hook_Initialise(Forms.Main main) { _m = main; item = new Gtk.MenuItem("#pidgeon"); item.Activated += new EventHandler(pidgeonToolStripMenuItem_Click); separator = new Gtk.SeparatorMenuItem(); main.HelpMenu.Append(separator); main.HelpMenu.Append(item); separator.Show(); item.Show(); Core.DebugLog("Registered #pidgeon in menu"); }
/// <summary> /// Sets the reference to system form /// </summary> /// <param name='form'> /// Form. /// </param> public static void SetMain(Forms.Main form) { _main = form; }