public OptionsViewModel() { StartScreen.SetOptions(this); this.OptionPanes = new List <object> { new OptionsCategory(StartScreen), }; this.SelectedOptionPane = OptionPanes.First(); }
public OptionsViewModel() { var bordview = new BoardViewModel(ReversiBoard.CreateInitialState(6, 6), this); // hetzelfde spel wordt hier gebruikt, we gaan dezelfde bordview gebruiken om onze gegevens uit te halen this.OptionPanes = new List <object> { new OptionsCategory(new StartWindow(this)), new OptionsCategory(bordview),//Maakt bord aan }; this.SelectedOptionPane = OptionPanes.First(); }
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(); }