Vahag's picture

More then one GLControls on windows form

Hi and thanks for creating open source projects like this.

I would like to know, if I can host more than one GLControls in my windows form.
If this is possible can you please post portion of the code ?



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Yes, this is possible. Check out the WinForms samples in the example browser (installed with opentk-1.0).

There are many relevant discussions on these forums, this is one of the more recent and interesting ones. Also take a look at the GraphicsContext documentation (esp. at the parts about multiple contexts).

Vahag's picture

Thanks for quick response.
They really seems like what I need.

Thanks :)