Example #1
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            BlogView       blogView       = new BlogView();
            BlogService    blogService    = new BlogService();
            IList          blogList       = new ArrayList();//  blogService.getAllBlogs();
            BlogController blogController = new BlogController(blogView, blogList);

            blogController.LoadView();
            blogView.ShowDialog();
        }