Apply new style event handling (original WPF style)
Refactor Wpf.fs
- implement a function that finds a XAML resource.