private void taskManagerToolStripMenuItem_Click(object sender, EventArgs e) { foreach (Client c in GetSelectedClients()) { FrmTaskManager frmTm = FrmTaskManager.CreateNewOrGetExisting(c); frmTm.Show(); frmTm.Focus(); } }
private void ctxtTaskManager_Click(object sender, EventArgs e) { foreach (Client c in GetSelectedClients()) { if (c.Value.FrmTm != null) { c.Value.FrmTm.Focus(); return; } FrmTaskManager frmTM = new FrmTaskManager(c); frmTM.Show(); } }
private void ctxtTaskManager_Click(object sender, EventArgs e) { if (lstClients.SelectedItems.Count != 0) { Client c = (Client)lstClients.SelectedItems[0].Tag; if (c.Value.FrmTm != null) { c.Value.FrmTm.Focus(); return; } FrmTaskManager frmTM = new FrmTaskManager(c); frmTM.Show(); } }
private void ctxtTaskManager_Click(object sender, EventArgs e) { if (lstClients.SelectedItems.Count != 0) { Client c = (Client) lstClients.SelectedItems[0].Tag; if (c.Value.FrmTm != null) { c.Value.FrmTm.Focus(); return; } FrmTaskManager frmTM = new FrmTaskManager(c); frmTM.Show(); } }