Exemple #1
0
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            ApplicationDispatcher.Configure();
            Startup(new ExecutionParameters(args));

            var navigator = IoCConfig.Container.GetInstance <IViewNavigator>();
            var mainView  = navigator.Get <MainViewModel>() as Form;

            Application.Run(mainView);
            Log.CloseAndFlush();
        }