private void ConnectAll() { connected = new List <IRCServer>(); foreach (IRCServer server in toConnect) { ConnectionWorker worker = new ConnectionWorker(server); Thread t = new Thread(worker.Process); t.Start(); } }
private void ConnectAll() { connected = new List<IRCServer>(); foreach (IRCServer server in toConnect) { ConnectionWorker worker = new ConnectionWorker(server); Thread t = new Thread(worker.Process); t.Start(); } }
public void SetWorker(ConnectionWorker worker) { this.worker = worker; }