Esempio n. 1
0
        public void RefreshUi()
        {
            System  = new SystemViewModel(Save);
            Players = new PlayersViewModel(Save);

            OnPropertyChanged(nameof(System));
            OnPropertyChanged(nameof(Players));
        }
Esempio n. 2
0
        public void RefreshUi()
        {
            System    = new SystemViewModel(Save, this);
            Inventory = new InventoryViewModel(Save);
            Players   = new PlayersViewModel(Save, this);

            OnPropertyChanged(nameof(System));
            OnPropertyChanged(nameof(Inventory));
            OnPropertyChanged(nameof(Players));
        }