Home > front end >  Add Custom Options when right-clicking a file
Add Custom Options when right-clicking a file

Time:01-29

Hello i want to show options like "Add to Queue" or "Add to Playlist >" when user right clicks an .mp3 file.

Reference Image:

reference-image

How can i do that with C# and winforms?

CodePudding user response:

What you're describing is known as a "context menu". And you can't do it directly in C#. It's run from the Windows registry, which you can edit from C#, but you usually need to ask the user permission.

This should get you started: C# adding context menu item to windows explorer for all file types

  • Related