Jump to content
LaunchBox Community Forums

Cleaner System MenuItems


Recommended Posts

Cleaner System MenuItems

View File

Simple optional plugin that organizes ISystemMenuItemPlugin plugins.

A plugin that would like to use this feature must add one of two properties:

// C# 6.0 lambda property initialization
public Type CleanerSystemMenuItems_ParentPluginMenuItem => typeof(ClassNameOfParentISystemMenuItemPlugin);
public string CleanerSystemMenuItems_ParentMenuItem => "stocknameOfToolStripMenuItem";

// classic property initialization
public Type CleanerSystemMenuItems_ParentPluginMenuItem { get { return typeof(ClassNameOfParentISystemMenuItemPlugin); } }
public string CleanerSystemMenuItems_ParentMenuItem { get { return "stocknameOfToolStripMenuItem"; } }

Possible values for CleanerSystemMenuItems_ParentMenuItem:

  • installDosGameToolStripMenuItem
  • editDefaultToolStripMenuItem
  • manageEmulatorsToolStripMenuItem
  • managePlatformsToolStripMenuItem
  • editAutoHotkeyDosBoxToolStripMenuItem
  • editAutoHotkeyScummVmToolStripMenuItem
  • editAutoHotkeyWindowsToolStripMenuItem
  • selectRandomGameToolStripMenuItem
  • downloadToolStripMenuItem
  • downloadPlatformThemeVideosToolStripMenuItem
  • scanForAddedRomsToolStripMenuItem
  • scanForRemovedRomsToolStripMenuItem
  • importToolStripMenuItem
  • auditToolStripMenuItem
  • consolidateRomsToolStripMenuItem
  • createMissingArcadePlaylistsToolStripMenuItem
  • cleanUpImagesToolStripMenuItem
  • refreshImagesToolStripMenuItem
  • refreshSelectedImagesToolStripMenuItem
  • optionsToolStripMenuItem

Source Code: https://github.com/Nielk1/LaunchBox_CleanerSystemMenuItems


 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...