Revert "Window.Resources is changed to UserControl.Resources"

This reverts commit 956b23e2ab59a8135bee02b45a8925b5d7ce7be9.
Merge branch 'master' of https://github.com/markgill47/SE3900Projects

erts commit 956b23e2ab59a8135bee02b45a8925b5d7ce7be9.