I am trying to use a radiobutton that I have attached to a from in VC++ .NET 2008
I have Named the RadioButton "BuyRadio". From what I know a radiobutton can have to stated, either true or false, wich meen pressed or not pressed.
What I am trying to do is this code wich meens that if the RadioButton is pressed this will evaluate but this does not compile. It does compile if I only write: if (BuyRadio).
Any idéas to this.
int SetNumber = 0;
if (BuyRadio = true)
{
SetNumber = 1;
}