Exemple #1
0
        static void Main()
        {
            System.Windows.Forms.Application.EnableVisualStyles();
            System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);

            _context = new AppContext();
            MainView view = new MainView(_context);
            _context.AddObject<IMessageOutput>(view);

            System.Windows.Forms.Application.Run(view);
        }