private void ClientDC(Object src, ClientClosedEvtArg arg) { WriteLine("Client disconnected from Serial forwarder (id = " + id.ToString() + ") on port " + port.ToString(), prompt.eventTextColor); SFClientHandler c = (SFClientHandler)src; RemoveClient(c); }