private void Dialog_ResultsCreatedEvent(Dictionary <string, string> result) { if (votings.VotingDict.ContainsKey(result["Name"])) { Voting selectedVoting = votings.VotingDict[result["Name"]]; selectedVoting.EndVoting(); } }