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(); }
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(); }
public void Initialize(EditorEngine nEngine) { Engine = nEngine; Engine.ErrorOccuredEvent += Engine_ErrorOccuredEvent; }
public void Initialize(EditorEngine nEngine) { engine = nEngine; }
public void Initialize(EditorEngine engine) { this.engine = engine; }