0
Have the following from How to add options to mouse-right-click menu in PowerShell forms
$contextMenuStrip1.Items.Add("Item 1") | Out-Null
$contextMenuStrip1.Items.Add("Item 2") | Out-Null
And it is working... I can see the context menu.. but how do I do something once the menu item has been selected.
Like if a user selects Item 1 how do I know it was selected.
Add an event handler. – DavidPostill – 2018-08-11T20:24:33.607
That's helpful for a beginner/noob like me. – nixgeek – 2018-08-15T20:10:54.763