public void AddItem(string AText, bool AChecked = false) { HCRadioButton vRadioButton = new HCRadioButton(); vRadioButton.Checked = AChecked; vRadioButton.Text = AText; FItems.Add(vRadioButton); }
public void AddItem(string aText, string aTextValue = "", bool AChecked = false) { HCRadioButton vRadioButton = new HCRadioButton(); vRadioButton.Checked = AChecked; vRadioButton.Text = aText; vRadioButton.TextValue = aTextValue; FItems.Add(vRadioButton); }