Forcing a NumericUpDown control to only accept powers of two

前端 未结 4 802
天涯浪人
天涯浪人 2021-01-16 03:51

I present the user a NumericUpDown control so he can specify the size of a texture. It is important that this texture is of power of two size (32, 64, 128...).

I hav

4条回答
提交回复
热议问题