public AddressSpaceRenderer_OGL(AddressSpace parent, RenderManager_OGL renderManager)
        {
            Parent = parent;
            RenderManager = renderManager;

            glControl = new GLControl();
            glControl.Parent = parent;
            glControl.Dock = DockStyle.Fill;
            glControl.Load += glControl_Load;
            glControl.Resize += glControl_Resize;

            glControl.MouseDown += new MouseEventHandler(Parent.AddressSpace_MouseDown);
            glControl.MouseUp += new MouseEventHandler(Parent.AddressSpace_MouseUp);
            glControl.MouseMove += new MouseEventHandler(Parent.AddressSpace_MouseMove);
            glControl.MouseWheel += new MouseEventHandler(Parent.AddressSpace_MouseWheel);
            glControl.MouseLeave += new EventHandler(Parent.AddressSpace_MouseLeave);
        }
 public AddressSpaceRenderer_GDI(AddressSpace parent)
 {
     Parent = parent;
     BackbufferContext = BufferedGraphicsManager.Current;
     RecreateBuffers();
 }