An ActionSource object calls the PerformAction method of each ActionNotificationReceiver registered with it.
The method called for this receiver to run its action.
If you implement this interface in your application, you must implement the methods with the parameters as shown here.
If you want to have a DesktopButton call PerformAction on an ActionNotificationReceiver then you would create a new class (perhaps ActionNotificationTest) that implements ActionNotificationReceiver. In the PerformAction method, you add the code you want to run when the button is clicked (and before DesktopButton.Pressed-Event is called). For example:
Now in the ing event handler for a DesktopButton, you can add your receiver:
Var action As New ActionNotificationTest
All project types on all supported operating systems.