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); }
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); }
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); }
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; } }
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(); }
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; }