public void addCondition(DataGridView dgvCurrentQuery, Button btnSubmitQuery)
        {
            AddQueryToBuilder aqtb = new AddQueryToBuilder(pendingQueries, dgvCurrentQuery, -1, queryCommands);

            aqtb.ShowDialog();
            checkSubmitStatus(btnSubmitQuery);
        }
 public void editCondition(DataGridView dgvCurrentQuery)
 {
     if (commonUI.dataGridViewHasData(dgvCurrentQuery))
     {
         int selectedRow        = dgvCurrentQuery.SelectedRows[0].Index;
         AddQueryToBuilder aqtb = new AddQueryToBuilder(pendingQueries, dgvCurrentQuery, selectedRow, queryCommands);
         aqtb.ShowDialog();
     }
 }