Pogo
EventHandler not triggering.
in Program.cs
in ClipboardHandler.cs:
Wrote a very basic setup to learn to work with an EventHandler. The event however does not trigger, I had wrapped Main into an async method, I made ClipboardChanged async, i added an async delay on the main keep-alive loop, nothing worked for me. Any idea why the EventHandler doesnt trigger?
ClipboardChanged is an official UWP EventHandler: https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.datatransfer.clipboard.contentchanged?view=winrt-22621
29 replies