private:
void checkBox1_CheckedChanged(System::Object ^ sender,
System::EventArgs ^ e)
{
if (checkBox1->CheckState == CheckState::Checked)
{
}
}
This is how You test it in VS2010 ..dunno what kind of "testcases" are You trying to implement through checkboxes.