Пример #1
0
        public OptionsViewModel()
        {
            var StartWindow = new StartWindow(this);

            this.OptionPanes = new List <object> {
                new OptionsCategory(StartWindow),
                new OptionsCategory(new BoardViewModel(StartWindow.Board, this)),
                new OptionsCategory(new EndWindow(this))
            };
            this.SelectedOptionPane = OptionPanes.First();
        }
Пример #2
0
 public ScreenCommand(StartWindow startWindow)
 {
     this.startWindow = startWindow;
 }
Пример #3
0
 public ScreenCommand(OptionsViewModel optionsView, StartWindow startWindow)
 {
     this.optionsView = optionsView;
     this.startWindow = startWindow;
 }
Пример #4
0
 public ToGameCommand(OptionsViewModel viewModel, StartWindow startWindow)
 {
     this.viewModel   = viewModel;
     this.startWindow = startWindow;
 }