Esempio 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();
 }
Esempio 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();
        }
Esempio n. 3
0
        public void Initialize(EditorEngine nEngine)
        {
            Engine = nEngine;

            Engine.ErrorOccuredEvent += Engine_ErrorOccuredEvent;
        }
Esempio n. 4
0
 public void Initialize(EditorEngine nEngine)
 {
     engine = nEngine;
 }
Esempio n. 5
0
 public void Initialize(EditorEngine engine)
 {
     this.engine = engine;
 }