Hi codeman,
Have you tried replacing your CWGraph control with any other common Visual Studio controls, like a button. I don't think that it is the CWGraph that is causing your application to crash. I think it is some of your code behind the project. I'd like to see if we can verify the operation with a different kind of control.
Regards,
Marty H.
National Instruments