private void btnViewSNA_Click(object sender, EventArgs e) { if (lvLinkedTo.Items.Count > 0 || lvLinkedFrom.Items.Count > 0) { sna = new SNAViewer(enterMainForm.View, db); sna.RecordSelected += new EpiDashboard.SphereSelectedHandler(sna_RecordSelected); sna.Show(); } else { MessageBox.Show(SharedStrings.LINKED_RECS_NONE_LINKED, SharedStrings.LINKED_RECS_EMPTY, MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void btnViewSNA_Click(object sender, EventArgs e) { if (lvLinkedTo.Items.Count > 0 || lvLinkedFrom.Items.Count > 0) { sna = new SNAViewer(enterMainForm.View, db); sna.RecordSelected += new EpiDashboard.SphereSelectedHandler(sna_RecordSelected); sna.Show(); } else { MessageBox.Show("There are no records linked to the current record.", "Empty Social Network", MessageBoxButtons.OK, MessageBoxIcon.Information); } }