Esempio n. 1
0
        private void Execute_OpenParsingSettings(object obj)
        {
            if (_OpenParsingSettings == null)
            {
                _OpenParsingSettings = new ParsingSettingsView();
            }

            _OpenParsingSettings.Show();
        }
Esempio n. 2
0
        public ManageDemosTabModel()
        {
            NewDemosTaskList   = new ObservableCollection <AnalyseTask>();
            ReadyDemosTaskList = new ObservableCollection <AnalyseTask>();

            _DemoDialog = new OpenFileDialog()
            {
                Multiselect = true,
                FileName    = "",                          // Default file name
                DefaultExt  = ".dem",                      // Default file extension
                Filter      = "CSGO Demofile (.dem)|*.dem" // Filter files by extension
            };

            _JSONDialog = new OpenFileDialog()
            {
                Multiselect = true,
                FileName    = "",                                      // Default file name
                DefaultExt  = ".json",                                 // Default file extension
                Filter      = "CSGO Demo Gamestatefile (.json)|*.json" // Filter files by extension
            };

            _OpenParsingSettings = new ParsingSettingsView();
        }