Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以通过继承 NumericUpDown 来实现?
可悲的是,这是不可能的。我试图为自定义控件检索真正的 Vista / 7 文本框边框,但我尝试的所有方法都不起作用。
唯一的解决方案是围绕无边界数字上下的虚拟文本框(我希望可以隐藏它的边框)。
另请参阅我的问题:在 Vista / 7 中绘制文本框边框