コード例 #1
0
 private void OpenChangeLevelDialog_Execute()
 {
     View = new LevelView();
     View.Window.Closing += UpdateChangeLevel;
     View.ShowView(new LevelViewViewModel(SelectedLevel));
 }
コード例 #2
0
 private void OpenAddLevelDialog_Execute()
 {
     View = new LevelView();
     View.Window.Closing += ClosingLevelDialog;
     View.ShowView(new LevelViewViewModel(Levels));
 }