WickeTD
2011-02-24 14:52:29 UTC
int col;
if (this->checkBox1->Checked == true) {
col = 1;
}
}
private: System::Void timer1_Tick(System::Object^ sender, System::EventArgs^ e)
{
UNREFERENCED_PARAMETER(sender);
UNREFERENCED_PARAMETER(e);
OpenGL->Render(HERE,0.0);
OpenGL->SwapOpenGLBuffers();
}
I am fairly new to C++ and this is an urgent problem because I must have fixed this problem within one/two hours.
It is also late at night so I'm having big problems getting to understand what to use to solve this.
How do I pass variable col from the first event to the HERE in the second one?
Thanks in advance.