Jump to content
  • Advertisement
Sign in to follow this  
Cacks

[.net] Sub Forms Problems

This topic is 4471 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys, I have a main form, & also a subform where I want to put an OpenGL renderer. In the main form's constructor I create the subform object. In the subform I have a panel which I want to use to hold my OpenGL renderer. But there is some problem with doing this. I think maybe the subform is constructed first then the main form. But if I use a main form event to construct the subform it works. Any1 know why this might be? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
I am an idiot, I forgot I had to chage the compiler settings to allow unmanged code! I have been stuck for 2 weeks AHHHHHHH!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!