Esempio n. 1
0
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Console.WriteLine("Point 0");

            Subreddit     showerThoughts = new Subreddit("showerthoughts");
            ContentStream cs             = new ContentStream();

            //cs.AddContent(showerThoughts.ProduceContent());

            cs.Display();
            Console.Read();
            Console.WriteLine("Point 1");
            testTweet = new Tweet();
            testTweet.printHits();
            Console.WriteLine("Point 2");
            Form1.setLabel(testTweet.getOutput());
            Console.WriteLine(testTweet.getOutput());
            Console.WriteLine("Point 3");
            Console.Read();

            Application.Run(new Form1());
        }
Esempio n. 2
0
 public void AddSubreddit(Subreddit s)
 {
     subreddits.Add(s);
 }