public Server(frm_Main frm_Main, System.Net.Sockets.TcpClient clientSocket, ObservableCollection<ClientDetails> listOfClients, ParallelListener _dispatcher) { needsUserList = false; this.frm_Main = frm_Main; this.clientSocket = clientSocket; this.listOfClients = listOfClients; dispatcher = _dispatcher; }
public ParallelListener(frm_Main frm_Main) { this.frm_Main = frm_Main; listOfClients.CollectionChanged += ListOfClients_CollectionChanged; }