private void DoubleClickEnforcementList(object Sender, EventArgs e)
{
try
{
string ClickedRow = enforcementList.SelectedItems[0].SubItems[3].Text;
uint logId = 0;
if (uint.TryParse(ClickedRow, out logId))
{
if (Logs.EnforcementAlerts.ContainsKey(logId))
{
new LogDetails(Logs.EnforcementAlerts[logId]).Show();
}
}
}
catch { }
}