void _service_CloseConnectionEvent(object sender, ConnectionEventArgs e) { if (_document._limitConnections && (_connsLeft == 0) && (_service.Connections.Length == 0)) { _service.Stop(); } }
private void service_CloseConnectionEvent(object sender, ConnectionEventArgs e) { if (CloseConnectionEvent != null) { CloseConnectionEvent(sender, e); } }
void _service_NewConnectionEvent(object sender, ConnectionEventArgs e) { AddConnection(e.Graph); }
private void service_NewConnectionEvent(object sender, ConnectionEventArgs e) { if (NewConnectionEvent != null) { NewConnectionEvent(sender, e); } }
void _service_CloseConnectionEvent(object sender, ConnectionEventArgs e) { RemoveFileLog(e.Graph); RemoveConnection(e.Graph); }