public bool Execute() { var _window = new StatisticsWindow(); _window.DataContext = new StatisticsViewModel(); _window.Owner = ServiceProvider.PluginManager.SelectedWindow as Window; _window.ShowDialog(); return true; }
public bool Execute() { var _window = new StatisticsWindow(); _window.DataContext = new StatisticsViewModel(); _window.Owner = ServiceProvider.PluginManager.SelectedWindow as Window; _window.ShowDialog(); return(true); }