示例#1
0
        private void FillEstimate()
        {
            DataList_Report.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
            DataList_Report.exFill("Estimate", Base.CustomQueries["EstimateFill"]);
            DataList_Report.Columns[0].Visible = false;

            List <string> lst = Base.ColumnHeaders["DataList_Estimate"];

            for (int i = 0; i < DataList_Report.ColumnCount; i++)
            {
                DataList_Report.Columns[i].HeaderText = lst[i];
            }
        }
示例#2
0
        private void FillTracklist()
        {
            DataList_Report.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            DataList_Report.exFill("Trackinglists", Base.CustomQueries["TrackinglistFill"]);
            DataList_Report.Columns[0].Visible = false;
            DataList_Report.Columns[1].Visible = false;

            List <string> lst = Base.ColumnHeaders["DataList_Trackinglists"];

            for (int i = 1; i < DataList_Report.ColumnCount - 1; i++)
            {
                DataList_Report.Columns[i + 1].HeaderText = lst[i];
            }
        }