private void OpenChangeLevelDialog_Execute() { View = new LevelView(); View.Window.Closing += UpdateChangeLevel; View.ShowView(new LevelViewViewModel(SelectedLevel)); }
private void OpenAddLevelDialog_Execute() { View = new LevelView(); View.Window.Closing += ClosingLevelDialog; View.ShowView(new LevelViewViewModel(Levels)); }