Updates both WPF and Winforms sample to run using .NET6.
This will also use WebView2 (without any modifications besides targetting .NET6, as that's automatically done by the SDK).
Additional info
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings and errors
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Description
Updates both WPF and Winforms sample to run using .NET6. This will also use WebView2 (without any modifications besides targetting .NET6, as that's automatically done by the SDK).
Additional info