private void connectToRemoteComputerToolStripMenuItem_Click(object sender, EventArgs e) { List <string> ignoreComputers = GetCurrentlyConnectedComputers(); ConnectToComputer form = new ConnectToComputer(ignoreComputers); if (form.ShowDialog() == DialogResult.OK) { // Build the new computer node BuildMachineNode(form.MachineNameSpecified); } }
public void ConnectClicked() { List <string> ignoreComputers = GetCurrentlyConnectedComputers(); ConnectToComputer form = new ConnectToComputer(ignoreComputers); if (form.ShowDialog() == DialogResult.OK) { // Build the new computer node BuildMachineNode(form.MachineNameSpecified); } }