Example #1
0
        // Moves selected chart series in the list of chartSeries down one spot
        public void moveSeriesDown(int selectedIndex, QueryEntityCollection queryEntityCollection)
        {
            ChartSeries temp = cdi.ChartSeries[selectedIndex];

            cdi.ChartSeries[selectedIndex]     = cdi.ChartSeries[selectedIndex + 1];
            cdi.ChartSeries[selectedIndex + 1] = temp;
        }
Example #2
0
 public QueryDataChartLogic(QueryEntityCollection queryEntityCollection)
 {
     database  = new DatabaseAccess();
     commonUI  = new CommonUIMethodsAndFunctions();
     chartData = new LineGraph();
     this.queryEntityCollection = queryEntityCollection;
     callLocation = Call_Location.NONE;
 }
 public QueryBuilderLogic(QueryEntityCollection queryEntityCollection, int editQueryIndex)
 {
     this.queryEntityCollection = queryEntityCollection;
     this.editQueryIndex        = editQueryIndex;
     queryCommands  = new CommandCenter();
     database       = new DatabaseAccess();
     commonUI       = new CommonUIMethodsAndFunctions();
     queries        = setQueries(queries);
     pendingQueries = new List <Query>();
     copiedQuery    = null;
 }
 public QueryManagerLogic(QueryEntityCollection queryEntityCollection)
 {
     this.queryEntityCollection = queryEntityCollection;
     commonUI = new CommonUIMethodsAndFunctions();
 }
 public QueryDataChart(QueryEntityCollection queryEntityCollection)
 {
     InitializeComponent();
     logic = new QueryDataChartLogic(queryEntityCollection);
 }
Example #6
0
 public QueryBuilder(QueryEntityCollection queryEntityCollection, int editQueryIndex)
 {
     InitializeComponent();
     logic = new QueryBuilderLogic(queryEntityCollection, editQueryIndex);
 }
Example #7
0
 public QueryBuilder(QueryEntityCollection queryEntityCollection)
 {
     InitializeComponent();
     logic = new QueryBuilderLogic(queryEntityCollection, -1);
 }
Example #8
0
 public QueryManager(QueryEntityCollection queryEntityCollection)
 {
     InitializeComponent();
     logic = new QueryManagerLogic(queryEntityCollection);
 }