예제 #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();
 }
예제 #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();
        }
예제 #3
0
        public void Initialize(EditorEngine nEngine)
        {
            Engine = nEngine;

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