示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var applicationController = new ApplicationController();
            var serviceProvider = new ProductionServiceProvider(applicationController);
            applicationController.Initialize(serviceProvider);
            applicationController.Run(App.MainForm);
        }
 void CreateApplicationController()
 {
     applicationController = new ApplicationController();
 }