// 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; }
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); }
public QueryBuilder(QueryEntityCollection queryEntityCollection, int editQueryIndex) { InitializeComponent(); logic = new QueryBuilderLogic(queryEntityCollection, editQueryIndex); }
public QueryBuilder(QueryEntityCollection queryEntityCollection) { InitializeComponent(); logic = new QueryBuilderLogic(queryEntityCollection, -1); }
public QueryManager(QueryEntityCollection queryEntityCollection) { InitializeComponent(); logic = new QueryManagerLogic(queryEntityCollection); }