public Window1()
        {
            InitializeComponent();

            // Create user data model
            userDataModel = new UserDataModel();
            userInfoGrid.DataContext = userDataModel;

            // Create experiment data model
            experimentDataModel = new ExperimentDataModel();
            experimentNameCB.DataContext = experimentDataModel;

            // Create config data model
            configDataModel = new ConfigDataModel();
            configNameCB.DataContext = configDataModel;
            measureNamesLB.DataContext = configDataModel;
            displayNamesLB.DataContext = configDataModel;
            displayBuilder.ConfigDataModel = configDataModel;
            displayPreview.ConfigDataModel = configDataModel;
            displayControl.ConfigDataModel = configDataModel;
            ConfigDisplayInfoControl.ConfigDataModel = configDataModel;
            displayBuilder.InitConfigDisplayInfo(configDataModel.CurConfigDisplay);


        }
        public Window1()
        {
            InitializeComponent();

            // Clear the item source until the user login and an experiment is selected/created
            measuresDataGrid.AutoGenerateColumns = false;
            measuresDataGrid.ItemsSource = null;
            displayDataGrid.AutoGenerateColumns = false;
            displayDataGrid.ItemsSource = null;

            // Create user data model
            userDataModel = new UserDataModel();
            userInfoGrid.DataContext = userDataModel;

            // Create experiment data model
            experimentDataModel = new ExperimentDataModel();
            experimentNameCB.DataContext = experimentDataModel;

            // Setup the experiment tab
            experimentTab.DataContext = experimentDataModel;

        }