Example #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     WrapperForm wf = new WrapperForm();
     wf.Show();
     using (Game = new EditorBase(wf.GameRender.Handle))
     {
         Game.Run();
     }
 }
Example #2
0
        public void OnLoad(RPCManager rpcManager)
        {
            if(PaneManager != null)
                throw new Exception();

            PaneManager = new PaneManager();

            rpcManager.ServiceManager.GetCreateImplementation<IPaneManager>(PaneManager);

            Editor = new EditorBase();

            Editor.Run();
        }