Need Help with OpenGL with C#
Hello,
I am using CSGL in C#, I study most of the sample codes provided by csgl, but I wonder if anyone call tell me how to open a OpenGL in a particular Control Unit? For example, I use tab control to create 3 tabs. And I need to dram some polygons on the "picture box" (or other contorls, such as the panel, or else) located on second tab. How can I specify the OpenGL window is on the control unit of the second tab?
Or anyone has any sample codes for this problem?
Thanks,
Re: Need Help with OpenGL with C#
http://csgl.sourceforge.net/faq.html#vsnet
How to use with Visual Studio .NET?
Well if you install it (in <csgl>/libinstall there is an instalable version with an install.bat) you could add it in your toolbox in VS.NET and it work just fine !...
I did not try this but if you are working in visual studio this way you can add it to your toolbox.
Re: Need Help with OpenGL with C#
Quote :"How to use with Visual Studio .NET?"
No, this is NOT my question at all. I know how to use CSGL in VS.
I did mean how to open a OpenGL window on top of the Visual Studio Control Unit (such as a Pictual Box or a Panel)?
My question is:
"I use tab control to create 3 tabs. And I need to dram some polygons on the "picture box" (or other contorls, such as the panel, or else) located on second tab. How can I specify the OpenGL window is on the control unit of the second tab?"
Thanks for any helps.