OpenTK.GLControl.OnPaint C# (CSharp) Method

OnPaint() protected method

Raises the System.Windows.Forms.Control.Paint event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A System.Windows.Forms.PaintEventArgs that contains the event data.
return void
        protected override void OnPaint(PaintEventArgs e)
        {
            ValidateState();
            if (DesignMode)
                e.Graphics.Clear(BackColor);
            base.OnPaint(e);
        }