Пример #1
0
 private void ctxtRemoteShell_Click(object sender, EventArgs e)
 {
     if (lstClients.SelectedItems.Count != 0)
         {
             Client c = (Client)lstClients.SelectedItems[0].Tag;
             if (c.Value.frmRS != null)
             {
                 c.Value.frmRS.Focus();
                 return;
             }
             frmRemoteShell frmRS = new frmRemoteShell(c);
             frmRS.Show();
         }
 }