Create a dialog radiobutton in MSD axapta

Create a dialog radiobutton

 Dialog dialog = new Dialog();  
 DialogField df;  
 FormRadioControl frc;  
 ;  
 df = dialog.addField(typeid(BaseEnum1));  
 frc = df.control();  
 frc.caption("Whatever the label should be");  
 frc.helpText("Whatever the help message should be");  
 dialog.run();