예제 #1
0
파일: Program.cs 프로젝트: Maxusmusti/Lurk
        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());
        }
예제 #2
0
 public void AddSubreddit(Subreddit s)
 {
     subreddits.Add(s);
 }