Ejemplo n.º 1
0
        public MainViewModel(IDatabase database)
        {
            Layers = new ObservableCollection <LayerViewModel>();
            for (int i = 1; i <= 4; ++i)
            {
                Layers.Add(new LayerViewModel(i));
            }

            TeamsViewModel = new TeamsViewModel(database);
        }
Ejemplo n.º 2
0
 public void NewTeamAdded(string name, string seed)
 {
     TeamsViewModel.NewTeamAdded(name, seed);
 }