Exemple #1
0
        public void RefreshUi()
        {
            System  = new SystemViewModel(Save);
            Players = new PlayersViewModel(Save);

            OnPropertyChanged(nameof(System));
            OnPropertyChanged(nameof(Players));
        }
Exemple #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));
        }