private void lView_DoubleClick(object sender, EventArgs e) { if (lView.SelectedItems.Count > 0) { frmLogMoreInfo logMoreInfoForm = new frmLogMoreInfo(lView.SelectedItems[0].Tag as LogMessage); logMoreInfoForm.ShowDialog(this); } }
private void btnMoreInfo_Click(object sender, EventArgs e) { frmLogMoreInfo logMoreInfoForm = new frmLogMoreInfo(lView.SelectedItems[0].Tag as LogMessage); logMoreInfoForm.ShowDialog(this); }