/// <summary> /// if "_model.About" is true, swaps to false its value, which is used to show a little windows with software information which will be closed after 8 seconds /// </summary> public void ShowAbout() { if (_model.About) { var aboutview = new Views.AboutView(); this._model.About = false; aboutview.Show(); } }
private void OnOpenAbout() { var about = new Views.AboutView() { Owner = Application.Current.MainWindow, WindowStartupLocation = WindowStartupLocation.CenterOwner }; about.Show(); }
public void Execute(object parameter) { var aboutView = new Views.AboutView(); aboutView.Show(); }