From: Alex <ale...@ho...> - 2004-02-22 20:51:57
|
hello! i am currently using csgl and the csgl.basecode to write an opengl application using c# i have the class MyModel which inherits Model (just like the examples which use a class named NeHeLesson37) i'd like to have some global variables in my application (i want to be able to use them from other classes) i tried to put them in MyModel as public variables and intialize them in the overriden Initialize () but I get an exception when the window is created with the message "A Basecode Error Occurred While Creating The Application's Form" and then the stack trace why is that? how can I use some global variables in my program (which can be used in all classes)? thaks in advance |