Lena Margita

Lena Margita

  • NA
  • 1
  • 1.6k

Group Box Controls

Jul 30 2013 4:12 PM
First - I'd like to apologize - I have never written a program in C#. 

I have a bunch of .cs code given to us by a facet of the State of Texas.  I had to create a user interface based on their model and am now trying to link it together.

The call passes the name of the group box and expects a value of 0, 1, 2, 3 to be determined.  Then based on the number there is a varied amount of IF statements to go through.

My groupboxes are all named specific to the developer documentation.  There was no documentation for the radio buttons inside of the group box - but they are uniquely named. 

How do I get a return value of 0-3 based on the radio button selection?  Do I have to code each radio button to see if it was chosen and then in code define the value?

If that is the case, does anyone have sample code for this in c#? 

I have the program written in VB.net to where it can get a value - but then it was determined to keep it in C# for administrative changes coming after the initial release and rollover. So I am a little stuck.


Answers (1)