public MainWindow() { InitializeComponent(); _GameProperties = (GameProperties)TryFindResource("GamePropertiesInstance"); _VM = new ViewModel(); }