Another alternative is to subclass NumericUpDownand override the methods DownButtonand UpButtonto return them earlier when set ReadOnly:
public override void DownButton()
{
if(this.ReadOnly)
return;
base.DownButton();
}
public override void UpButton()
{
if(this.ReadOnly)
return;
base.UpButton();
}
.
, ReadOnly , , .