我在GroupBox控件中有各种RadioButton控件.每一个都代表一个硬币面额,当我选择一个时,程序用选定的硬币做一些逻辑.这是正常的,但我想删除RadioButton圆(白色圆).检查附图:

如何在RadioButton控件中删除圆圈?
我认为唯一的方法是视觉继承,您必须创建一个派生自 RadioButton 类的新类并重写OnPaint方法
class ChangedRadioButton : System.Windows.Forms.RadioButton
{
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
// your modifications
}
}
Run Code Online (Sandbox Code Playgroud)