public ProblemDiscussion(ForumPost forumPost) { InitializeComponent(); FormConfig.GetFormConfig(this); this.forumPost = forumPost; this.problemNameLabel.Text = forumPost.name; this.problemDescriptionLabel.Text = forumPost.description; this.upvoteButton = new VoteButton(forumPost); this.upvoteButton.Name = "upvoteButton"; this.upvoteButton.Location = new System.Drawing.Point(7, 39); this.upvoteButton.Click += (o, e) => UpdateVotesLabel(); //^lambda this.votesGroupBox.Controls.Add(this.upvoteButton); //^events standard comments = new CommentsManager(forumPost, commentsPanel); comments.SuccessfullyAddedCommentEvent += SuccessfullyAddedCommentEventHandler; }