Ejemplo n.º 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Core.Initialize(Application.ProductName);
     using (var engine = new EditorEngine())
     {
         var mainDialog = new MainDialog();
         mainDialog.Initialize(engine);
         Application.Run(mainDialog);
     }
     Core.Destroy();
 }
Ejemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            SpectreEngine.xrCoreInit("Post Process Editor");
            using (var engine = new EditorEngine())
            {
                var mainDialog = new MainDialog();
                mainDialog.Initialize(engine);
                Application.Run(mainDialog);
            }
            //Core.Destroy();
        }