private void ShowLogs(DataGridView grid, ListView lstLogs, Label lblInfo) { lstLogs.Items.Clear(); List <int> lstNumRows = GetSelectedLines(grid); foreach (int nLigne in lstNumRows) { IEnumerable <CLigneLogImport> lstLignes = m_session.GetLogsForLine(nLigne); FillLog(lstLogs, lstLignes); } if (lstNumRows.Count == 1) { lblInfo.Text = I.T("Logs of line n°@1|20153", lstNumRows[0].ToString()); } else if (lstNumRows.Count > 0) { lblInfo.Text = I.T("Logs for @1 lines|20154", lstNumRows.Count.ToString()); } else { lblInfo.Text = ""; } }