static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); WrapperForm wf = new WrapperForm(); wf.Show(); using (Game = new EditorBase(wf.GameRender.Handle)) { Game.Run(); } }
public void OnLoad(RPCManager rpcManager) { if(PaneManager != null) throw new Exception(); PaneManager = new PaneManager(); rpcManager.ServiceManager.GetCreateImplementation<IPaneManager>(PaneManager); Editor = new EditorBase(); Editor.Run(); }