public void SubscribeToEvent(Server server) { server.DataReceivedEvent += Server_DataReceivedEvent; }