Radio buttons

I have four radio buttons. When I select radioButton1 I go to form2 and when radioButton2 is selected I go to form3 and etc.

So far I have this

private: System::Void radioButton1_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
}

I know this is not much at all but I'm a noob when comes to programming.

P.S This was done in Microsoft Visual Studio Express C++ 2010.
private: System::Void btnContinue_Click(System::Object^ sender, System::EventArgs^ e) {
Form2^ radioButton1=gcnew Form2;
switch(this->selectinput->Checked){
case 0:
radioButton1->ShowDialog();
break;
}

Topic archived. No new replies allowed.