WinForm的话 设置Button属性的FlatStyle为Flat,并且设置FlatAppearance的BorderSize为0.
如果是Web的话 在Button标签里加上style=" border:0px none" 的样式就可以.
WinForm与Web按钮无边框设置
本文介绍如何在WinForm应用中通过设置Button属性实现无边框按钮效果,以及在Web应用中如何利用CSS样式达到同样的效果。
WinForm的话 设置Button属性的FlatStyle为Flat,并且设置FlatAppearance的BorderSize为0.
如果是Web的话 在Button标签里加上style=" border:0px none" 的样式就可以.
552