protected void ButtonPressed(string name, UUID id, string text, int channel) { string receivedText = _receivedText[id]; _receivedText.Remove(id); if (ResponseReceived != null) { ResponseReceived(name, id, text, receivedText); } _primFactory.RemoveChannelListener(channel, ButtonPressed); }