private void ctxtShowMessagebox_Click(object sender, EventArgs e) { if (lstClients.SelectedItems.Count != 0) { Client c = (Client)lstClients.SelectedItems[0].Tag; if (c.Value.frmSM != null) { c.Value.frmSM.Focus(); return; } frmShowMessagebox frmSM = new frmShowMessagebox(c); frmSM.Show(); } }