示例#1
0
        private void Rate_Click(object sender, EventArgs e)
        {
            Article art = new Article(ArticleURL.Text);

            PrintArticleStats(art);
            ArtStats.Refresh();
        }
示例#2
0
        private void FindIt_Click(object sender, EventArgs e)
        {
            int     rating = 0;
            Article art    = null;

            while (rating < Int32.Parse(ThresholdBox.Text))
            {
                art    = new Article("");
                rating = art.rating;
                PrintArticleStats(art);
                ArtStats.Refresh();
            }
        }
示例#3
0
 private void ArtStats_TextChanged(object sender, EventArgs e)
 {
     ArtStats.Select(ArtStats.Text.Length, 0);
     ArtStats.ScrollToCaret();
 }