private void ShowSelectedWarning()
{
if (listWarnings.SelectedItems.Count != 1)
return;
formInfoDialog infoDialog = new formInfoDialog();
ListViewItem item = listWarnings.SelectedItems[0];
infoDialog.Title = "Configuration warnings";
infoDialog.Message = item.Text + " - " + item.SubItems[1].Text + Environment.NewLine + item.SubItems[2].Text;
infoDialog.ShowDialog();
}