private void SetRowData(DataGridViewRow row, ExportItem item) { row.Tag = item; row.Cells[0].Value = item.Selected; row.Cells[1].Value = item.LayersToString(item.Layers); row.Cells[2].Value = item.NodeName; row.Cells[3].Value = item.ExportFilePathAbsolute; row.Cells[4].Value = item.ExportTexturesesFolderPath; Refresh(); }
private void SetRowData(DataGridViewRow row, ExportItem item) { row.Tag = item; var i = 0; row.Cells[i++].Value = item.Selected; row.Cells[i++].Value = item.KeepPosition; row.Cells[i++].Value = item.LayersToString(item.Layers); row.Cells[i++].Value = item.NodeName; row.Cells[i++].Value = item.ExportFilePathAbsolute; row.Cells[i].Value = item.ExportTexturesesFolderAbsolute; Refresh(); }