public ClientHandler(Socket _client, ServerDataManagment dbc, MainForm log_form, List <KeyValuePair <string, Socket> > conns) { client = _client; db = dbc; log = log_form; connections = conns; }
public Server(MainForm log_dest) { db = new ServerDataManagment(); log = log_dest; log.WriteLog("Установлено соединение с базой данных."); }