OpenTK.GLControl Defines a UserControl with OpenGL rendering capabilities. Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Constructs a new GLControl. Constructs a new GLControl with the specified GraphicsMode. The OpenTK.Graphics.GraphicsMode of the control. Constructs a new GLControl with the specified GraphicsMode. The OpenTK.Graphics.GraphicsMode of the control. The major version for the OpenGL GraphicsContext. The minor version for the OpenGL GraphicsContext. The GraphicsContextFlags for the OpenGL GraphicsContext. Raises the HandleCreated event. Not used. Raises the HandleDestroyed event. Not used. Raises the System.Windows.Forms.Control.Paint event. A System.Windows.Forms.PaintEventArgs that contains the event data. Raises the Resize event. Note: this method may be called before the OpenGL context is ready. Check that IsHandleCreated is true before using any OpenGL methods. A System.EventArgs that contains the event data. Raises the ParentChanged event. A System.EventArgs that contains the event data. Swaps the front and back buffers, presenting the rendered scene to the screen. Makes the underlying this GLControl current in the calling thread. All OpenGL commands issued are hereafter interpreted by this GLControl. Grabs a screenshot of the frontbuffer contents. A System.Drawing.Bitmap, containing the contents of the frontbuffer. Occurs when no OpenTK.Graphics.GraphicsContext is current in the calling thread. Gets a value indicating whether the current thread contains pending system messages. Gets an interface to the underlying GraphicsContext used by this GLControl. Gets the aspect ratio of this GLControl. Gets or sets a value indicating whether vsync is active for this GLControl. Gets the GraphicsMode of the GraphicsContext attached to this GLControl. To change the GraphicsMode, you must destroy and recreate the GLControl. Gets the for this instance.