Alsing.Windows.Forms.SyntaxBox.EditViewControl.OnPaint C# (CSharp) Method

OnPaint() protected method

Overrides the default OnPaint
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void
        protected override void OnPaint(PaintEventArgs e)
        {
            if (Document != null && Width > 0 && Height > 0)
            {
                Painter.RenderAll(e.Graphics);
            }
        }