adityatan's picture

glControl1 crashes; it displays a big red crossing

Hi there:

Suddenly, my glControl1 displays a big red crossing. It worked just fine yesterday. Any idea why?

Thanks.

Aditya

Inline Images

Comments

Comment viewing options

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

Your code is probably throwing some exception that prevents the GLControl from loading (the red cross may appear on any WinForms Control, it's not specific to GLControl).

Check the output window in visual studio for exceptions and/or set breakpoints to your Load/Resize/Paint event handlers and single-step through the code.