我有一个Control
继承自NumericUpDown
WinForms 的。
我想处理对DecimalPlaces
-Property 的更改NumericUpDown
,因此我都尝试过声明
void OnDecimalPlacesChanged()
{
MessageBox.Show("Moeeep");
}
并且还手动订阅PropertyChanged
-event
在ctor中手动。当我更新时,它似乎只是没有触发,我DecimalPlaces
不知道为什么。