Exemple #1
0
            protected override void OnPaint(PaintEventArgs e)
            {
                if (m_controller != null)
                {
                    m_controller.Draw(e.Graphics);
                }

                base.OnPaint(e);
            }
Exemple #2
0
        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);
            }
        }