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(); }