Beispiel #1
0
        void DatabaseChanged()
        {
            tree1.SetModel(new TimeSeriesTreeModel(explorer1.Database));

            this.Text = explorer1.Database.DataSource + " - Pisces";

            this.explorer1.View   = graphView1;
            displayOptionsDialog1 = new DisplayOptionsDialog(explorer1);
            SetupScenarioSelector();

            explorer1.View.SeriesList.Clear();
            explorer1.View.Clear();
            explorer1.Run();
        }
Beispiel #2
0
        void DatabaseChanged()
        {
            DB.OnReadSettingsFromDatabase += DB_OnReadSettingsFromDatabase;
            DB.OnSaveSettingsToDatabase   += DB_OnSaveSettingsToDatabase;
            tree1.SetModel(new TimeSeriesTreeModel(explorer1.Database));

            this.Text = explorer1.Database.DataSource + " - Pisces";

            this.explorer1.View   = graphView1;
            displayOptionsDialog1 = new DisplayOptionsDialog(explorer1);
            SetupScenarioSelector();

            explorer1.SelectedSeries = new Series[] { };

            explorer1.View.SeriesList.Clear();
            explorer1.View.Clear();
            explorer1.Run();
        }