private static int IntFromCell(ListViewCell cell) { return System.Convert.ToInt32(CellValue(cell)); }
private static string CellValue(ListViewCell value) { return value == null ? "" : value.Text; }