public void ConfigDataGridView(DataGridView mapGrid) { mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columndate, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columncustomrecode, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columninvoiceno, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnstatus, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnamount, true)); mapGrid.Columns.Add(GridExtension.GetButtonColumn(_columnview)); mapGrid.Columns.Add(GridExtension.GetButtonColumn(_columnactive)); mapGrid.CellContentClick += dgvJewel_CellContentClick; }
public void ConfigDataGridView(DataGridView mapGrid) { mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columntrandate, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columntrantpe, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columntranparty, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columntranqty, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnnetamount, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnrefno, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columninvioceno, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columninviocepmterm, true)); mapGrid.Columns.Add(GridExtension.GetButtonColumn(_columninviocesummary)); mapGrid.Columns.Add(GridExtension.GetButtonColumn(_columninviocedetail)); mapGrid.CellContentClick += dgvJewel_CellContentClick; }
public void ConfigDataGridView(DataGridView mapGrid) { mapGrid.Columns.Add(GridExtension.GetCheckBxColumn(_columnselectchk, true)); mapGrid.Columns.Add(GridExtension.GetImageColumn(_columnimage)); GridExtension.FormatImageCell(mapGrid, _columnimage.ToLowerCaseColumnName()); mapGrid.Columns.Add(GridExtension.GetButtonColumn(_columndetails)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnjewelnumber, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columndesigncode, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columntotalwt, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnmetalweight, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnmetalcolor, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnstoneweight, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnstonepcs, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columncstoneweight, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columncstonepcs, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnstate, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columntrno, true, true)); }
public void ConfigDataGridView(DataGridView mapGrid) { mapGrid.Columns.Add(GridExtension.GetImageColumn(_columnimage)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columntype, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnjewelnumber, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columndesigncode, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columngoldkt, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columntotalwt, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columnmetalweight, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columndiapcs, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columndiamondweight, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columncolpcs, true)); mapGrid.Columns.Add(GridExtension.GetDescriptionColumn(_columncolwt, true)); mapGrid.Columns.Add(GridExtension.GetButtonColumn(_columndgRemoveItem)); mapGrid.CellContentClick += dgvJewel_CellContentClick; }