private void autolootdataGridView_CellEndEdit(object sender, DataGridViewCellEventArgs e) { DataGridViewCell cell = autolootdataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex]; if (e.ColumnIndex == 3) { cell.Value = Utility.FormatDatagridColorCell(cell); } else if (e.ColumnIndex == 2) { cell.Value = Utility.FormatDatagridItemIDCellAutoLoot(cell); } RazorEnhanced.AutoLoot.CopyTable(); }