Topic: Visual C#: Adding variables to the RadioButton object
Hey all,
For a quite useless thing I'm working on I'd like to extend the RadioButton class/property with two extra variables: dirleft and dirtop. I tried with
public partial class props : RadioButton
{
public bool dirleft;
public bool dirtop;
}
but that didn't work
Basically I just want two extra variables to be created whenever a radiobutton is created. This would certainly save me a hell of a lot of work for a simple program like this
Any suggestions? Is it even possible? It would be damn handy if it was ^^
Thanks,
-- Bekko