void InsertRadioButton(int index, bool disabled, bool isChecked = false, string content = "Custom") { if (disabled) { elements.GetCustomDisabledCheckBox().Check(); } else { elements.GetCustomDisabledCheckBox().Uncheck(); } if(isChecked) { elements.GetCustomCheckedCheckBox().Check(); } else { elements.GetCustomCheckedCheckBox().Uncheck(); } elements.GetCustomIndexTextBox().SetValue(index.ToString()); elements.GetCustomContentTextBox().SetValue(content); elements.GetInsertDisplayRadioButtonButton().Click(); }