private void targethueGridView_CellEndEdit(object sender, DataGridViewCellEventArgs e) { DataGridViewCell cell = targethueGridView.Rows[e.RowIndex].Cells[e.ColumnIndex]; if (e.ColumnIndex == 0) { cell.Value = Utility.FormatDatagridItemIDCell(cell); } }
private void graphfilterdatagrid_CellEndEdit(object sender, DataGridViewCellEventArgs e) { DataGridViewCell cell = graphfilterdatagrid.Rows[e.RowIndex].Cells[e.ColumnIndex]; if (e.ColumnIndex == 3) { cell.Value = Utility.FormatDatagridColorGraphCell(cell); } else if (e.ColumnIndex == 1 || e.ColumnIndex == 2) { cell.Value = Utility.FormatDatagridItemIDCell(cell); } RazorEnhanced.Filters.CopyGraphTable(); }
private void scavengerdataGridView_CellEndEdit(object sender, DataGridViewCellEventArgs e) { DataGridViewCell cell = scavengerdataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex]; if (e.ColumnIndex == 3) { cell.Value = Utility.FormatDatagridColorCell(cell); } else if (e.ColumnIndex == 2) { cell.Value = Utility.FormatDatagridItemIDCell(cell); } RazorEnhanced.Scavenger.CopyTable(); }
private void vendorsellGridView_CellEndEdit(object sender, DataGridViewCellEventArgs e) { DataGridViewCell cell = vendorsellGridView.Rows[e.RowIndex].Cells[e.ColumnIndex]; if (e.ColumnIndex == 4) { cell.Value = Utility.FormatDatagridColorCell(cell); } else if (e.ColumnIndex == 3) { cell.Value = Utility.FormatDatagridAmountCell(cell, false); } else if (e.ColumnIndex == 2) { cell.Value = Utility.FormatDatagridItemIDCell(cell); } RazorEnhanced.SellAgent.CopyTable(); }