protected override void OnPaint(PaintEventArgs e) { if (m_controller != null) { m_controller.Draw(e.Graphics); } base.OnPaint(e); }
private void perspectiveView_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; g.CompositingQuality = System.Drawing.Drawing2D.CompositingQuality.HighSpeed; if (m_windowController != null) { m_windowController.Draw(g); } }