예제 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Presentation.View.IMainView mainView = new Presentation.Forms.MianForm(new ApplicationContext());
            IPresenter mainPresenter             = new Presentation.Presenter.MainPresenter(mainView);

            mainPresenter?.Run();
        }
예제 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Presentation.View.IMainView mainView = new Presentation.Forms.MianForm(new ApplicationContext());
            IPresenter mainPresenter = new Presentation.Presenter.MainPresenter(mainView);

            mainPresenter?.Run();
        }