Pass values of RadioButton from form to a class
Posted on 2011-03-03
I have a problem with the Radio Buttons.
I have a form and it has a 2 radio buttons,so depending on which one they select im saving this info like
In Form1.cs ->
public bool radiobutton1
public bool radiobutton2
and in my other class where i would like to use it i have
public class checkButtons.
public void Write()
Form1 form = new Form1();
//i do something here
but for some reason i cant get this to work,