private void ScoutingMainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            DispTimer.Interval = UPDATE_INTERVAL;
            DispTimer.Tick    += timer_Tick;

            ScoutingJson.Initialize(false);

            RunSetup(true);
        }
        public TeamsViewModel()
        {
            ScoutingJson.Initialize(false);

            BreakCmd         = new DoStuffCommand(Break, obj => true);
            OpenTeamsFileCmd = new DoStuffCommand(OpenFile, obj => true);
            CellEditedCmd    = new DoStuffCommand(OnDataGridCellChanged, obj => true);
            NewTeamCmd       = new DoStuffCommand(OnNewTeamBtn_Clicked, obj => true);
            DeleteTeamCmd    = new DoStuffCommand(OnDeleteTeamBtn_Clicked, obj => true);

            PropertyChanged += SelectedTeam_Changed;
            PropertyChanged += TeamsList_Changed;
            PropertyChanged += TeamsPath_Changed;
            PropertyChanged += TeamsList_Adjusted;

            // Load Default
            FilePath = ScoutingJson.LocalPath + "Teams" +
                       ScoutingJson.TeamsListExtension;
        }
 public StartupPathSelectionDialog()
 {
     InitializeComponent();
     ScoutingJson.Initialize(false);
 }