private void registryEditorToolStripMenuItem_Click(object sender, EventArgs e) { if (lstClients.SelectedItems.Count != 0) { foreach (Client c in GetSelectedClients()) { FrmRegistryEditor frmRe = FrmRegistryEditor.CreateNewOrGetExisting(c); frmRe.Show(); frmRe.Focus(); } } }
private void registryEditorToolStripMenuItem_Click(object sender, EventArgs e) { if (lstClients.SelectedItems.Count != 0) { foreach (Client c in GetSelectedClients()) { if (c.Value.FrmRe != null) { c.Value.FrmRe.Focus(); return; } FrmRegistryEditor frmRE = new FrmRegistryEditor(c); frmRE.Show(); } } }