private void OnOpenResources(object sender, RoutedEventArgs e) { var window = new ResourceDemoWindow(); window.Show(); }