Esempio n. 1
0
 public QDAddinDrillDown(QDConfig config, string Pos, Excel._Application xls, QueryBuilder.SQLBuilder sqBuilder, string connectDesc)
 {
     InitializeComponent();
     _config = config;
     Init(Pos, xls, sqBuilder);
     //_strConnectDes = sqBuilder.StrConnectDes;
     //ThemeResolutionService.ApplyThemeToControlTree(this, THEME);
 }
Esempio n. 2
0
 public void Init(string Pos, Excel._Application xls, QueryBuilder.SQLBuilder sqBuilder)
 {
     _sqlBuilder = new SQLBuilder(sqBuilder);
     //((GridViewComboBoxColumn)dgvSelectNodes.Columns["Agregate"]).DataSource = Parsing.GetListNumberAgregate();
     _sqlBuilder.Pos = Pos;
     _xlsApp         = xls;
     //TopMost = true;
     //GetQueryBuilderFromFomular(formular);
 }
Esempio n. 3
0
 public QDAddinDrillDown(QDConfig config, string connectDesc)
 {
     InitializeComponent();
     //_strConnectDes = connectDesc;
     _config     = config;
     _sqlBuilder = new QueryBuilder.SQLBuilder(processingMode.Balance);
     _sqlBuilder.StrConnectDes = connectDesc;
     //TopMost = true;
     //ThemeResolutionService.ApplyThemeToControlTree(this, THEME);
 }
Esempio n. 4
0
 public void Init(string Pos, Excel._Application xls, string formular)
 {
     _sqlBuilder = new QueryBuilder.SQLBuilder(processingMode.Balance);
     //((GridViewComboBoxColumn)dgvSelectNodes.Columns["Agregate"]).DataSource = Parsing.GetListNumberAgregate();
     _sqlBuilder.Pos = Pos;
     _xlsApp         = xls;
     //TopMost = true;
     GetQueryBuilderFromFomular(formular);
     GetConnectString();
     if (xls == null)
     {
         btPivotTable.Visible = false;
     }
 }
Esempio n. 5
0
        public void Init(string Pos, Excel._Application xls, string formular)
        {
            _sqlBuilder = new QueryBuilder.SQLBuilder(processingMode.Balance);
            DataTable dtcom  = QueryBuilder.Parsing.GetListNumberAgregate();
            DataRow   newrow = dtcom.NewRow();

            newrow["Code"] = newrow["Description"] = "";
            dtcom.Rows.Add(newrow);
            ((DataGridViewComboBoxColumn)dgvSelectNodes.Columns["colAgregate"]).DataSource    = dtcom;
            ((DataGridViewComboBoxColumn)dgvSelectNodes.Columns["colAgregate"]).DisplayMember = "Description";
            ((DataGridViewComboBoxColumn)dgvSelectNodes.Columns["colAgregate"]).ValueMember   = "Code";
            _sqlBuilder.Pos = Pos;
            _xlsApp         = xls;
            //TopMost = true;
            GetQueryBuilderFromFomular(formular);
            GetConnectString();
        }
Esempio n. 6
0
        public QDAddIn(QDConfig config, string connect, string connectDes)
        {
            InitializeComponent();
            ////ThemeResolutionService.ApplyThemeToControlTree(this, THEME);
            _sqlBuilder = new QueryBuilder.SQLBuilder(processingMode.Balance);
            DataTable dtcom  = QueryBuilder.Parsing.GetListNumberAgregate();
            DataRow   newrow = dtcom.NewRow();

            newrow["Code"] = newrow["Description"] = "";
            dtcom.Rows.Add(newrow);
            ((DataGridViewComboBoxColumn)dgvSelectNodes.Columns["colAgregate"]).DataSource    = dtcom;
            ((DataGridViewComboBoxColumn)dgvSelectNodes.Columns["colAgregate"]).DisplayMember = "Code";
            ((DataGridViewComboBoxColumn)dgvSelectNodes.Columns["colAgregate"]).ValueMember   = "Code";
            //TopMost = true;
            _config        = config;
            _strConnect    = connect;
            _strConnectDes = connectDes;
        }