Esempio n. 1
0
        public DemoDamagesViewModel(DialogService dialogService)
        {
            _dialogService = dialogService;

            TeamSelectors.Add(new ComboboxSelector("CT", "Counter-Terrorists"));
            TeamSelectors.Add(new ComboboxSelector("T", "Terrorists"));
        }
 public OverviewViewModel(DialogService dialogService, IDemosService demoService)
 {
     _dialogService = dialogService;
     _demoService   = demoService;
     TeamSelectors.Add(new ComboboxSelector("CT", "Counter-Terrorists"));
     TeamSelectors.Add(new ComboboxSelector("T", "Terrorists"));
     TeamSelectors.Add(new ComboboxSelector("BOTH", "Both"));
 }
Esempio n. 3
0
 public DemoOverviewViewModel(IDialogService dialogService, IDemosService demoService, IMapService mapService)
 {
     _dialogService = dialogService;
     _demoService   = demoService;
     _mapService    = mapService;
     TeamSelectors.Add(new ComboboxSelector("CT", Properties.Resources.CounterTerrorists));
     TeamSelectors.Add(new ComboboxSelector("T", Properties.Resources.Terrorists));
     TeamSelectors.Add(new ComboboxSelector("BOTH", Properties.Resources.Both));
 }
        public DemoDamagesViewModel(DialogService dialogService, IDamageService damageService)
        {
            _dialogService = dialogService;
            _damageService = damageService;

            TeamSelectors.Add(new ComboboxSelector("CT", Properties.Resources.CounterTerrorists));
            TeamSelectors.Add(new ComboboxSelector("T", Properties.Resources.Terrorists));

            if (IsInDesignMode)
            {
                Application.Current.Dispatcher.Invoke(async() =>
                {
                    await LoadDatas(new List <long>(), new List <int>());
                });
            }
        }
Esempio n. 5
0
        public HeatmapViewModel(DialogService dialogService, IDemosService demosService)
        {
            _dialogService = dialogService;
            _demosService  = demosService;
            EventSelectors.Add(new ComboboxSelector("kills", "Kills"));
            EventSelectors.Add(new ComboboxSelector("shots", "Shots fired"));
            EventSelectors.Add(new ComboboxSelector("flashbangs", "Flashbangs"));
            EventSelectors.Add(new ComboboxSelector("he", "HE Grenades"));
            EventSelectors.Add(new ComboboxSelector("smokes", "Smokes"));
            EventSelectors.Add(new ComboboxSelector("molotovs", "Molotovs"));
            EventSelectors.Add(new ComboboxSelector("decoys", "Decoy"));
            CurrentEventSelector = EventSelectors[0];

            TeamSelectors.Add(new ComboboxSelector("CT", "Counter-Terrorists"));
            TeamSelectors.Add(new ComboboxSelector("T", "Terrorists"));
            TeamSelectors.Add(new ComboboxSelector("BOTH", "Both"));
            CurrentTeamSelector = TeamSelectors[2];
        }