Tam Sürümünü Görmek İçin : GetCheckedRadioButton
bu fonksiyon ile seçilen radiobutonlarına göre toplam değişkenimi farklı değerlerde arttırmak istiyorum. switch - case yapısı dahilinde
Neyse ki eski yöntemlerle hallettim :)
if (radioButton1->Checked)
toplam +=5;
textBox1->Text=toplam.ToString();
if (radioButton2->Checked)
toplam = (toplam+10);
textBox1->Text=toplam.ToString();
if (radioButton3->Checked)
toplam +=25;
textBox1->Text=toplam.ToString();
if (radioButton4->Checked)
toplam +=50;
textBox1->Text=toplam.ToString();
if (radioButton5->Checked)
toplam +=100;
textBox1->Text=toplam.ToString();
Forum Yazılımı : vBulletin v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.