private void Review_uriCarte_Click(object sender, EventArgs e) { var statistics = new StatisticsRepository(); var ctx = statistics.GetReviewByBookTitle(boxTitluCarteStatistica.Text.Trim()); string content = "Review-uri pentru o carte \n"; for (int index = 0; index < ctx.LongCount(); index++) { content += "\tReview " + (index + 1) + ": " + ctx[index] + "\n"; } MessageBox((IntPtr)0, content, "Message Box", 0); boxTitluCarteStatistica.Text = ""; }