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